setLocalLiveMixInnerCdnVideoResolution method
Future<int>
setLocalLiveMixInnerCdnVideoResolution(
- int width,
- int height
)
ZH
观众端 设置订阅 cdn 流的分辨率
@param width 分辨率宽
@param height 高
@return 接口调用状态码 0: 成功, 非0: 失败
EN
Set CDN stream resolution for audience
@param width Stream width
@param height Stream height
@return Status code (0: success, non-zero: failure)
Implementation
Future<int> setLocalLiveMixInnerCdnVideoResolution(
int width,
int height,
) async {
Map<String, dynamic> arguments = {'width': width, 'height': height};
int code =
await _channel.invokeMethod(
'setLocalLiveMixInnerCdnVideoResolution',
arguments,
) ??
-1;
return code;
}