Bug 172680 - codecId missing in RTCRTPStreamStats and the corresponding RTCCodecStats
Summary: codecId missing in RTCRTPStreamStats and the corresponding RTCCodecStats
Status: RESOLVED DUPLICATE of bug 189792
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-27 07:59 PDT by Michael Leaney
Modified: 2024-03-12 00:24 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Leaney 2017-05-27 07:59:25 PDT
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 "Get media"
Click "Connect"
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
Comment 1 Radar WebKit Bug Importer 2017-05-27 10:24:32 PDT
<rdar://problem/32443068>
Comment 2 Jon Lee 2017-05-29 15:45:03 PDT
rdar://problem/31899622
Comment 3 Ahmad Saleem 2024-03-11 18:15:46 PDT
It is working for me in Safari 17.4 on macOS Sonoma.

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

On Chrome Canary 124, I get similar codecId.
Comment 4 Karl Dubost 2024-03-11 20:58:31 PDT
I see in Report type=outbound-rtp

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


but I don'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.
Comment 5 youenn fablet 2024-03-12 00:22:56 PDT
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.
Comment 6 youenn fablet 2024-03-12 00:24:04 PDT
Probably fixed in https://bugs.webkit.org/show_bug.cgi?id=189792

*** This bug has been marked as a duplicate of bug 189792 ***