W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2015

Re: RTCStatsType value for datachannel stata

From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 15 Jan 2015 15:15:39 -0800
Message-ID: <CABkgnnW0_1Wvphvd0wQKgJsv5FK9NWwdshiy9GyhSiBXr_YOHA@mail.gmail.com>
To: Jan-Ivar Bruaroey <jib@mozilla.com>
Cc: "Cullen Jennings (fluffy)" <fluffy@cisco.com>, Harald Tveit Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On 15 January 2015 at 13:06, Jan-Ivar Bruaroey <jib@mozilla.com> wrote:
> On 1/15/15 1:54 PM, Cullen Jennings (fluffy) wrote:
>> 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
> I believe we're only in trouble if we take RTCStatsType as input somewhere,
> I don't think we do.

Yes.  The hack for constraints was necessary to allow applications to
provide input values that the browser wasn't ready for yet in specific
contexts.  There, we didn't want the browser to fail immediately
because the values there are sort-of-guidelines.  RTCStatsType is pure
output, so no issue there.
Received on Thursday, 15 January 2015 23:16:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:03 UTC