-
Notifications
You must be signed in to change notification settings - Fork 114
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15397,7 +15397,7 @@ <h3> | |
</td> | ||
<td data-tests= | ||
"RTCPeerConnection-getStats.https.html,RTCPeerConnection-mandatory-getStats.https.html"> | ||
{{RTCCodecStats/payloadType}}, {{RTCCodecStats/codecType}}, | ||
{{RTCCodecStats/payloadType}}, | ||
{{RTCCodecStats/mimeType}}, {{RTCCodecStats/clockRate}}, | ||
{{RTCCodecStats/channels}}, {{RTCCodecStats/sdpFmtpLine}} | ||
</td> | ||
|
@@ -15425,7 +15425,6 @@ <h3> | |
{{RTCReceivedRtpStreamStats/packetsReceived}}, | ||
{{RTCReceivedRtpStreamStats/packetsLost}}, | ||
{{RTCReceivedRtpStreamStats/jitter}}, | ||
{{RTCReceivedRtpStreamStats/packetsDiscarded}}, | ||
{{RTCReceivedRtpStreamStats/framesDropped}} | ||
</td> | ||
</tr> | ||
|
@@ -15435,14 +15434,14 @@ <h3> | |
</td> | ||
<td data-tests= | ||
"RTCPeerConnection-getStats.https.html,RTCPeerConnection-track-stats.https.html,RTCRtpReceiver-getStats.https.html,RTCPeerConnection-mandatory-getStats.https.html"> | ||
{{RTCInboundRtpStreamStats/receiverId}}, | ||
{{RTCInboundRtpStreamStats/remoteId}}, | ||
{{RTCInboundRtpStreamStats/framesDecoded}}, | ||
{{RTCInboundRtpStreamStats/nackCount}}, | ||
{{RTCInboundRtpStreamStats/framesReceived}}, | ||
{{RTCInboundRtpStreamStats/bytesReceived}}, | ||
{{RTCInboundRtpStreamStats/totalAudioEnergy}}, | ||
{{RTCInboundRtpStreamStats/totalSamplesDuration}} | ||
{{RTCInboundRtpStreamStats/packetsDiscarded}}, | ||
</td> | ||
</tr> | ||
<tr> | ||
|
@@ -15475,7 +15474,6 @@ <h3> | |
</td> | ||
<td data-tests= | ||
"RTCPeerConnection-getStats.https.html,RTCPeerConnection-track-stats.https.html,RTCRtpSender-getStats.https.html,RTCPeerConnection-mandatory-getStats.https.html"> | ||
{{RTCOutboundRtpStreamStats/senderId}}, | ||
{{RTCOutboundRtpStreamStats/remoteId}}, | ||
{{RTCOutboundRtpStreamStats/framesEncoded}}, | ||
{{RTCOutboundRtpStreamStats/nackCount}}, | ||
|
@@ -15505,7 +15503,6 @@ <h3> | |
{{RTCReceivedRtpStreamStats/packetsReceived}}, | ||
{{RTCReceivedRtpStreamStats/packetsLost}}, | ||
{{RTCReceivedRtpStreamStats/jitter}}, | ||
{{RTCReceivedRtpStreamStats/packetsDiscarded}}, | ||
{{RTCReceivedRtpStreamStats/framesDropped}} | ||
</td> | ||
</tr> | ||
|
@@ -15620,23 +15617,6 @@ <h3> | |
{{RTCDataChannelStats/bytesReceived}} | ||
</td> | ||
</tr> | ||
<tr> | ||
<th class="row"> | ||
{{RTCStatsType/"sender"}} | ||
</th> | ||
<td rowspan="2"> | ||
{{RTCMediaHandlerStats}} | ||
</td> | ||
<td rowspan="2" data-tests= | ||
"RTCPeerConnection-track-stats.https.html,RTCPeerConnection-mandatory-getStats.https.html"> | ||
{{RTCMediaHandlerStats/trackIdentifier}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. There was a problem hiding this comment. Choose a reason for hiding this commentThe 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? :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will do #2747 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done: #2748 |
||
</td> | ||
</tr> | ||
<tr> | ||
<th class="row"> | ||
{{RTCStatsType/"receiver"}} | ||
</th> | ||
</tr> | ||
<tr> | ||
<th class="row"> | ||
{{RTCStatsType/"transport"}} | ||
|
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.
packetsDiscarded
seems well implemented.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.
It's also still in the stats spec AFAICT
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.
the patch moves it to its new parent
RTCInboundRtpStreamStats
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.
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
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.
Thanks for explaining! LGTM then