enableCustomVideoProcess method
- bool enable
开启/关闭自定义视频处理
参数:
enable
true: 开启; false: 关闭。【默认值】: false
key
美颜实例对象:key
返回值:
- V2TXLIVE_OK: 成功
- V2TXLIVE_ERROR_NOT_SUPPORTED: 不支持的格式
Implementation
Future<V2TXLiveCode> enableCustomVideoProcess(bool enable) async {
var result = await _channel.invokeMethod('enableCustomVideoProcess', {
"enable": enable
});
return _liveCodeWithResult(result);
}