setRemoteRenderModeEx abstract method
Future<void>
setRemoteRenderModeEx({
- required int uid,
- required RenderModeType renderMode,
- required VideoMirrorModeType mirrorMode,
- required RtcConnection connection,
Sets 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.
uidRemote user ID.renderModeDisplay mode of the remote view. See RenderModeType.mirrorModeMirror mode of the remote user view. See VideoMirrorModeType.connectionConnection information. See RtcConnection.
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> setRemoteRenderModeEx(
{required int uid,
required RenderModeType renderMode,
required VideoMirrorModeType mirrorMode,
required RtcConnection connection});