enableCustomVideoProcess method Null safety

Future<int?> enableCustomVideoProcess(
  1. bool enable
)

开启/关闭自定义视频处理。

enable true: 开启; false: 关闭。【默认值】: false key 美颜实例对象:key @return 返回值 {@link V2TXLiveCode}

  • V2TXLIVE_OK: 成功
  • V2TXLIVE_ERROR_NOT_SUPPORTED: 不支持的格式

Implementation

Future<int?> enableCustomVideoProcess(bool enable) async {
  return _channel
      .invokeMethod('enableCustomVideoProcess', {"enable": enable});
}