Closed
Bug 989655
Opened 10 years ago
Closed 8 years ago
Audio from Web Apps is paused/disabled when screen is turned off (e.g. with SoundCloud, News Podcasts)
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P1)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: dholbert, Unassigned)
References
()
Details
(Whiteboard: [WebRuntime])
STR: 1. Install https://marketplace.firefox.com/app/soundcloud (using Firefox nightly on Android) 2. Open the newly-installed webapp. 3. Tap any of the audio clips available at the bottom of the front page (under "Explore the newest sounds") 4. Tap the Play button (you might have to tap it twice to get it to actually activate) 5. After audio is playing, turn off your phone's screen ACTUAL RESULTS: After a second or two, the audio stops. It won't resume until you turn your screen on again. EXPECTED RESULTS: Audio should not have stopped. NOTE: I get EXPECTED RESULTS (audio will play nicely, with the screen off) if I load http://m.soundcloud.com *directly* in Firefox nightly (instead of using the web app). So at first glance, this appears to be a restriction imposed by the Web App bundling.
Reporter | ||
Comment 1•10 years ago
|
||
I can also reproduce with "News Podcasts": https://marketplace.firefox.com/app/news-podcast-1 (Audio turns off when I turn off the screen, when I install that app and start playing something from inside it. As with SoundCloud, if I visit the site (http://www.audio29.com//radio/index_client.html?NEWS ) directly in Firefox nightly and play some audio, it keeps playing correctly after I turn off the screen.)
Summary: Web Apps (SoundCloud at least) cannot play audio when screen is turned off → Web Apps (e.g. SoundCloud, News Podcasts) cannot play audio when screen is turned off
Reporter | ||
Comment 2•10 years ago
|
||
Also: I'm using up-to-date nightly (31.0a1, 2014-03-29) on a Nexus 4.
Reporter | ||
Updated•10 years ago
|
Summary: Web Apps (e.g. SoundCloud, News Podcasts) cannot play audio when screen is turned off → Audio from Web Apps is paused/disabled when screen is turned off (e.g. with SoundCloud, News Podcasts)
Reporter | ||
Updated•10 years ago
|
OS: Linux → Android
Hardware: x86_64 → ARM
Reporter | ||
Updated•10 years ago
|
Comment 3•10 years ago
|
||
We support the audio channel api only in apps: https://wiki.mozilla.org/WebAPI/AudioChannels That should provide consistency with b2g. If it doesn't, we should fix it.
Reporter | ||
Comment 4•10 years ago
|
||
It apparently isn't consistent. B2G gives me EXPECTED RESULTS* (audio continues playing when screen is turned off). *More details: I'm running my own B2G trunk build on my unagi; I installed the News Podcasts app from the Marketplace and started playing audio through it, and the audio continued when I turned off my screen.
Comment 5•10 years ago
|
||
Hmm.. interesting. Since its basically the same code up to the decoder, I wonder if we're getting different content than b2g is, or if we're just reporting the wrong audio channel to gecko somehow...
Updated•10 years ago
|
Priority: -- → P1
Whiteboard: [WebRuntime]
Comment 6•8 years ago
|
||
Per bug 1235869, we're going to disable the Android web runtime, so we won't fix this bug in it. (This is part of a bulk resolution of bugs in the Firefox for Android::Web Apps component, from which I attempted to exclude bugs that are not specific to the runtime, but it's possible that I included one accidentally. If so, I'm sorry, and please reopen the bug!)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•