setAudioQuality method

Future<V2TXLiveCode> setAudioQuality(
  1. V2TXLiveAudioQuality quality
)

Set the ingest audio quality

Parameter:

quality Audio quality V2TXLiveAudioQuality

Return:

  • V2TXLIVE_OK: Succeed
  • V2TXLIVE_ERROR_REFUSED: During the ingest process, the sound quality cannot be adjusted

Implementation

Future<V2TXLiveCode> setAudioQuality(V2TXLiveAudioQuality quality) async {
  var result = await _channel.invokeMethod(
      'setAudioQuality', {"quality": quality.index});
  return _liveCodeWithResult(result);
}