RTCStatsType value for datachannel stata

The current RTCStatsType is defined like this:

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

There are no values for the datachannel stats.

To make this symmetric with RTP, I suggest we add "inbounddata" and "outbounddata".

--
 Surveillance is pervasive. Go Dark.

Received on Monday, 5 January 2015 21:41:26 UTC