Skip to content
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

Synchronize MTI stats with webrtc-stats cleanup #2744

Merged
merged 3 commits into from Jun 30, 2022
Merged

Synchronize MTI stats with webrtc-stats cleanup #2744

merged 3 commits into from Jun 30, 2022

Conversation

dontcallmedom
Copy link
Member

@dontcallmedom dontcallmedom commented Jun 16, 2022

@@ -15505,7 +15503,6 @@ <h3>
{{RTCReceivedRtpStreamStats/packetsReceived}},
{{RTCReceivedRtpStreamStats/packetsLost}},
{{RTCReceivedRtpStreamStats/jitter}},
{{RTCReceivedRtpStreamStats/packetsDiscarded}},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packetsDiscarded seems well implemented.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's also still in the stats spec AFAICT

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the patch moves it to its new parent RTCInboundRtpStreamStats

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's implemented in inbound-rtp, not remote-inbound-rtp. The WPT tests both, one passes on all browsers and one fails on all browsers.

The PR moved it from RTCReceivedRtpStreamStats which implied both inbound-rtp and remote-inbound-rtp to only RTCInboundRtpStreamStats. This matches the implementation status

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for explaining! LGTM then

@alvestrand alvestrand requested a review from henbos June 30, 2022 14:43
Copy link
Contributor

@henbos henbos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT this is correct. Approved!

@alvestrand alvestrand merged commit 6a4f8dd into main Jun 30, 2022
Copy link
Contributor

@henbos henbos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed one thing we should change IMO

</td>
<td rowspan="2" data-tests=
"RTCPeerConnection-track-stats.https.html,RTCPeerConnection-mandatory-getStats.https.html">
{{RTCMediaHandlerStats/trackIdentifier}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh we should make it mandatory to implement RTCInboundRtpStreamStats.trackIdentifier. It got moved there.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you provide it as a separate PR since that one got merged now? :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do #2747

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done: #2748

dontcallmedom added a commit that referenced this pull request Jul 19, 2022
dontcallmedom added a commit that referenced this pull request Aug 19, 2022
dontcallmedom added a commit to dontcallmedom/web-platform-tests that referenced this pull request Aug 30, 2022
dontcallmedom added a commit to web-platform-tests/wpt that referenced this pull request Aug 30, 2022
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Sep 5, 2022
…tonly

Automatic update from web-platform-tests
Align WebRTC MTI stats with specs (#35703)

* Align WebRTC MTI stats with specs

see w3c/webrtc-pc#2744 w3c/webrtc-pc#2748 w3c/webrtc-stats#647

--

wpt-commits: ffb6a1e86161c3c449d8220700624bbc31fb0dcd
wpt-pr: 35703
dontcallmedom added a commit that referenced this pull request Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants