Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues handling audio session in iOS #460

Open
IonutChelaruB opened this issue Dec 13, 2024 · 0 comments
Open

Issues handling audio session in iOS #460

IonutChelaruB opened this issue Dec 13, 2024 · 0 comments

Comments

@IonutChelaruB
Copy link

Hi, I'm trying to implement the linphone sdk in an iOS application without using call kit. I'm trying to play a custom ringtone when a call is received.
The issue i'm encountering is that the sdk makes changes to the audio session so the ringtone is no longer played on the speaker, which means I'm forced to listen to route changes and change again the audio session configuration to the one I want but this makes the sound bad for the first 5 seconds until all changes are stopped.
Is there any way to avoid this behaviour?

I've also tried passing the ringtone path to the sdk but I've had no success with it. Is it supposed to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant