[Webkit-unassigned] [Bug 236785] New: getUserMedia breaks video tag with audio
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 17 08:30:53 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236785
Bug ID: 236785
Summary: getUserMedia breaks video tag with audio
Product: WebKit
Version: Safari 15
Hardware: Unspecified
OS: macOS 12
Status: NEW
Severity: Critical
Priority: P2
Component: Web Audio
Assignee: webkit-unassigned at lists.webkit.org
Reporter: francesco.durighetto at bandyer.com
CC: cdumez at apple.com
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220217/821f8e34/attachment.htm>
More information about the webkit-unassigned
mailing list