enableCustomVideoProcess method

Future<V2TXLiveCode> enableCustomVideoProcess(
  1. bool enable
)

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

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

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

Implementation

Future<V2TXLiveCode> enableCustomVideoProcess(bool enable) async {
  var result = await _channel.invokeMethod('enableCustomVideoProcess', {
    "enable": enable
  });
  return _liveCodeWithResult(result);
}