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

Not able to hear with Bluetooth handset #1210

Closed devgeektech closed 2 years ago

devgeektech commented 4 years ago

New Issue Checklist

Environment details

Info Value
iOS Version e.g. 13.0
Quickblox iOS SDK version e.g. 2.17.4
QuickbloxWebRTC SDK version e.g. 2.7.4
Xcode Version e.g. Xcode 11.3

Hello

I am trying to implement Quickblox webrtc for video call but I am not able to configure Bluetooth handset.

this is the code I have implemented for bluetooth as per the documentation.


if audioSession.isInitialized == false {
            audioSession.initialize { configuration in
                // adding blutetooth support

                configuration.categoryOptions.insert(AVAudioSession.CategoryOptions.allowBluetooth)
                configuration.categoryOptions.insert(AVAudioSession.CategoryOptions.allowBluetoothA2DP)
                // adding airplay support
                configuration.categoryOptions.insert(AVAudioSession.CategoryOptions.allowAirPlay)
                if session.conferenceType == .video {
                    // setting mode to video chat to enable airplay audio and speaker only
                    configuration.mode = AVAudioSession.Mode.videoChat.rawValue
                }
            }
        }

Please help with this issue

tmkinger commented 4 years ago

I have the same issue, and even I'm using the latest versions of iOS SDK and WebRTC SDK.

maughray commented 3 years ago

I also have the same issue. Do you found a solution?

ghost commented 3 years ago

Hello,

This is Nikolay from QuickBlox support.

Please let me know if the issue is still relevant.

Please check our documentation: https://docs.quickblox.com/docs/ios-video-calling

Also, please update the SDK to the latest version: https://github.com/QuickBlox/quickblox-ios-sdk/releases/tag/2.17.10

Additionally, please check our samples: https://docs.quickblox.com/docs/code-samples#video-calling-samples

ghost commented 2 years ago

The issue is being closed as outdated.

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