enableCustomVideoProcess method

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

启用/禁用自定义视频处理

【默认】:false

返回:

  • V2TXLIVE_OK:如果操作成功。
  • V2TXLIVE_ERROR_NOT_SUPPORTED:如果不支持该格式。

不支持:

  • web
  • macOS
  • Windows

Implementation

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