<?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>236363</bug_id>
          
          <creation_ts>2022-02-09 07:03:40 -0800</creation_ts>
          <short_desc>(Safari 15 - iOS15):  Increased audio latency on streaming via webrtc</short_desc>
          <delta_ts>2022-06-29 10:30:34 -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 15</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>asanand</reporter>
          <assigned_to name="youenn fablet">youennf</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>jer.noble</cc>
    
    <cc>philipj</cc>
    
    <cc>sergio</cc>
    
    <cc>sun.shin</cc>
    
    <cc>vfarley</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1839125</commentid>
    <comment_count>0</comment_count>
    <who name="">asanand</who>
    <bug_when>2022-02-09 07:03:40 -0800</bug_when>
    <thetext>We are observing noticeable increase in audio latency in Safari browser iOS 15.4 beta.

Our Client side implementation plays webrtc audio/video stream received from server on video element.


We have looked in the mediaserverd logs(presented below) and here is our finding



default	12:34:35.138370+0530	mediaserverd	-CMVAEndptMgr- vaemSetDeviceBufferDuration: duration = 0.085, sampleRate = 48000.000, numPCMSamples = 4095, NearestPowerOf2 = 4096, UseQuietBufferSizeProperty = ‘NO’


When we play the same after enabling the &quot;AudioContext&quot;, we are getting following log
  
default	12:42:35.257580+0530	mediaserverd	-CMVAEndptMgr- vaemSetDeviceBufferDuration: duration = 0.003, sampleRate = 48000.000, numPCMSamples = 127, NearestPowerOf2 = 128, UseQuietBufferSizeProperty = ‘NO’

the numPCMSamples in case of AudioContext is reducing down to 127 and its having direct impact on our audio latency.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839785</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-02-10 10:32:30 -0800</bug_when>
    <thetext>Could you please clarify if this is a new issue in Safari 15.4 beta, or if it affects shipping Safari too?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839811</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2022-02-10 10:53:27 -0800</bug_when>
    <thetext>Also, is the application capturing microphone?
It is not unexpected that web audio will get you the lowest latency.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840156</commentid>
    <comment_count>3</comment_count>
    <who name="">asanand</who>
    <bug_when>2022-02-10 20:21:25 -0800</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #1)
&gt; Could you please clarify if this is a new issue in Safari 15.4 beta, or if
&gt; it affects shipping Safari too?

