RTCOutboundRTPStreamStats[1] added.

This also adds RTCRTPStreamStats[2] which it derives from. Not all stats
are supported in this CL, this must be addressed before closing the
issue.

RTCStatsReport also gets a timestamp and ToString.

[1] https://w3c.github.io/webrtc-stats/#outboundrtpstats-dict*
[2] https://w3c.github.io/webrtc-stats/#streamstats-dict*

BUG=chromium:627816, chromium:657856, chromium:657854

Review-Url: https://codereview.webrtc.org/2456463002
Cr-Commit-Position: refs/heads/master@{#14860}
This commit is contained in:
hbos
2016-10-31 14:48:26 -07:00
committed by Commit bot
parent bb9212a33e
commit 69e9cb0828
10 changed files with 472 additions and 20 deletions

View File

@ -71,8 +71,8 @@ class RTCStats {
bool operator==(const RTCStats& other) const;
bool operator!=(const RTCStats& other) const;
// Creates a human readable string representation of the report, listing all
// of its members (names and values).
// Creates a human readable string representation of the stats object, listing
// all of its members (names and values).
std::string ToString() const;
// Downcasts the stats object to an |RTCStats| subclass |T|. DCHECKs that the