Closed Bug 1354827 Opened 7 years ago Closed 7 years ago

Switching audio output device causes muted videos to play with sound on Mac

Categories

(Core :: Audio/Video: cubeb, defect)

52 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1343920

People

(Reporter: sean, Unassigned)

Details

(Whiteboard: needinfo 2017-05-30 to reporter)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20170323105023

Steps to reproduce:

On active Firefox instance showing a tab/page with embedded autoplay video, e.g. facebook:
- verify videos are auto-playing, but auto-muted
- plug in headphones
- e.g. scroll to re-trigger playback
- listen
- reload page
- e.g. scroll to trigger playback
- listen
- unplug headphones
- e.g. scroll to re-trigger playback
- listen


Actual results:

muted-video plays muted following each page (re)load, but every time the audio output device is changed, video which played mute before the change now plays with full audio until the page is reloaded


Expected results:

muted video plays mute irrespective of selected audio device or changes thereof
Hardware: Late-2013 MacPro (canister); factory-stock quad 3.7GHz, 12G RAM, using the headphone jack (optical/speaker jack untested)
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
New to the bugsystem, so I don't know if the needinfo in that header is a proactive request or part of the boilerplate, but while I have not done repetitive tests specifically for this issue, I was able to reproduce it on the first attempt via the steps above, and on every attempt thereafter in the same browser session, having noticed it inadvertently multiple times prior.
So while I cannot yet say if it is literally every time on every launch, there is at least a state the system can settle into which seems to make it 100% consistent.  If I inadvertently notice a condition where it does NOT happen, I will explore further to see what may differentiate the cases when it does.

Also of note: I have had this machine for a few months, but the first time I noticed this behavior (without, at the time, knowing what it correlated to) was on March 27, 2017.  I don't know if that aligns with a new version drop, but it may be useful for regression testing.
I'm guessing this is a cubeb issue.
Component: Audio/Video: Playback → Audio/Video: cubeb
There are a number of fixes about switching devices in OSX but they are landed after 52. Can you please try with a earlier version like Release (53) or Nightly (55) (or better both).
Flags: needinfo?(sean)
This must be a duplicate of Bug 1343920. Can you please verify that it is fixed in any of the versions that the initial bug is fixed?
Whiteboard: needinfo 2017-05-30 to reporter
I have not observed the bug recently; currently on 53.0.2.  If changes have been made, I would believe it is fixed.
Flags: needinfo?(sean)
Thanks, I dup it to Bug 1343920, feel free to reopen if you have it again.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.