SetRemoteRenderModeEx

Sets the video display mode of a specified remote user.

public abstract int SetRemoteRenderModeEx(uint uid, RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode, RtcConnection connection);

Details

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.
Attention:
  • 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.

Parameters

uid
The user ID of the remote user.
renderMode

The video display mode of the remote user. See RENDER_MODE_TYPE.

mirrorMode

The mirror mode of the remote user view. See VIDEO_MIRROR_MODE_TYPE.

connection
The connection information. See RtcConnection.

Returns

  • 0: Success.
  • < 0: Failure.