setAudioEncoderProfile method
设置音频编码格式
audioEncoderProfile 音频编码格式
Implementation
Future<void> setAudioEncoderProfile(
AlivcLivePushAudioEncoderProfile audioEncoderProfile) async {
int audioEncoderProfileIntV = AudioEncoderProfileData.convertInterfaceValue(
audioEncoderProfile.index);
return AlivcLivePusherConfig.methodChannel.invokeMethod(
'setAudioEncoderProfile',
_wrap(arg: audioEncoderProfileIntV.toString()));
}