setExternVideoFormat method

Future<void> setExternVideoFormat(
  1. AlivcLivePushVideoFormat externVideoFormat
)

设置外部自定义视频数据

externVideoFormat 外部自定义视频数据

Implementation

Future<void> setExternVideoFormat(
    AlivcLivePushVideoFormat externVideoFormat) async {
  int externVideoFormatIntV =
      VideoFormatData.convertInterfaceValue(externVideoFormat.index);
  return AlivcLivePusherConfig.methodChannel.invokeMethod(
      'setExternVideoFormat', _wrap(arg: externVideoFormatIntV.toString()));
}