setSubStreamEncoderParam method

  1. @override
void setSubStreamEncoderParam(
  1. TRTCVideoEncParam param
)
override

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:

Parameters:

Implementation

@override
void setSubStreamEncoderParam(TRTCVideoEncParam param) {
  TRTCLog(_tag, "setSubStreamEncoderParam: $param");
  TRTCCloudNative.instance.setSubStreamEncoderParam(param);
}