<?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>292858</bug_id>
          
          <creation_ts>2025-05-12 03:50:47 -0700</creation_ts>
          <short_desc>Wrong WebRTC H264 video clock rate since Safari 18.4.1</short_desc>
          <delta_ts>2025-05-13 04:53:41 -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 18</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 18</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>292273</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mgookov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>glendonwalkerii</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2116444</commentid>
    <comment_count>0</comment_count>
    <who name="">mgookov</who>
    <bug_when>2025-05-12 03:50:47 -0700</bug_when>
    <thetext>When I publish video from my iPhone (Safari 18.4.1) (or macOS) via a WebRTC (RTP), the server receives a packet with a timestamp frequency(clock rate) of 900 kHz instead of 90 kHz.

SDP example 

a=mid:1
a=rtpmap:96 H264/90000
a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 goog-remb
a=rtpmap:98 H264/90000
a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=rtcp-fb:98 goog-remb
a=rtpmap:100 H264/90000
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=640c1f
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:102 H264/90000
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=rtcp-fb:102 goog-remb


Example of received packets (H264, 30 fps):

sn=1157, timestamp=4133632481
sn=1158, timestamp=4133632481
sn=1159, timestamp=4133632481
sn=1160, timestamp=4133632481
sn=1161, timestamp=4133632481
sn=1162, timestamp=4133665095
sn=1163, timestamp=4133665095
sn=1164, timestamp=4133665095
sn=1165, timestamp=4133665095
sn=1166, timestamp=4133665095
sn=1167, timestamp=4133699279
sn=1168, timestamp=4133699279
sn=1169, timestamp=4133699279
sn=1170, timestamp=4133699279
sn=1171, timestamp=4133699279
sn=1172, timestamp=4133731294
sn=1173, timestamp=4133731294
sn=1174, timestamp=4133731294
sn=1175, timestamp=4133731294
sn=1176, timestamp=4133731294


The diff between frame timestamps is  about 32000. The same for SenderReport.

If I use clock rate = 900 kHz, audio/video synchronization is good, with 90  kHz it doesn&apos;t work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2116729</commentid>
    <comment_count>1</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2025-05-13 04:53:29 -0700</bug_when>
    <thetext>This is likely https://bugs.webkit.org/show_bug.cgi?id=292273.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2116730</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2025-05-13 04:53:41 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>