setRemoteRenderMode abstract method

Future<void> setRemoteRenderMode({
  1. required int uid,
  2. required RenderModeType renderMode,
  3. required VideoMirrorModeType mirrorMode,
})

Updates the display mode of the video view of a remote user.

After initializing the video view of a remote user, you can call this method to update its rendering and mirror modes. This method affects only the video view that the local user sees. Call this method after initializing the remote view by calling the setupRemoteVideo method. During a call, you can call this method as many times as necessary to update the display mode of the video view of a remote user.

  • uid The user ID of the remote user.
  • renderMode The rendering mode of the remote user view.
  • mirrorMode The mirror 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. < 0: Failure.

Implementation

Future<void> setRemoteRenderMode(
    {required int uid,
    required RenderModeType renderMode,
    required VideoMirrorModeType mirrorMode});