Bug 215678

Summary: Missing WebRTC Metrics in iOS 14 Beta 5
Product: WebKit Reporter: cxxu
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, eric.carlson, ews-watchlist, glenn, hta, jer.noble, juberti, philipj, sergio, tommyw, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: iPhone / iPad   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=212668
Attachments:
Description Flags
Patch none

Description cxxu 2020-08-19 18:44:44 PDT
WebRTC getStats API is missing critical metric values in iOS 14 Beta 5 (Tested on iphone 11)

For the "video" "track" type , it is missing the following critical metrics: 

"kind"
"jitterBufferDelay"
"jitterBufferEmittedCount"

For the "audio" "track" type , it is missing the following critical metrics: 

"kind"
"jitterBufferDelay"
"jitterBufferEmittedCount"
"concealedSamples"
"totalSamplesReceived"
Comment 1 Radar WebKit Bug Importer 2020-08-22 15:53:12 PDT
<rdar://problem/67625414>
Comment 2 Alexey Proskuryakov 2020-08-22 15:54:00 PDT
Could you please clarify if this works as expected on iOS 13.6.1?
Comment 3 cxxu 2020-08-24 09:31:28 PDT
These metrics don't exist in iOS 13.6, many new metrics have been added since iOS 14. We have cut a ticket for adding the missing metrics (comparing to Chromium and w3c webrtc-stats) and has been closed (https://bugs.webkit.org/show_bug.cgi?id=212668), some of the metrics have been added (verified in iOS 14 beta 5), but there are still some important metrics that are missing.
Comment 4 youenn fablet 2020-11-30 05:21:11 PST
Created attachment 415017 [details]
Patch
Comment 5 EWS 2020-11-30 11:29:43 PST
Committed r270255: <https://trac.webkit.org/changeset/270255>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 415017 [details].