race condition with setSinkId on HTMLMediaElement
Reported by
seba.ker...@gmail.com,
Jun 12 2018
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36 Steps to reproduce the problem: 1. Create a HTMLMediaElement (audio or video) with autoplay 2. Set the sink id to a non-default speaker (multiple speakers required to be able to verify this) 3. Immediately after (so don't try to do this manually) set the 'srcObject' Try the attached reproduction, or this codepen: https://codepen.io/sebakerckhof/pen/OEpwJO What is the expected behavior? Sound plays from the sink id you've selected What went wrong? Sound plays from the default speakers instead. This seems to be a race condition, since it does work if you set the 'srcObject' later, or if you call 'setSinkId' after setting the 'srcObject'. Did this work before? N/A Does this work in other browsers? N/A Chrome version: 67.0.3396.62 Channel: stable OS Version: Ubuntu 18.04 Flash Version:
,
Jun 13 2018
We don't have multiple speakers set up available to test and confirm this from TE-end. Hence, tentatively adding component for further triaging. Adding label TE-NeedsTriageFromHYD for further triaging from the inhouse team. Thanks...!!
,
Jun 14 2018
Routing this issue to MTV team to verify on multiple speakers setup. Thanks!
,
Jun 25 2018
setSinkId is part of WebRTC.
,
Jun 26 2018
I'll take a look at this.
,
Jun 29 2018
Ownership assigned, updating labels. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by krajshree@chromium.org
, Jun 12 2018