Bug 214787 - qpSum is always 0 in WebRTC stats
Summary: qpSum is always 0 in WebRTC stats
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 13
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-07-25 10:17 PDT by Dan
Modified: 2020-08-05 05:30 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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