setRemoteRenderMode abstract method
Future<void>
setRemoteRenderMode({
- required int uid,
- required RenderModeType renderMode,
- required VideoMirrorModeType mirrorMode,
Updates the display mode of the remote view.
After initializing the remote user view, you can call this method to update the rendering and mirror mode of the remote user view displayed locally. This method only affects the video seen by the local user. Call this method after initializing the remote view using the setupRemoteVideo method. You can call this method multiple times during a call to update the display mode of the remote user view.
uidRemote user ID.renderModeRendering mode of the remote user view. See RenderModeType.mirrorModeMirror mode of the remote user view. See VideoMirrorModeType.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions. < 0: Failure. See Error Codes for details and resolution suggestions.
Implementation
Future<void> setRemoteRenderMode(
{required int uid,
required RenderModeType renderMode,
required VideoMirrorModeType mirrorMode});