Closed
Bug 770252
Opened 14 years ago
Closed 14 years ago
HTML Video / Audio Playback does not playback through Headphones
Categories
(Core :: Audio/Video, defect)
Tracking
()
People
(Reporter: onecyrenus, Assigned: slee)
Details
(Keywords: uiwanted, Whiteboard: [WebAPI:P0][LOE:M])
Playback is not played back through the headphones when they are plugged in.
The expectation should be the following.
If headphones are plugged in mid stream, the playback should play through headphones.
If headphones are unplugged mid stream, then playback should pause.
Otherwise we play through the internal speaker.
This will get more complicated once bluetooth is added into the picture, but that will be a separate bug.
| Reporter | ||
Updated•14 years ago
|
blocking-basecamp: --- → ?
Updated•14 years ago
|
blocking-basecamp: ? → +
Updated•14 years ago
|
Summary: HTML Video / Audio Playback and Headphones → HTML Video / Audio Playback does not playback through Headphones
Comment 1•14 years ago
|
||
Crossposting issue in Gaia: https://github.com/mozilla-b2g/gaia/issues/1850
Comment 2•14 years ago
|
||
At least confirmed on Otoro, I don't know in SGS2
| Reporter | ||
Comment 3•14 years ago
|
||
FYI: I only have an otoro device. :)
Chris, who should own this, you or Matthew (or someone else)?
Comment 5•14 years ago
|
||
Based on the data in the gaia issue on github this works on some platforms but not others, so I think this comes down to the behaviour of the system's audio server.
| Assignee | ||
Comment 6•14 years ago
|
||
If it is on Otoro only, it should be fixed after Bug 745078 landed.
| Reporter | ||
Updated•14 years ago
|
QA Contact: dclarke
Comment 7•14 years ago
|
||
Assigning to Steven since he fixed bug 745078.
David, can you confirm this been fixed now that bug 745078 has landed? Thanks!
Assignee: nobody → slee
Keywords: qawanted
| Reporter | ||
Comment 8•14 years ago
|
||
Ok I can confirm that audio plays through the headset when the headset is plugged in and continues playing through the built in speaker when the headset is plugged out.
This might be good enough for V1, but would like someone to confirm this is the expected / accepted UX.
As normally when headphones come out it can be sometimes accidental so i think the android mechanism is to pause the player.
| Reporter | ||
Comment 9•14 years ago
|
||
Can I get a ux review of this to determine what is the desired v1 functionality ?
Comment 10•14 years ago
|
||
Josh, do we expect audio to stop playing when headphones are unplugged?
Keywords: uiwanted
Whiteboard: [blocked-on-input Josh Carpenter]
| Assignee | ||
Comment 11•14 years ago
|
||
Hi Josh,
Have you decided the behaviour? If we do not need stop audio, I
think this bug can be closed. The audio routing problem is solved
in Bug 779149.
Updated•14 years ago
|
Whiteboard: [blocked-on-input Josh Carpenter] → [blocked-on-input Josh Carpenter] [WebAPI:P0]
Comment 12•14 years ago
|
||
Stopping audio would be nice, but I do not think is strictly needed for v1. cc'ing Casey for input, who has worked on these apps and audio prioritization.
| Assignee | ||
Comment 13•14 years ago
|
||
(In reply to Josh Carpenter [:jcarpenter] from comment #12)
> Stopping audio would be nice, but I do not think is strictly needed for v1.
> cc'ing Casey for input, who has worked on these apps and audio
> prioritization.
Hi Casey,
What do you think about this?
Thanks
| Assignee | ||
Updated•14 years ago
|
Whiteboard: [blocked-on-input Josh Carpenter] [WebAPI:P0] → [blocked-on-input Josh Carpenter] [WebAPI:P0][LOE:M]
Comment 14•14 years ago
|
||
Casey, can you tell me your idea? IMO, for FM radio, it's nice to stop the audio because headset is a MUST for FM radio. But, I am wondering, how about other apps? Music, Video? ...
Comment 15•14 years ago
|
||
Hi there,
While media is playing and headset is plugged in, the media should continue playing through your headset.
While media is playing and the headset is unplugged, the media should pause until the user presses play.
This applies to music player, video player and fm radio.
| Assignee | ||
Comment 16•14 years ago
|
||
Bug 782289 implemented sending chrome event, headphones-status-changed, when headphone status
changes. Apps can listen to this event and decide what should they do. Could we close this bug?
Comment 17•14 years ago
|
||
(In reply to StevenLee from comment #16)
> Bug 782289 implemented sending chrome event, headphones-status-changed, when
> headphone status
> changes. Apps can listen to this event and decide what should they do. Could
> we close this bug?
As Steven says, I believe the platform pieces for this bug are done and so this bug should be closed. It seems like there should be gaia bugs opened to listen for the chrome event Steven mentions above (headphones-status-changed). At a minimum, I believe this bug no longer blocks basecamp.
blocking-basecamp: + → ?
Updated•14 years ago
|
Whiteboard: [blocked-on-input Josh Carpenter] [WebAPI:P0][LOE:M] → [WebAPI:P0][LOE:M]
Comment 18•14 years ago
|
||
David, can you verify whether or not this is working now?
Whiteboard: [WebAPI:P0][LOE:M] → [WebAPI:P0][LOE:M][blocked-on-input David Clarke]
| Reporter | ||
Comment 19•14 years ago
|
||
This works now
Whiteboard: [WebAPI:P0][LOE:M][blocked-on-input David Clarke] → [WebAPI:P0][LOE:M]
| Reporter | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
Comment 20•14 years ago
|
||
We wouldn't want the original issue to regress so marking as a blocker just in case.
blocking-basecamp: ? → +
Updated•14 years ago
|
Comment 21•13 years ago
|
||
Also verified on Firefox 19 beta 6.
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130212082553
You need to log in
before you can comment on or make changes to this bug.
Description
•