-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace RTCVideo{Sender,Receiver}Stats::keyFrames{Sent,Received} with RTC{Out,In}boundRtpStreamStats::keyFrames{En,De}coded #447
Conversation
…tats::keyFramesEncoded. Bug: webrtc-stats:402
This is ready for a first pass, @henbos ptal. |
Tests are failing on HEAD too, at least in my local checkout. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @vr000m :) Re. the definition change: for most cases, keyFramesEncoded should be the same as keyFramesSent. keyFramesReceived and keyFramesDecoded could differ though, depending on far behind a stream is in the jitter buffer. My main motivation for changing the definition, however, was for consistency with the existing framesEncoded and framesDecoded. |
Formalistic: You need to add RTCVideoSenderStats::keyFramesSent to "obsolete stats", with a note saying whether or not there are implementations known. |
According to https://webrtc-stats.callstats.io/verify/, neither Chrome or Firefox implement these metrics. So I don't think the obsolete section is needed? |
I chatted with @alvestrand and he would like it in obsolete anyway. Can you fix? |
Done. PTAL. |
webrtc.org implementation is here: https://webrtc-review.googlesource.com/c/src/+/143683 |
Thanks for catching the inconsistency. Now I think I got it right. |
LGTM |
Standard-PR here: w3c/webrtc-stats#447 Bug: webrtc:7066 Change-Id: I52dd0a4cf8d5ea3402894293dcb74fe975c44b14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680254 Commit-Queue: Rasmus Brandt <brandtr@chromium.org> Reviewed-by: Henrik Boström <hbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#672889}
Moving keyFramesSent on sender to keyFramesEncoded on outbound-rtp, as per offline discussion with @henbos.