Closed
Bug 1177495
Opened 9 years ago
Closed 6 years ago
[Browser][Streaming] Media is not paused when headphones are unplugged.
Categories
(Firefox OS Graveyard :: Gaia::Browser, defect)
Tracking
(b2g-v2.0 affected, b2g-v2.1 affected, b2g-v2.2 affected, b2g-master affected)
People
(Reporter: NicholasN, Unassigned)
References
()
Details
(Whiteboard: [3.0-Daily-Testing][Spark] 2.6UXnom)
Attachments
(1 file)
303.58 KB,
text/plain
|
Details |
Description: When streaming music (Soundcloud.com) or video (youtube.com) in the browser, if the user has headphones plugged in and unplugs them, the media is not paused and automatically plays through the phone speakers. This is inconsistent with the Music and Video apps which pause the media when headphones are disconnected. Repro Steps: 1) Update an Aries to 20150625095718 2) Open the browser and go to soundcloud.com or youtube.com 3) Plug in headphones. 4) Press play on the media. 5) Unplug headphones. Actual: Media continues play and the audio automatically switches to the phone speakers. Expected: Media is automaticaly paused when headphones are unplugged. Notes: Environmental Variables: Device: Aries 3.0 Build ID: 20150625095718 Gaia: 038e917076271d304b906a41b4de670e505c67ae Gecko: 0b2f5e8b7be5 Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd Version: 41.0a1 (3.0) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0 Repro frequency: 6/6 See attached: video clip, logcat
Reporter | ||
Comment 1•9 years ago
|
||
Also occurs on Flame 3.0, Flame 2.2, Flame 2.1, Flame 2.0. Flame 2.0 Actual Result: When headphones are unplugged while streaming media in the browser, the media is not paused and the audio switches to the phone speakers. Environmental Variables: Device: Flame 2.0 BuildID: 20150625000206 Gaia: 5552bf529d3d6775a968942e9afa6c1d4037362c Gecko: 6a6840e6c51e Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 32.0 (2.0) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 Flame 2.1 Actual Result: When headphones are unplugged while streaming media in the browser, the media is not paused and the audio switches to the phone speakers. Environmental Variables: Device: Flame 2.1 BuildID: 20150624161202 Gaia: f8b848c82d1ed589f7a1eb5cc099830c867ff1d4 Gecko: d3e432c4546a Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 34.0 (2.1) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 Flame 2.2 Actual Result: When headphones are unplugged while streaming media in the browser, the media is not paused and the audio switches to the phone speakers. Environmental Variables: Device: Flame 2.2 BuildID: 20150624002503 Gaia: 1f8981d7872e3c0053571c26fb3edaf401844d75 Gecko: 3268ab642b70 Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 37.0 (2.2) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0 Flame 3.0 Actual Result: When headphones are unplugged while streaming media in the browser, the media is not paused and the audio switches to the phone speakers. Environmental Variables: Device: Flame 3.0 BuildID: 20150624160209 Gaia: eb0d4aefa62b20420d6fa0642515a110daca5d97 Gecko: 7b0df70e27ea Gonk: a4f6f31d1fe213ac935ca8ede7d05e47324101a4 Version: 41.0a1 (3.0) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
QA Whiteboard: [QAnalyst-Triage?]
status-b2g-v2.0:
--- → affected
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
Flags: needinfo?(onelson)
Whiteboard: [3.0-Daily-Testing][Spark]
Comment 2•9 years ago
|
||
Inconsistent behavior between playing music from Browser and playing music within the Music app. Affects all branches, so not really in a position to block. Reaching out to Music and Browser owners if they have thoughts on which behavior should be primary.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(onelson)
Flags: needinfo?(npark)
Flags: needinfo?(hcheng)
Comment 3•9 years ago
|
||
actually, tif might know whether browser playback behaviors should be in sync with media app behavior.
Flags: needinfo?(tshakespeare)
Flags: needinfo?(npark)
Flags: needinfo?(hcheng)
Comment 4•9 years ago
|
||
Yes! I would love for all playback behaviours to be consistent across the device - it's been my goal for awhile :)
Flags: needinfo?(tshakespeare)
Updated•9 years ago
|
Whiteboard: [3.0-Daily-Testing][Spark] → [3.0-Daily-Testing][Spark] 2.6UXnom
Comment 5•8 years ago
|
||
I completed preliminary analysis of this issue and it looks like there is no a simple fix for it. There is an event AudioChannelManager.onheadphoneschange which allows to track removal of the headphones and this is how Audio and Video players handle it. For browser case, the browser application itself can also handle this event, but the problem here is that browser application knows nothing about the content of the page which is opened. All the pages in browser are implemented with <iframe mozbrowser> tag, so the parent window can’t get access to its content since it is from another domain. There is no a simple solution on the gaia level. So, the fix for this issue should be done on gecko level and most likely changes in HTMLMediaElement will be required. I also checked the behavior on other devices (Android and iPhone) with different browsers and the result is the same as in Firefox OS. In spite the native Video and Audio applications stop playing media when headset is removed, the audio and video playing in browser is not stopped and continue playing through speakers. Taking into account written above the suggestion is resolve this bug as wontfix.
Updated•8 years ago
|
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][Low_QA]
Comment 6•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•