setVideoMirrorMode method

Future<void> setVideoMirrorMode(
  1. ZegoVideoMirrorMode mirrorMode,
  2. {ZegoPublishChannel? channel}
)

Sets the video mirroring mode (for the specified channel).

Available since: 1.1.0 Description: Set whether the local preview video and the published video have mirror mode enabled. For specific mirroring mode. When to call: After createEngine. Restrictions: This setting only works if the SDK is responsible for rendering. Note: This function is only available in ZegoExpressVideo SDK!

  • mirrorMode Mirror mode for previewing or publishing the stream.
  • channel Publish stream channel.

Implementation

Future<void> setVideoMirrorMode(ZegoVideoMirrorMode mirrorMode,
    {ZegoPublishChannel? channel}) async {
  return await ZegoExpressImpl.instance
      .setVideoMirrorMode(mirrorMode, channel: channel);
}