<?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>172680</bug_id>
          
          <creation_ts>2017-05-27 07:59:25 -0700</creation_ts>
          <short_desc>codecId missing in RTCRTPStreamStats and the corresponding RTCCodecStats</short_desc>
          <delta_ts>2024-03-12 00:24:04 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>189792</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="Michael Leaney">mleaney</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jonlee</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1313399</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Leaney">mleaney</who>
    <bug_when>2017-05-27 07:59:25 -0700</bug_when>
    <thetext>There is no codecId field on the RTCRTPStreamStats and the corresponding RTCCodecStats objects.

Steps to Reproduce:
Head to: https://webrtc.github.io/samples/src/content/peerconnection/constraints/
Click &quot;Get media&quot;
Click &quot;Connect&quot;
Observe there is no codecId in the inbound-rtp stats objects

Expected Results:
Expect to see codecId in these stat objects. They exist in Chrome and Firefox.

Observed Results:
No codecId is observed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1313415</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-05-27 10:24:32 -0700</bug_when>
    <thetext>&lt;rdar://problem/32443068&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1313615</commentid>
    <comment_count>2</comment_count>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2017-05-29 15:45:03 -0700</bug_when>
    <thetext>rdar://problem/31899622</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020323</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-03-11 18:15:46 -0700</bug_when>
    <thetext>It is working for me in Safari 17.4 on macOS Sonoma.

@Youenn &amp; @Karl - is it reproducible for you or we can mark this as &apos;RESOLVED CONFIGURATION CHANGED&apos;.

On Chrome Canary 124, I get similar codecId.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020359</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-03-11 20:58:31 -0700</bug_when>
    <thetext>I see in Report type=outbound-rtp

id OT01A4292911247
time 1710215716331
codecId: COT01_111_minptime=10;useinbandfec=1
kind: audio


but I don&apos;t see it in Report type=inbound-rtp

on the other hand in chrome I can see it in inbound-rtp

Firefox behaves like Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020388</commentid>
    <comment_count>5</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2024-03-12 00:22:56 -0700</bug_when>
    <thetext>Our code supports codecId in both outbound and inbound stats.
I just tried with https://webrtc.github.io/samples/src/content/peerconnection/constraints/ and I can see codecId in both.

Marking as Configuration changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020389</commentid>
    <comment_count>6</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2024-03-12 00:24:04 -0700</bug_when>
    <thetext>Probably fixed in https://bugs.webkit.org/show_bug.cgi?id=189792

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

    </bug>

</bugzilla>