stopRemoteView abstract method
- String userId,
- TRTCVideoStreamType streamType
Stop subscribing to remote user's video stream and release rendering control
Calling this API will cause the SDK to stop receiving the user's video stream and release the decoding and rendering resources for the stream.
Parameters:
- streamType(TRTCVideoStreamType):
- Video stream type of the
userId
specified for watching:- HD big image: TRTCVideoStreamType.big
- Smooth small image: TRTCVideoStreamType.small
- Substream image (usually used for screen sharing): TRTCVideoStreamType.sub
- Video stream type of the
- userId(String):
- ID of the specified remote user.
Implementation
void stopRemoteView(String userId, TRTCVideoStreamType streamType);