-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Implement PeerConnection GetStats API #610
Comments
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
Definitions from https://www.w3.org/TR/webrtc/#dom-rtcstats Related to #610
any updates? |
I got pulled away to another project so I'm not working on this currently, unfortunately. If you want to take a stab at wiring up some of the structs I'd be happy to do a code review. |
Work has started on this. Thank you @hugoArregui! Only Here's the commit adding GetStats: 9326196 |
Add an API to get basic stats around rtpsender. Relates to #610
Add an API to get basic stats around certificate Relates to #610
Add an API to get basic stats around certificate Relates to #610
Add an API to get basic stats around certificate Relates to #610
Add an API to get basic stats around certificate Relates to #610
Add an API to get basic stats around certificate Relates to #610
Add an API to get basic stats around media. Relates to #610
Add an API to get basic stats around media. Relates to #610 mend
Add an API to get basic stats around media. Relates to #610 mend
Add an API to get basic stats around rtpsender. Add an API to get basic stats around rtpreceiver Relates to #610
Add an API to get basic stats around rtpsender. Add an API to get basic stats around rtpreceiver Relates to #610
Add an API to get basic stats around rtpsender. Add an API to get basic stats around rtpreceiver Relates to #610
Add an API to get basic stats around rtpsender. Add an API to get basic stats around rtpreceiver Relates to #610
Relates to #610 stats around outboundrtpstreamstats Description Reference issue Fixes #...
Relates to #610 Description Reference issue Fixes #...
Relates to #610 Description Reference issue Fixes #...
Relates to #610 Description Reference issue Fixes #...
Added stats to support inboundrtpstreamstats added helper function and test for atomicuint Relates to #610 Description Reference issue Fixes #...
Added stats to support inboundrtpstreamstats added helper function and test for atomicuint Relates to #610 Description Reference issue Fixes #...
Hi, is there any plan to work on this ticket? |
I think this is a task that will never be done. It can always be better. I am resolving since we don't have anything actionable out of this. |
After all, this feature won't be implemented right? not even in long future? |
@juniorsaldanha GetStats is available. Do you have a value in particular you are missing? |
Summary
Add support for the PeerConnection GetStats method, conforming to the dom-rtcstats spec.
Motivation
Exposing this API makes it easier to debug connection problems by exposing statistics on lower-level components of the API. Using this standard format will allow our implementation to be interoperable with stats analysis tooling created for the browser's getStats method.
Mandatory Stats
An implementation MUST support generating statistics of the following types when the corresponding objects exist on a PeerConnection, with the attributes that are listed when they are valid for that object:
RTCRTPStreamStats
RTCReceivedRTPStreamStats
RTCInboundRTPStreamStats
RTCRemoteInboundRTPStreamStats
RTCSentRTPStreamStats
RTCOutboundRTPStreamStats
RTCRemoteOutboundRTPStreamStats
RTCPeerConnectionStats
RTCDataChannelStats
RTCMediaStreamStats
RTCMediaStreamTrackStats
RTCMediaHandlerStats
RTCAudioHandlerStats
RTCVideoHandlerStats
RTCVideoSenderStats
RTCVideoReceiverStats
RTCCodecStats
RTCTransportStats
RTCIceCandidatePairStats
RTCIceCandidateStats
RTCCertificateStats
Missing attributes on implemented stats
The fields are there, but they are not actually properly loaded
RTCICECandidatePairStats
RTCIceCandidateStats
The text was updated successfully, but these errors were encountered: