Bug 235433 - Muted HTMLVideoElement plays sound after getting user media
Summary: Muted HTMLVideoElement plays sound after getting user media
Status: RESOLVED DUPLICATE of bug 235544
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 15
Hardware: All All
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-21 03:04 PST by ivan.zahrodskyi
Modified: 2022-05-03 14:57 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***