enableCustomVideoProcess method

Future<V2TXLiveCode> enableCustomVideoProcess(
  1. bool enable
)

Enable/disable custom video processing

Parameter:

enable true: Enabled; false: Disabled. Default: false

key Object of the beautification instance: key

Return:

  • V2TXLIVE_OK: Succeed
  • V2TXLIVE_ERROR_NOT_SUPPORTED: Unsupported formats

Implementation

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