setVideoQuality method

Future<V2TXLiveCode> setVideoQuality(
  1. V2TXLiveVideoEncoderParam param
)

Set the encoding parameters for streaming video

Parameter:

param Video encoding parameters V2TXLiveVideoEncoderParam

Return:

'0' success, more information please see V2TXLiveCode

Implementation

Future<V2TXLiveCode> setVideoQuality(V2TXLiveVideoEncoderParam param) async {
  var result = await _channel.invokeMethod(
      'setVideoQuality', param.toJson());
  return _liveCodeWithResult(result);
}