Re: Issue 85: Update Stats

I am working on the assumption that 13.1-13.3 (getStats(), RTCStatsReport, and RTCStats) will remain, the enumeration will point to individual sections of webrtc-stats, and that 13.4 will be removed. 

There is still work needed on statistics relating to SVC (particularly for SST-SS where RTCP reporting would not break down loss by layer).  

Here is the proposed text for Section 13.3.2: 

13.3.2 enum RTCStatsType

enum RTCStatsType {
    "inboundrtp",
    "outboundrtp",
    "session",
    "track",
    "transport",
    "candidatepair",
    "localcandidate",
    "remotecandidate"
};

inboundrtp	
Statistics for the inbound RTP stream that is currently received with this RTCRtpReceiver object. It is accessed by the RTCInboundRTPStreamStats, defined in [WEBRTC-STATS] Section 5.3.3. .

outboundrtp	
Statistics for the outbound RTP stream that is currently sent with this RTCRtpSender object. It is accessed by the RTCOutboundRTPStreamStats, defined in [WEBRTC-STATS] Section 5.3.4. .

session	
Statistics relating to the RTCDataChannel object.  It is accessed by the RTCPeerConnectionStats, defined in [WEBRTC-STATS] Section 5.4 and RTCDataChannelStats defined in [WEBRTC-STATS]. 
[BA] It is a bit odd for ORTC API to reference RTCPeerConnectionStats for statistics on opened/closed data channels. 

track	
Track statistics.  It is accessed by RTCMediaStreamTrackStats, defined in [WEBRTC-STATS] Section 5.5.2. 

transport	
Transport statistics related to the RTCDtlsTransport object.  It is accessed by RTCTransportStats, defined in [WEBRTC-STATS] Section 5.7 and RTCCertificateStats, defined in [WEBRTC-STATS] Section 5.10. 

candidatepair	
ICE candidate pair statistics related to the RTCIceTransport objects. It is accessed by RTCIceCandidatePairStats, defined in [WEBRTC-STATS] Section 5.9. 

localcandidate	
ICE local candidate statistics related to RTCTransport objects.   It is accessed by RTCIceCandidateAttributes, defined in [WEBRTC-STATS] Section 5.8. 

remotecandidate	
ICE remote candidate statistics.  It is accessed by RTCIceCandidateAttributes, defined in [WEBRTC-STATS] Section 5.8. 
[BA]  Is the right object for statistics on remote candidates?

Received on Sunday, 12 October 2014 01:43:22 UTC