WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
236785
getUserMedia breaks video tag with audio
https://bugs.webkit.org/show_bug.cgi?id=236785
Summary
getUserMedia breaks video tag with audio
Francesco Durighetto (kekkokk)
Reported
2022-02-17 08:30:53 PST
Safari 15.3 on Monterey (not happening on Safari 15.1 and 15.4 dev preview) Steps to reproduce: - create a peerconnection (subscribe only) to a remote audio and video. - create a video AND audio HTMLelements and apply as srcObj the audio + video stream just subscribed. - set the videoHtmlElement as muted = true observe: - everything works as expected, I can hear remote stream from the audio tag and see the remote video in the video tag (i CANNOT hear, as expected, the audio track from the video tag since it's muted) what breaks: - i call getUsermedia({audio: true, video: true}) in the same page observe: - I now hear the remote side twice what happened: - the video element showing the remote stream "unmuted" itself, despite the fact that $0.muted is showing true proof: - set the video element to muted= false and then muted = true again and the double audio disappears. Workaround: - create a new mediaStream with only a track (one for video and one for audio) and assign them to the HTMLElement. But this breaks Safari 13 since MediaStreamTrack.clone() is broken :( HALP TLDR: - calling getUserMedia unmute all video tags in the page
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2022-02-18 14:49:38 PST
> not happening on Safari 15.1 and 15.4 dev preview
While I'm not an expert in this area, not happening with 15.4 dev preview would indicate that this is already fixed in WebKit code base.
Radar WebKit Bug Importer
Comment 2
2022-02-23 15:43:22 PST
<
rdar://problem/89382851
>
Brent Fulgham
Comment 3
2022-06-23 15:33:10 PDT
We believe this is resolved in Safari 15.4 (and newer).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug