getAudioChannel method

Future<AlivcLivePushAudioChannel> getAudioChannel()

获取声道数

returns 声道数 默认:AlivcLivePushAudioChannel.audio_channel_one

Implementation

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