getPushResolution method

Future<Size> getPushResolution()

获取推流宽高具体数值

returns 推流宽高

Implementation

Future<Size> getPushResolution() async {
  Map mapV = await AlivcLivePusherConfig.methodChannel
      .invokeMethod('getPushResolution', _wrap());
  double width = double.parse(mapV["width"]);
  double height = double.parse(mapV["height"]);
  return Size(width, height);
}