updateRemoteView abstract method
- String userId,
- TRTCVideoStreamType streamType,
- int viewId
Update remote user's video rendering control
This API can be used to update the rendering control of the remote video image. It is often used in interactive scenarios where the display area needs to be switched.
Parameters:
- streamType(TRTCVideoStreamType):
- Type of the stream for which to set the preview window (only TRTCVideoStreamType.big and TRTCVideoStreamType.sub are supported).
- userId(String):
- ID of the specified remote user.
- viewId(int):
- Control that carries the video image.
Implementation
void updateRemoteView(String userId, TRTCVideoStreamType streamType, int viewId);