setVideoQuality method

Future<V2TXLiveCode> setVideoQuality(
  1. V2TXLiveVideoEncoderParam param
)

设置推流视频编码参数

param 视频编码参数 {@link V2TXLiveDef.V2TXLiveVideoEncoderParam} @return 返回值 {@link V2TXLiveCode}

  • V2TXLIVE_OK: 成功

Implementation

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