Closed
Bug 1177647
Opened 11 years ago
Closed 10 years ago
swoop game continues to play music when in background
Categories
(Firefox OS Graveyard :: Gaia::Feedback, defect)
Firefox OS Graveyard
Gaia::Feedback
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Unassigned)
References
()
Details
(Keywords: foxfood, Whiteboard: [bzlite])
User-Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
1) open swoop app
2) play one level
3) on level end overview screen, press home key to "exit" (due to bug 117646)
expected:
no music playing
actual:
music can be heard playing even though the game is in the background
Updated•11 years ago
|
QA Whiteboard: [foxfood-triage]
Flags: needinfo?(sotaro.ikeda.g)
Comment 1•11 years ago
|
||
I don't think Sotaro would know about this problem.
Paul, do you know? We've already engaged the PlayCanvas people about it, so there might be nothing to do on your end until we hear back from them.
Flags: needinfo?(sotaro.ikeda.g) → needinfo?(padenot)
Comment 2•11 years ago
|
||
302 baku, this smells like an AudioChannel issue. This area is moving a lot, and is going to move even more in the next few days.
Also, yes, we need to make sure PlayCanvas is not doing something stupid.
Flags: needinfo?(padenot) → needinfo?(amarchesini)
Comment 3•11 years ago
|
||
I want to keep PlayCanvas out of this as long as possible as we should only ask partners to work around platform quirks for Firefox OS as *last resort*. We loose credibility and energy with our precious contacts.
Why isn't audio paused automatically for any mediaelement/audiocontext that doesn't declare itself music? Related is bug 1084464
Comment 4•11 years ago
|
||
Swooop pauses audio using page visbility API. Open http://playcanv.as/p/JtL2iqIH in the browser to see it working. We broke that before in bug 910340.
Comment 7•11 years ago
|
||
We just landed the AudioChannelService refactoring. Now the AudioChannel logic is implemented in gaia.
Alwu can we test this issue? Thanks!
Flags: needinfo?(amarchesini) → needinfo?(alwu)
Comment 8•11 years ago
|
||
I tested the SWOOP in Flame and used the latest m-c, it would stop playing when it came to background.
Flags: needinfo?(alwu)
| Reporter | ||
Comment 9•10 years ago
|
||
Using the Z3C foxfooding device with the latest FOTA/OTA installed (build number: eng.naoki.20151007.074137, build identifier 20151023101519) - looks fixed to me now, thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•