setAudioChannel method

Future<void> setAudioChannel(
  1. AlivcLivePushAudioChannel audioChannel
)

设置声道数

audioChannel 声道数

Implementation

Future<void> setAudioChannel(AlivcLivePushAudioChannel audioChannel) async {
  int audioChannelIntV =
      AudioChannelData.convertInterfaceValue(audioChannel.index);
  return _livePusherConfigMC.invokeMethod(
    'setAudioChannel',
    wrapArgs(arg: audioChannelIntV.toString()),
  );
}