setSubStreamEncoderParam abstract method
- TRTCVideoEncParam param
Set the video encoding parameters of screen sharing (i.e., substream) (for desktop and mobile systems)
This API can set the image quality of screen sharing (i.e., the substream) viewed by remote users, which is also the image quality of screen sharing in on-cloud recording files.
Please note the differences between the following two APIs:
- ** setVideoEncoderParam **:
- Used to set the video encoding parameters of the primary stream image (TRTCVideoStreamType.big, generally for camera).
- ** setSubStreamEncoderParam **:
- Used to set the video encoding parameters of the substream image (TRTCVideoStreamType.sub, generally for screen sharing).
Parameters:
- param(TRTCVideoEncParam):
- Substream encoding parameters.
Implementation
void setSubStreamEncoderParam(TRTCVideoEncParam param);