Bug 235433

Summary: Muted HTMLVideoElement plays sound after getting user media
Product: WebKit Reporter: ivan.zahrodskyi
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: eric.carlson, jer.noble, matan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: All   
OS: All   

Description ivan.zahrodskyi 2022-01-21 03:04:16 PST
Steps to reproduce:
1) assign some MediaStream (audio and video) or video source to HTMLVideoElement
2) play video and set video.muted = true;
3) try to get any stream by ```navigator.mediaDevices.getUserMedia({audio: true});```

Actual result: you start hearing audio
Expected result: video should be muted

Also you can easily reproduce it on youtube for example..
- open any youtube video
- mute it
- put navigator.mediaDevices.getUserMedia({audio: true}); to the console
- video becomes unmuted


Safari version: Version 15.2 (17612.3.6.1.6)
Comment 1 Radar WebKit Bug Importer 2022-01-21 08:22:12 PST
<rdar://problem/87884795>
Comment 2 Matan Yemini 2022-04-19 23:58:03 PDT
Can be reproduced by me as well. Using the same specifications.
Comment 3 Eric Carlson 2022-05-03 14:57:48 PDT
This was fixed by r290778, duping to 235544

*** This bug has been marked as a duplicate of bug 235544 ***