Bug 214787

Summary: qpSum is always 0 in WebRTC stats
Product: WebKit Reporter: Dan <kentbriggs5>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: Unspecified   
OS: Unspecified   

Description Dan 2020-07-25 10:17:34 PDT
Support for qpSum in WebRTC stats was added in https://bugs.webkit.org/show_bug.cgi?id=170060, but it seems like the value is always 0.
Comment 1 Radar WebKit Bug Importer 2020-07-25 13:19:19 PDT
<rdar://problem/66108343>
Comment 2 Dan 2020-07-30 12:06:32 PDT
Created a simple repro: https://codepen.io/dbriggs/pen/wvMLREG.
Comment 3 Dan 2020-07-30 12:12:41 PDT
I noticed in the original change that qpSum was being reset to 0 immediately after being set to the correct value http://trac.webkit.org/browser/webkit/trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp?rev=214368#L273.

Not sure if that was changed at some point later though!
Comment 4 youenn fablet 2020-08-05 05:30:10 PDT
Fixed in https://trac.webkit.org/changeset/262726