Re: RTCStatsType value for datachannel stata

> On Jan 5, 2015, at 2:40 PM, Harald Alvestrand <harald@alvestrand.no> wrote:
> 
> 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.
> 

On a related topic to this, I think we should change this from an enum to a string because of the issues where we can't extent an enum in webIDL

Received on Thursday, 15 January 2015 18:54:35 UTC