getAudioChannel method

Future<AlivcLivePushAudioChannel> getAudioChannel()

获取声道数

returns 声道数 默认:AlivcLivePushAudioChannel.audio_channel_one

Implementation

Future<AlivcLivePushAudioChannel> getAudioChannel() async {
  String strV = await _livePusherConfigMC.invokeMethod(
    'getAudioChannel',
    wrapArgs(),
  );
  int intV = int.parse(strV);
  return AudioChannelData.convertEnumValue(intV);
}