apprtc
apprtc copied to clipboard
AppRTC can't get sound from ios device
Browsers and versions affected Chrome 79
Description When ios device and web side connect a room in AppRTC, web's sound is coming the phone but phone's sound is not going to web. But ios device to ios device its runnig correctly.
Steps to reproduce
- Open a room in AppRTC from web browser
- Get call the ios device with Voip Push Notification and Activate CallKit
- Answer call on lockscreen and connect the AppRTC room
Expected results When user answered the call, phone will connect the room and the voice of the phone is will transmit to the web.
Actual results When phone connected the room, the voice of the phone is not transmited to the web. But web's sound is can be hearing on phone.
I had this problem in FirebaseRTC and the solution was to check for Safari and then add the stream instead of using addTrack. It seems that iOS Safari doest like addTrack.
ios 13.3.1 has a known issue about this -- perhaps that was the version of ios?