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)

defect
Not set
normal

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
Keywords: foxfood
QA Whiteboard: [foxfood-triage]
Flags: needinfo?(sotaro.ikeda.g)
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)
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)
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
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.
Keywords: dogfood
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)
I tested the SWOOP in Flame and used the latest m-c, it would stop playing when it came to background.
Flags: needinfo?(alwu)
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.