setLocalVideoMirrorType abstract method
Sets the mirror mode for the captured video stream.
Return value:
0
: Success.<0
: Failure. See ReturnStatus for the reason.
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 camera | Rear-facing camera | Built-in camera | |
---|---|---|---|
Mobile device | The 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);