AgoraIO-Usecase / Video-Calling

Calling Interface + Connection Service on top of Agora RTM + RTC for Video Calling Example
MIT License
60 stars 43 forks source link

Speaker routing is not working in iOS 13.6 #24

Closed s1Moinuddin closed 4 years ago

s1Moinuddin commented 4 years ago

In VideoChatViewController, Audio route is set true for Speaker. agoraKit.setDefaultAudioRouteToSpeakerphone(true)

But after joining channel, self.agoraKit.isSpeakerphoneEnabled() returns false. After joining the channel, I have set self.agoraKit.setEnableSpeakerphone(true). Still audio is not routing to speaker. I can hear voice in earpiece. Unable to route it to the speaker.

Version: 'AgoraRtcEngine_iOS', '~> 3.0.1'

plutoless commented 4 years ago

the call is removed in https://github.com/AgoraIO-Usecase/Video-Calling/pull/25 in this use case we use callkit so we suggest to not let agora sdk handle audio routing. this is why the call failed.

plutoless commented 4 years ago

I'm closing this issue, feel free to open it for potential more questions.