Commit ef107b52 authored by Benjamin REIS's avatar Benjamin REIS

fix audio session settings on ios

parent b3cfbf77
Pipeline #221 failed with stage
in 0 seconds
......@@ -417,7 +417,7 @@ static void configure_audio_session (au_card_t* d,uint64_t time) {
ms_message("Configuring audio session for playback/record");
[audioSession setCategory:AVAudioSessionCategoryPlayAndRecord
mode:AVAudioSessionModeVoiceChat
options:AVAudioSessionCategoryOptionAllowBluetooth | AVAudioSessionCategoryOptionAllowBluetoothA2DP | AVAudioSessionCategoryOptionMixWithOthers
options:AVAudioSessionCategoryOptionAllowBluetooth | AVAudioSessionCategoryOptionAllowBluetoothA2DP
error:&err];
if(err)
ms_error("Unable to change audio session because : %s", [err localizedDescription].UTF8String);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment