setEncoderMirror method

Future<V2TXLiveCode> setEncoderMirror(
  1. bool mirror
)

Set the video encoding image

Encoding mirroring only affects the video effect that viewers see.

Parameter:

mirror Whether it is mirrored

  • false Default value: The player sees a non-mirror image
  • true: What the player sees is a mirror image

Return:

'0' success, more information please see V2TXLiveCode

Implementation

Future<V2TXLiveCode> setEncoderMirror(bool mirror) async {
  var result = await _channel.invokeMethod(
      'setEncoderMirror', {"mirror": mirror});
  return _liveCodeWithResult(result);
}