<?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>267696</bug_id>
          
          <creation_ts>2024-01-18 05:39:40 -0800</creation_ts>
          <short_desc>Missing WebRTC stats in Safari</short_desc>
          <delta_ts>2024-02-15 11:42:29 -0800</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 17</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>269314</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kaustav">kagh</reporter>
          <assigned_to name="youenn fablet">youennf</assigned_to>
          <cc>dibotero</cc>
    
    <cc>kagh</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2005836</commentid>
    <comment_count>0</comment_count>
    <who name="Kaustav">kagh</who>
    <bug_when>2024-01-18 05:39:40 -0800</bug_when>
    <thetext>These following important WebRTC stats are missing in Safari. Could you please add these?

inbound-rtp: qpSum, rtxSsrc, fecSsrc, decoderImplementation
outbound-rtp: rtxSsrc, scalabilityMode, encoderImplementation
data-channel: dataChannelIdentifier
local-candidate: foundation, usernameFragment, tcpType
remote-candidate: foundation, usernameFragment, tcpType</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2005864</commentid>
    <comment_count>1</comment_count>
    <who name="Kaustav">kagh</who>
    <bug_when>2024-01-18 08:56:11 -0800</bug_when>
    <thetext>two more stats

local-candidate: relayProtocol
remote-candidate: relayProtocol</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2005867</commentid>
    <comment_count>2</comment_count>
    <who name="[MSFT] Diego Perez Botero">dibotero</who>
    <bug_when>2024-01-18 09:10:55 -0800</bug_when>
    <thetext>Bonus points for the rest of the FEC stats (already implemented in Chromium&apos;s libWebRTC)

inbound-rtp: fecBytesReceived, fecPacketsReceived, fecPacketsDiscarded</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2007538</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-01-25 05:40:18 -0800</bug_when>
    <thetext>&lt;rdar://problem/121594743&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2007898</commentid>
    <comment_count>4</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2024-01-26 06:25:55 -0800</bug_when>
    <thetext>For qpSum and scalabilityMode, we need to pipe the info of the remote decoder/encoder to libwebrtc. I filed https://bugs.webkit.org/show_bug.cgi?id=268155 to keep track of this one.

I do not think we want to expose decoderImplementation/encoderImplementation at this point. Media Capabilities can be used to check whether it should be powerEfficient or not, which should in general match whether VTB is used or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2007900</commentid>
    <comment_count>5</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2024-01-26 06:32:17 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/23300</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008391</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-01-28 23:24:19 -0800</bug_when>
    <thetext>Committed 273643@main (7b5229864801): &lt;https://commits.webkit.org/273643@main&gt;

Reviewed commits have been landed. Closing PR #23300 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>