setVideoEncoderParam method Null safety

Future<void> setVideoEncoderParam(
  1. TRTCVideoEncParam param
)

Set video encoder parameters

These settings determine the quality of image viewed by remote users, which is also the image quality of recorded video files in the cloud

Parameters:

param Video encoding parameters. For more information, please see the definition of TRTCVideoEncParam

Implementation

Future<void> setVideoEncoderParam(
    TRTCVideoEncParam
        param // Video encoding parameters. For more information, please see the definition of `TRTCVideoEncParam` in `TRTCCloudDef.java`
    ) {
  return _channel.invokeMethod('setVideoEncoderParam', {
    "param": jsonEncode(param),
  });
}