-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
Third party app audio issue while app with iosrtc is running in the background #713
Comments
try:
See #654 (comment) |
See also #654 (comment) (next comment after the one linked above) |
Note: that ios shitty shared audio managment not cordova-rtc, but links above should provide workarround. |
Changed incorrect issue title "Background music issue when iosrtc even not started" cause iosrtc is started and that not really Background music but any sound from external app. |
Music gets loud and crappy:
Music gets loud and crappy, then music stops, plays ding and does not continue:
|
Thank for testing existing workaround. Note: did you cordova prepare after changing "MANUAL_INIT_AUDIO_DEVICE" because if it's false it's not supposed to do anything with audio. |
I understand that an issue for you, at the same time not many people listen to music while doing video conference, i guess the issue is when they don't kill the app and it stay in the background after a call. |
We are making an application for employees work, and mostly they use it to do OTHER things rather than making calls. Like writing reports or making photos or checking some information (and at THAT time, they, of course, listen to music).
Just in case, did again "cordova prepare ios" and "cordova build ios" after changing "MANUAL_INIT_AUDIO_DEVICE", same result Interesting effect here (a screen recording), volume is set to about 20%, and at the moment of application start it rapidly jumps to 80% (i did not press button to raise volume). Did it several times, always same result, both with wired and bluetooth headphones. |
I will try to investigate based on recent donation that have been made to this project by @studium-inexorabile i can allocate some time to try to fix that issue for the community. |
Hi! |
I just came here to say this++, been fighting AVAudioSession for years. Even now, the volume changes make no sense. Before a WebRTC call, the volume is what's expected. After a call, sound volume hasn't change in the AVAudioSession, however, it's distinctly lower. There's no amount of setting categories, modes, or options that will change it. Even forked iosrtc and did a deep dive over the last week or so. Seems silly it's this hard. |
YOU MUST read first!
Please use Community Forum for general technical discussions and questions.
extra/renderer-and-libwebrtc-tests.js
file).Note: If the checkboxes above are not checked (which you do after the issue is posted), the issue will be closed, removing this checkbox will result in automatic closed issue.
Versions affected
Description
If background music plays (say apple music) and I start application (not even doing any API calls at all), music either stops (if cordova-plugin-background-mode is installed) or gets very loud and crappy (if no cordova-plugin-background-mode is installed).
Steps to reproduce
Music stop:
Music gets loud and crappy:
Expected results
Music continues to play with same volume and quality (since no API calls done yet)
Actual results
Music stops or gets loud and crappy
The text was updated successfully, but these errors were encountered: