setPushMirror method

Future<void> setPushMirror(
  1. bool mirror
)

推流镜像开关

mirror 是否打开镜像 true:打开,false:关闭

Implementation

Future<void> setPushMirror(bool mirror) async {
  return _livePusherMethodChannel.invokeMethod(
    'setPushMirror_push',
    wrapArgs(arg: boolToString(mirror)),
  );
}