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

Update mandatory to implement stats #1803

Merged
merged 2 commits into from
Jun 14, 2018
Merged

Update mandatory to implement stats #1803

merged 2 commits into from
Jun 14, 2018

Conversation

aboba
Copy link
Contributor

@aboba aboba commented Mar 15, 2018

Rebase of #1782

Fix for Issue #1771


Preview | Diff

Copy link
Contributor

@fluffy fluffy left a comment

Choose a reason for hiding this comment

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

LGTM

@stefhak
Copy link
Contributor

stefhak commented Apr 5, 2018

LGTM.

Copy link
Contributor

@alvestrand alvestrand left a comment

Choose a reason for hiding this comment

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

Found a few issues that need updating. Hope I caught them all.

@@ -9942,14 +9942,14 @@ <h3>Mandatory To Implement Stats</h3>
inherited dictionaries, and also attributes packetsReceived,
Copy link
Contributor

Choose a reason for hiding this comment

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

Above this point: RTCRTPStreamStats mediaType has been renamed to kind
RTCRTPStreamStats.trackId has moved to RTCInboundRtpStreamStats and RTCOutboundRtpStreamStats

RTCReceivedRTPStreamStats doesn't have bytesReceived - it's moved to RTCInboundRtpStreamStats

webrtc.html Outdated
<li>RTCRemoteInboundRTPStreamStats, with all required attributes from
its inherited dictionaries, and also attributes localId,
roundTripTime</li>
<li>RTCSentRTPStreamStats, with all required attributes from its
inherited dictionaries, and also attributes packetsSent, bytesSent</li>
<li>RTCOutboundRTPStreamStats, with all required attributes from its
inherited dictionaries, and also attributes remoteId, framesEncoded</li>
inherited dictionaries, and also attributes senderId, remoteId, framesEncoded</li>
<li>RTCRemoteOutboundRTPStreamStats, with all required attributes from
its inherited dictionaries, and also attributes localId, remoteTimestamp
</li>
Copy link
Contributor

Choose a reason for hiding this comment

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

Below this point: trackIdentifier, remoteSource, ended has moved from RTCMediaStreamTrackStats to RTCMediaHandlerStats. I think we should add "kind" as mandatory to RTCMediaHandlerStats.
frameWidth, frameHeight, framesPerSecond has moved to RTCVideoHandlerStats.
framesSent, has moved to RTCVideoSenderStats.
framesReceiverd, framesDecoded, framesDropped has moved to RTCVideoReceiverStats.
framesCorrupted seems to have disappeared - was it ever defined?
audioLevel has moved to RTCAudioHandlerStats.
RTCIceCaindidatePairStats.priority has been removed from RTCIceCandidatePairStats due to problems representing 64 significant bits in the 53 effective bits of "long long".

I think that's all.

aboba added a commit to w3c/ortc that referenced this pull request Jun 1, 2018
@aboba
Copy link
Contributor Author

aboba commented Jun 1, 2018

@alvestrand Better now?

Copy link
Contributor

@alvestrand alvestrand left a comment

Choose a reason for hiding this comment

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

Looks good now.

@burnburn burnburn merged commit 0c17995 into master Jun 14, 2018
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

6 participants