getExternVideoFormat method

Future<AlivcLivePushVideoFormat> getExternVideoFormat()

获取外部自定义视频数据

returns 外部自定义视频数据 默认:AlivcLivePushVideoFormat.Unknown

Implementation

Future<AlivcLivePushVideoFormat> getExternVideoFormat() async {
  String strV = await AlivcLivePusherConfig.methodChannel
      .invokeMethod('getExternVideoFormat', _wrap());
  int intV = int.parse(strV);
  return VideoFormatData.convertEnumValue(intV);
}