Bug 235619

Summary: "outbound-rtp" and "inbound-rtp" WebRTC stats appear prematurely
Product: WebKit Reporter: jib
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   

jib
Reported 2022-01-25 16:20:17 PST
Other browsers tested: Chrome: FAIL (https://crbug.com/1291019) Firefox: OK Edge: FAIL What steps will reproduce the problem? (1) Open https://jsfiddle.net/jib1/h4swg3xb/8/ What is the expected result? 0 outbound-rtp What happens instead? 1 outbound-rtp The spec [1] says: "The lifetime of all RTP monitored objects starts when the RTP stream is first used: When the first RTP packet is sent or received on the SSRC it represents, or when the first RTCP packet is sent or received that refers to the SSRC of the RTP stream." The fiddle doesn't even establish a peer connection. [1] https://w3c.github.io/webrtc-stats/#the-rtp-statistics-hierarchy
Attachments
jib
Comment 1 2022-01-25 16:21:30 PST
For inbound-rtp see https://jsfiddle.net/jib1/b32myw94/9/ (here Firefox fails as well, which is https://bugzil.la/1751532) For WPT see https://github.com/w3c/webrtc-stats/issues/619.
Radar WebKit Bug Importer
Comment 2 2022-02-01 16:21:27 PST
Note You need to log in before you can comment on or make changes to this bug.