getPushResolution method

Future<Size> getPushResolution()

获取推流宽高具体数值

returns 推流宽高

Implementation

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