I've integrated Vidyo with CallKit on iOS for VOIP, except for one issue: Audio is sometimes muted on connection, and either needs the microphone toggled twice, or stays muted. I'm using the Vidyo.io resource to connect. I know that Apple has special calls to enhance audio when using voip protocols, but I do not call these, because I think Vidyo is handling the audio here (plus I don't know what to call!). Has anyone successfully integrated CallKit into Vidyo, and, if so, what do you do for Configure AVAudioSession?
Related
We have audio video calling feature in the application. When I make a call to an android device then both the sender and receiver can hear the voices. However, when the call is received at the iOS device, there is no sound of voice anywhere.
I am developing WebRTC video calling app on iOS and ideally I would like the call to be kept alive when the screen is locked or the user puts the app in the background. The app uses the Socket.io library.
Is it possible/allowed for me to keep both the web socket and peer connection alive when the screen is locked?
I know apple states that "only specific app types are allowed to run in the background", and specifically mentions apps that support VoIP as one of these. Based off this, I was wondering if WebRTC qualifies, and if so, how it would be done.
I am using tokbox for video calling in my iOS application. I am getting the issue when while video calling, when I lock the app, the stream gets disconnected and the call ends.
This documentation outlines running TokBox in the background, i.e. when the phone is locked. The following is an excerpt from the limitations of running TokBox in the background:
Apps cannot do the following while in the background state:
Use the camera as a video source for a publisher.
The documentation goes on to explain that you can keep an audio-only session active when running in the background, but not a video session.
I am running the VoIP application using the pjsip library. Everything is working fine in the foreground. Suppose my call is established, the application goes to background, and we have good communication between all end users. If any end user then plays some music from another application, their communication is lost from the VoIP call. I would like the communication to continue even if another application's music plays. Skype handles this scenario very nicely.
I have checked so many forums, but I couldn't found any solution for this. Could anyone suggest how I can resolve this?
How sonos IOS app works streaming in background?
They are using Airplay or another technique?
Sonos is not sending the audio from the device to the speaker - the speaker makes the request directly. This passes the "beer run test" which allows you to leave with you phone with interrupting the music that others are listening to.