It affects shipping safari too</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840158</commentid>
    <comment_count>4</comment_count>
    <who name="">asanand</who>
    <bug_when>2022-02-10 20:25:06 -0800</bug_when>
    <thetext>(In reply to youenn fablet from comment #2)
&gt; Also, is the application capturing microphone?
&gt; It is not unexpected that web audio will get you the lowest latency.

The application is not capturing microphone.

What should be the difference in latency between playing with and without WebAudio.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840255</commentid>
    <comment_count>5</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2022-02-11 01:03:17 -0800</bug_when>
    <thetext>(In reply to asanand from comment #4)
&gt; (In reply to youenn fablet from comment #2)
&gt; &gt; Also, is the application capturing microphone?
&gt; &gt; It is not unexpected that web audio will get you the lowest latency.
&gt; 
&gt; The application is not capturing microphone.
&gt; 
&gt; What should be the difference in latency between playing with and without
&gt; WebAudio.

A small latency is better for reactiveness, less so for battery life and stability.
With WebAudio, spec mentions a small audio quantum so we tune the audio renderer accordingly.
For regular audio, we do a different set up but I can see some applications wanting to get low latency for incoming WebRTC audio.

We could look at implementing https://w3c.github.io/webrtc-extensions/#dom-rtcrtpreceiver-playoutdelay so that your application could provide a hint about this.

Can you provide more info on your usecase?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1841209</commentid>
    <comment_count>6</comment_count>
    <who name="">asanand</who>
    <bug_when>2022-02-14 05:04:34 -0800</bug_when>
    <thetext>(In reply to youenn fablet from comment #5)
&gt; (In reply to asanand from comment #4)
&gt; &gt; (In reply to youenn fablet from comment #2)
&gt; &gt; &gt; Also, is the application capturing microphone?
&gt; &gt; &gt; It is not unexpected that web audio will get you the lowest latency.
&gt; &gt; 
&gt; &gt; The application is not capturing microphone.
&gt; &gt; 
&gt; &gt; What should be the difference in latency between playing with and without
&gt; &gt; WebAudio.
&gt; 
&gt; A small latency is better for reactiveness, less so for battery life and
&gt; stability.
&gt; With WebAudio, spec mentions a small audio quantum so we tune the audio
&gt; renderer accordingly.
&gt; For regular audio, we do a different set up but I can see some applications
&gt; wanting to get low latency for incoming WebRTC audio.
&gt; 
&gt; We could look at implementing
&gt; https://w3c.github.io/webrtc-extensions/#dom-rtcrtpreceiver-playoutdelay so
&gt; that your application could provide a hint about this.
&gt; 
&gt; Can you provide more info on your usecase?
We are having application for cloud gaming where we stream audio/video with optional upstream(mic streams)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1841757</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-15 09:32:08 -0800</bug_when>
    <thetext>&lt;rdar://problem/88969850&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851766</commentid>
    <comment_count>8</comment_count>
    <who name="">asanand</who>
    <bug_when>2022-03-16 06:18:30 -0700</bug_when>
    <thetext>(In reply to youenn fablet from comment #5)
&gt; (In reply to asanand from comment #4)
&gt; &gt; (In reply to youenn fablet from comment #2)
&gt; &gt; &gt; Also, is the application capturing microphone?
&gt; &gt; &gt; It is not unexpected that web audio will get you the lowest latency.
&gt; &gt; 
&gt; &gt; The application is not capturing microphone.
&gt; &gt; 
&gt; &gt; What should be the difference in latency between playing with and without
&gt; &gt; WebAudio.
&gt; 
&gt; A small latency is better for reactiveness, less so for battery life and
&gt; stability.
&gt; With WebAudio, spec mentions a small audio quantum so we tune the audio
&gt; renderer accordingly.
&gt; For regular audio, we do a different set up but I can see some applications
&gt; wanting to get low latency for incoming WebRTC audio.
&gt; 
&gt; We could look at implementing
&gt; https://w3c.github.io/webrtc-extensions/#dom-rtcrtpreceiver-playoutdelay so
&gt; that your application could provide a hint about this.
&gt; 
&gt; Can you provide more info on your usecase?

When can we expect a fix for this issue where we could provide a hint as mentioned here
&gt; We could look at implementing
&gt; https://w3c.github.io/webrtc-extensions/#dom-rtcrtpreceiver-playoutdelay so
&gt; that your application could provide a hint about this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1856184</commentid>
    <comment_count>9</comment_count>
    <who name="Virginia Farley">vfarley</who>
    <bug_when>2022-03-29 14:20:08 -0700</bug_when>
    <thetext>Youenn, could you please provide an update on the fix for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1859196</commentid>
    <comment_count>10</comment_count>
      <attachid>456906</attachid>
    <who name="youenn fablet">youennf</who>
    <bug_when>2022-04-07 04:29:13 -0700</bug_when>
    <thetext>Created attachment 456906
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1859427</commentid>
    <comment_count>11</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-04-07 13:59:46 -0700</bug_when>
    <thetext>Committed r292563 (249401@main): &lt;https://commits.webkit.org/249401@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 456906.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1859579</commentid>
    <comment_count>12</comment_count>
    <who name="">asanand</who>
    <bug_when>2022-04-07 21:08:51 -0700</bug_when>
    <thetext>(In reply to youenn fablet from comment #10)
&gt; Created attachment 456906 [details]
&gt; Patch

Which Safari version should have this fix ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872166</commentid>
    <comment_count>13</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-05-26 15:05:23 -0700</bug_when>
    <thetext>This fix shipped with Safari 15.5 (all platforms).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1878259</commentid>
    <comment_count>14</comment_count>
    <who name="Virginia Farley">vfarley</who>
    <bug_when>2022-06-24 14:02:11 -0700</bug_when>
    <thetext>Still observing an additional ~50ms of latency after this patch.  Could we please reevaluate whether the preferred buffer size could be further reduced to address the audio latency, or whether a different approach could be considered to resolve this?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>456906</attachid>
            <date>2022-04-07 04:29:13 -0700</date>
            <delta_ts>2022-04-07 13:59:49 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-236363-20220407132911.patch</filename>
            <type>text/plain</type>
            <size>5076</size>
            <attacher name="youenn fablet">youennf</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjkyNDUwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2c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