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