User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release) Build ID: 20130911155223 Steps to reproduce: Incoming call while website with audio is opened (background sound, audio/video stream, HTML5 audio/video tag). Actual results: Call audio is mixed with audio from Firefox. Expected results: Media playback of audio/video files is paused/realtime stream is muted while phone calls.
thought we already handled this (bug 809558)?
Status: UNCONFIRMED → NEW
Ever confirmed: true
We had to disable that in everything but apps. Would be nice to look for a solution here. It looks like this is typically done by monitoring the phone state . We already do that in other places . kinetic, is there an easy way to notify the audio system when we want it to mute (even though the app may still be in the foreground...)? Or would you rather build this into the cube implementation?  http://stackoverflow.com/questions/5610464/stopping-starting-music-on-incoming-calls  http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/GeckoApp.java#239
Flags: needinfo?(wjohnston) → needinfo?(kinetik)
Possibly we want to implement Audio Focus support (http://developer.android.com/training/managing-audio/audio-focus.html) in libcubeb, where loss of focus causes (at least) the stream to be muted.
This is a big problem when receiving calls as there is no way to mute the sound when the call is incoming on android 4.4.4. This means in order to answer a call without having background d sound from the media playing you first have to ignore the call, which isn't ideal.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1249579
You need to log in before you can comment on or make changes to this bug.