setAudioChannel method

Future<void> setAudioChannel(
  1. AlivcLivePushAudioChannel audioChannel
)

设置声道数

audioChannel 声道数

Implementation

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