<?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>208134</bug_id>
          
          <creation_ts>2020-02-24 07:31:44 -0800</creation_ts>
          <short_desc>Random audio volume of WebRTC remote audio stream</short_desc>
          <delta_ts>2020-06-08 11:02:07 -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>WebRTC</component>
          <version>Safari 13</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 13</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>211287</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Ždila">m.zdila</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>feross</cc>
    
    <cc>gareth.lloyd</cc>
    
    <cc>hyugrae.cho</cc>
    
    <cc>sarmistha</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1622140</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Ždila">m.zdila</who>
    <bug_when>2020-02-24 07:31:44 -0800</bug_when>
    <thetext>When webrtc connection is established and both ends send and receive audio and video and if remote stream is attached to video element then it has random volume. It is either loud, silent or completly muted. Executing video.srcObject =  video.srcObject causes to jump between these volumes.

You can try it eg. on https://janus.conf.meetecho.com/videocalltest.html:

1. Join from Safari on iOS 13.3.1, on the other end in my case it was Chrome on Linux but other platforms were reported as well.
2. Audio volume on iPhone is one of 3 mentioned (random)
3. Execute in JS console on iOS Safari: document.getElementsByTagName(&apos;video&apos;)[1].srcObject = document.getElementsByTagName(&apos;video&apos;)[1].srcObject;
4. goto 2

Issue can be reproduced also for example on www.gruveo.com.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1622481</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-02-24 19:10:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/59751337&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640488</commentid>
    <comment_count>2</comment_count>
    <who name="Josh Cho">hyugrae.cho</who>
    <bug_when>2020-04-10 23:01:13 -0700</bug_when>
    <thetext>I also found the same problem in my product, a web-conference application for medical devices.
(it can be easily reproduced in WebRTC sample pages, https://webrtc.github.io/samples, as well.  

The volume control of WebRTC in Safari browser version 13 for iPhone and iPad is totally out of control.

Is there any workaround to avoid this problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640489</commentid>
    <comment_count>3</comment_count>
    <who name="Josh Cho">hyugrae.cho</who>
    <bug_when>2020-04-10 23:01:19 -0700</bug_when>
    <thetext>I also found the same problem in my product, a web-conference application for medical devices.
(it can be easily reproduced in WebRTC sample pages, https://webrtc.github.io/samples, as well.  

The volume control of WebRTC in Safari browser version 13 for iPhone and iPad is totally out of control.

Is there any workaround to avoid this problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1644276</commentid>
    <comment_count>4</comment_count>
    <who name="Gareth Lloyd">gareth.lloyd</who>
    <bug_when>2020-04-22 06:23:59 -0700</bug_when>
    <thetext>Does anyone know how to determine if/when Apple will fix this? This is a complete nightmare for anyone trying to use WebRTC audio/video calls :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1644738</commentid>
    <comment_count>5</comment_count>
    <who name="Martin Ždila">m.zdila</who>
    <bug_when>2020-04-23 04:47:46 -0700</bug_when>
    <thetext>Symptoms seems to be same as in https://bugs.webkit.org/show_bug.cgi?id=198545

*** This bug has been marked as a duplicate of bug 198545 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1644747</commentid>
    <comment_count>6</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2020-04-23 06:06:23 -0700</bug_when>
    <thetext>Reopening as this probably requires a dedicated solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1645160</commentid>
    <comment_count>7</comment_count>
    <who name="Sarmistha">sarmistha</who>
    <bug_when>2020-04-24 05:41:16 -0700</bug_when>
    <thetext>We are seeing 2 issues with iOS 13.3.1. Participant A on iPhone 11 with iOS 13.3.1 and participant B on IE(Electron).

1. Participant A on iPhone can&apos;t hear participant B after WebRTC connection is established. Mobile browser refresh on iPhone is resolving it.

2. Participant B on IE can&apos;t hear participant A on iPhone after WebRTC connection is established. Mobile browser refresh on iPhone is NOT resolving it.

This issue is causing lots of user dissatisfaction. Will the fix of 208134 resolve both conditions?

Is there any update on fix timeline?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1652556</commentid>
    <comment_count>8</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2020-05-14 02:17:48 -0700</bug_when>
    <thetext>https://bugs.webkit.org/show_bug.cgi?id=211287 seems to help as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660262</commentid>
    <comment_count>9</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2020-06-08 11:02:07 -0700</bug_when>
    <thetext>Please test it on latest iOS 13.5.5 beta

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

    </bug>

</bugzilla>