Closed Bug 1257853 Opened 10 years ago Closed 10 years ago

FF45.0 - HTML5 videoplayer Audio controls are UNIVERSAL (not player specific) - each control controls all audio streams

Categories

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

45 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: pasi.keinanen, Unassigned)

References

()

Details

(Whiteboard: [needinfo 2016/03/22])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0.2) Gecko/20100101 Firefox/44.0.2 Build ID: 20160303134406 Steps to reproduce: Reproducability: always (on my system, Windows 8.1 Pro x64, all patches, Creative soundcard using Windows WHQL drivers). 100% reproducible also on new clean profile with zero add-ons and all plugins disabled. Also reproducible on Firefox Developer Edition 46.0a2, so seems to be not very branch specific (again on clean profile). 1. Open any video with an audio track http://www.vimeo.com using HTML5 video player inside Firefox 2. Open any video with an audio track on http://www.youtube.com using HTML5 video player inside Firefox 3. Start playback for the both videos simultaneously 4. Adjust volume (up/down/mute) on either HTML5 player (HTML5 volume controls, not OS volume controls) Actual results: Adjusting any HTML5 player volume results in Firefox adjusting the volume for ALL concurrently playing HTML5 audio streams, regardless of window and/or HTML5 player (code) being used. Concurrently playing Adobe Flash player based video/audio streams are NOT affected (that is: controlling Flash player video player volume will not affect concurrently playing HTML5 video players audio volume, or vice versa). You can test many more HTML5 players in addition to youtube/vimeo and they all appear to behave similarly: http://www.jqueryrain.com/demo/html5-video-player/ Adjusting the volume of on any of the concurrently playing HTML5 video streams using a specific HTML5 players audio controls results in audio being similarly affected for ALL concurrently playing HTML5 audio streams, not just the player on which the audio volume is being adjusted. The same does NOT happen with Chrome v49.0.x, nor Opera 36 (beta), nor Internet Explorer 11.0.x. On these browser adjusting the volume of any specific HTML5 audio/video players affects the audio stream volume of that specific HTML5 playback stream being adjusted. The adjustment is NOT global across all concurrently playing streams. This seems to be similar, but not exactly the same as bug #1092859, but is NOT fixed and applies to other platforms than just WindowsXP. Similarity: adjusting volume on a HTML5 player adjusts total volume level of that Windows Firefox application instance in Windows mixer (i.e. any specific HTML5 volume control becomes effectively a Firefox instance specific volume control. e.g. a HTML5 player Firefox is shown as one instance in Windows mixer. An Adobe flash player based video playback stream is shown as a second, separate instance in Windows Mixer). The changes are appear visually live on Windows Mixer window, when adjustments are made inside Firefox onto any HTML5 player volume control (muting HTML5 player mutes the whole Firefox instance stream in Windows Mixer). Expected results: Audio volume (up/down/mute) adjustments on a specific HTML5 based Audio/video player should only apply to that specific HTML5 playback stream and not globally to all concurrently playing HTML5 audio streams.
OS: Unspecified → Windows 8.1
Hardware: Unspecified → x86_64
Component: Untriaged → Audio/Video
Product: Firefox → Core
I can't reproduce it with FF45 on Win 7, if I change the audio level of the Youtube video, it doesn't change the audio level of the Vimeo video. If I mute Youtube, Vimeo is not muted.
Component: Audio/Video → Audio/Video: Playback
Matthew - any thoughts on this?
Component: Audio/Video: Playback → Audio/Video: cubeb
Flags: needinfo?(kinetik)
Pasi, which Creative sound card do you have? Can you please run "dxdiag" from Start->Run, save the results to a file and attach the resulting file to this bug? It sounds like adjusting the volume of a media element is adjusting volume of Firefox's entire audio session. I don't understand why this might happen - we use IAudioStreamVolume to control per-stream volume (IChannelAudioVolume and ISimpleAudioVolume control the per-session volume), and we don't join our streams to a shared session explicitly (IAudioClient::Initialize is passed a null session GUID; although I think all streams end up in a shared session due to the code in widget/windows/AudioSession.cpp).
Flags: needinfo?(pasi.keinanen)
Flags: needinfo?(kinetik)
Whiteboard: [needinfo 2016/03/22]
Resolving this as incomplete due to lack of response on needinfo. We can reopen if we get more info and the problem is still happening for the reporter.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Flags: needinfo?(pasi.keinanen)
You need to log in before you can comment on or make changes to this bug.