setVideoEncoderMirror method
- bool mirror
Set the mirror mode of image output by encoder
This API does not change the preview image of the local camera; instead, it changes the video image viewed by the remote user (and recorded by the server).
Parameters:
mirror
true
: mirrored; false
: not mirrored. Default value: false
Platform not supported:
- web
Implementation
Future<void> setVideoEncoderMirror(
bool mirror // true: mirrored; false: not mirrored. Default value: false
) {
return _cloudChannel!.invokeMethod('setVideoEncoderMirror', {
"mirror": mirror,
});
}