setLiveMixVideoBitrate method
ZH
设置直播合流大流视频码率, 仅供直播主播用户使用
@param bitrate 视频码率
@param tiny 是否小流
@return 0: 成功, 非0: 失败
EN
Set main stream bitrate for live mixing (hosts only)
@param bitrate Video bitrate
@param tiny Whether it's a substream
@return 0: success, non-zero: failure
Implementation
Future<int> setLiveMixVideoBitrate(int bitrate, [bool tiny = false]) async {
Map<String, dynamic> arguments = {'bitrate': bitrate, 'tiny': tiny};
int code =
await _channel.invokeMethod('setLiveMixVideoBitrate', arguments) ?? -1;
return code;
}