setResolution method
设置推流分辨率
resolution
推流分辨率
只在预览模式下生效,推流中不能设置
Implementation
Future<void> setResolution(AlivcLivePushResolution resolution) async {
return _livePusherMethodChannel.invokeMethod(
'setResolution',
wrapArgs(arg: resolution.index.toString()),
);
}