setLiveMixVideoResolution method
ZH
设置直播合流大流视频分辨率, 仅供直播主播用户使用
@param width 视频宽度
@param height 视频高度
@param tiny 是否小流
@return 0: 成功, 非0: 失败
EN
Set merged live stream resolution (host only)
@param width Video width
@param height Video height
@param tiny Tiny stream flag
@return 0: success, non-zero: failure
Implementation
Future<int> setLiveMixVideoResolution(
int width,
int height, [
bool tiny = false,
]) async {
Map<String, dynamic> arguments = {
'width': width,
'height': height,
'tiny': tiny,
};
int code =
await _channel.invokeMethod('setLiveMixVideoResolution', arguments) ??
-1;
return code;
}