QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
MIT License
396 stars 358 forks source link

Activating audio session config changes audio output from headphones to receiver #1283

Closed maughray closed 2 years ago

maughray commented 3 years ago

New Issue Checklist

Before call, audio output is selected as headphones, but when activating below config it is set to recever. How to continue use headphones for call?

let config = QBRTCAudioSessionConfiguration()
config.mode = AVAudioSession.Mode.videoChat.rawValue
config.category = AVAudioSession.Category.playAndRecord.rawValue
config.categoryOptions = [.allowBluetooth, .allowBluetoothA2DP, .allowAirPlay]
ghost commented 3 years ago

Hello @maughray

Thank you for contacting QuickBlox Customer Support department.

I hope that I already shared a way how to achieve the required option in the ticket https://github.com/QuickBlox/quickblox-ios-sdk/issues/1284

Please let us know if the suggested method helped you to resolve the reported case.

Have a good day.

ghost commented 2 years ago

The issue is being closed as outdated.

If it is still relevant, feel free to open a new issue.