setLocalVideoMirrorType abstract method

Future<int?> setLocalVideoMirrorType(
  1. MirrorType mirrorType
)

Sets the mirror mode for the captured video stream.

Return value:

Notes:

  • Switching video streams does not affect the settings of the mirror type.
  • This API is not applicable to screen-sharing streams.
  • Before you call this API, the initial states of each video stream are as follows:
Front-facing cameraRear-facing cameraBuilt-in camera
Mobile deviceThe preview is mirrored. The published video stream is not mirrored.The preview and the published video stream are not mirrored./
PC//The preview is mirrored. The published video stream is not mirrored.

Implementation

Future<int?> setLocalVideoMirrorType(MirrorType mirrorType);