<?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>212669</bug_id>
          
          <creation_ts>2020-06-02 16:40:34 -0700</creation_ts>
          <short_desc>Safari users cannot hear remote audio, even though audio track is present</short_desc>
          <delta_ts>2020-07-07 10:06: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>WebRTC</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 13</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>https://virus.cafe</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Feross Aboukhadijeh">feross</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ianbonner</cc>
    
    <cc>kpd400</cc>
    
    <cc>mjs</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1658503</commentid>
    <comment_count>0</comment_count>
    <who name="Feross Aboukhadijeh">feross</who>
    <bug_when>2020-06-02 16:40:34 -0700</bug_when>
    <thetext>In Safari iOS, the audio for remote streams doesn&apos;t work sometimes. The audio track is being sent in the SDP but there&apos;s no audio when I add the stream to a &lt;video&gt; tag. This happens 20% of the time and it&apos;s very perplexing.

What&apos;s super weird is that if I connect the iPhone to debug the Safari tab, and I select the remote video element, and then I run $0.pause(); $0.play() the audio suddenly starts working. Somehow the audio track is present but the video tag is glitching and not playing it, it seems.

I wait for both &apos;track&apos; events (one for video, one for audio) then I set `video.srcObject = stream`. Very basic WebRTC usage.

I can reproduce this after about 5 tries on the site I&apos;m building, https://virus.cafe, between iOS on the one side and desktop Safari/Chrome on the other.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1658535</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-06-02 18:21:34 -0700</bug_when>
    <thetext>&lt;rdar://problem/63902457&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1658567</commentid>
    <comment_count>2</comment_count>
    <who name="Feross Aboukhadijeh">feross</who>
    <bug_when>2020-06-02 19:09:56 -0700</bug_when>
    <thetext>Possibly related to https://bugs.webkit.org/show_bug.cgi?id=198545</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660171</commentid>
    <comment_count>3</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2020-06-08 05:11:17 -0700</bug_when>
    <thetext>Feross, thanks for the report.
Can you try the latest iOS beta to see if that fixes your issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660551</commentid>
    <comment_count>4</comment_count>
    <who name="Feross Aboukhadijeh">feross</who>
    <bug_when>2020-06-08 19:31:22 -0700</bug_when>
    <thetext>Hi youenn, I will get an extra iOS device to install the iOS beta onto and then report back what I find. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1666391</commentid>
    <comment_count>5</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2020-06-25 23:48:32 -0700</bug_when>
    <thetext>I tried this on the iOS beta but I couldn&apos;t get a conversation partner so could not confirm if fixed or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1668357</commentid>
    <comment_count>6</comment_count>
    <who name="Kyle Dunn">kpd400</who>
    <bug_when>2020-07-02 13:57:38 -0700</bug_when>
    <thetext>I tested with iOS 13.6 beta 3 and can confirm the fix. Like Feross I was previously reproducing the bug in 13.5 about 20% of the time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1668539</commentid>
    <comment_count>7</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2020-07-03 05:44:36 -0700</bug_when>
    <thetext>Closing as per above comments, please reopen if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1668683</commentid>
    <comment_count>8</comment_count>
    <who name="Feross Aboukhadijeh">feross</who>
    <bug_when>2020-07-03 15:19:26 -0700</bug_when>
    <thetext>The issue seems fixed in the iOS 14 beta.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1669240</commentid>
    <comment_count>9</comment_count>
    <who name="Ian Bonner">ianbonner</who>
    <bug_when>2020-07-06 16:47:36 -0700</bug_when>
    <thetext>We have been experiencing a very similar issue and have been monitoring this bug. Is this expected to be closed in the ios 13.6 release or just the ios 14 release? The response from Feross indicates it is resolved in ios 14 but I was hoping for confirmation of a resolution in the ios13.6. Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1669447</commentid>
    <comment_count>10</comment_count>
    <who name="Kyle Dunn">kpd400</who>
    <bug_when>2020-07-07 10:06:48 -0700</bug_when>
    <thetext>(In reply to Ian Bonner from comment #9)
&gt; We have been experiencing a very similar issue and have been monitoring this
&gt; bug. Is this expected to be closed in the ios 13.6 release or just the ios
&gt; 14 release? The response from Feross indicates it is resolved in ios 14 but
&gt; I was hoping for confirmation of a resolution in the ios13.6. Thanks

It&apos;s fixed in the latest 13.6 beta so I think it&apos;s safe to assume it will be fixed in the general public release of 13.6 soon.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>