<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>235433</bug_id>
          
          <creation_ts>2022-01-21 03:04:16 -0800</creation_ts>
          <short_desc>Muted HTMLVideoElement plays sound after getting user media</short_desc>
          <delta_ts>2022-05-03 14:57:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>Safari 15</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>235544</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ivan.zahrodskyi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>matan</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1832725</commentid>
    <comment_count>0</comment_count>
    <who name="">ivan.zahrodskyi</who>
    <bug_when>2022-01-21 03:04:16 -0800</bug_when>
    <thetext>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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1832767</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-01-21 08:22:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/87884795&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1862839</commentid>
    <comment_count>2</comment_count>
    <who name="Matan Yemini">matan</who>
    <bug_when>2022-04-19 23:58:03 -0700</bug_when>
    <thetext>Can be reproduced by me as well. Using the same specifications.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866264</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2022-05-03 14:57:48 -0700</bug_when>
    <thetext>This was fixed by r290778, duping to 235544

*** This bug has been marked as a duplicate of bug 235544 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>