W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2014

Re: Proposal for WebIDL for bundle policy from JSEP

From: Peter Thatcher <pthatcher@google.com>
Date: Mon, 6 Oct 2014 12:00:17 -0700
Message-ID: <CAJrXDUF4_hSVL9Go0kzP1co8h7QnpXEuXiBaZtY9vzsYF42gmg@mail.gmail.com>
To: Jan-Ivar Bruaroey <jib@mozilla.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Good to know.  Thank you.  Unless there are any more objections, I'll
start a pull request for the following:

enum RTCBundlePolicy {
  "balanced",
  "max-compat",
  "max-bundle",
};

dictionary RTCConfiguration {
  // ... iceServers, etc
  DOMString bundlePolicy = "balanced"; // see RTCBundlePolicy
};

On Thu, Oct 2, 2014 at 11:58 AM, Jan-Ivar Bruaroey <jib@mozilla.com> wrote:
> On 10/1/14, 4:35 PM, Peter Thatcher wrote:
>
> enum RTCBundlePolicy {
>   "balanced",
>   "max-compat",
>   "max-bundle",
> }
>
> dictionary RTCConfiguration {
>   // ... iceServers, etc
>   RTCBundlePolicy bundlePolicy = "balanced";
> }
>
>
> If you need to preserve the option of adding enum values in the future then
> you may want:
>
> enum RTCBundlePolicy {
>   "balanced",
>   "max-compat",
>   "max-bundle",
> };
>
> dictionary RTCConfiguration {
>   // ... iceServers, etc
>   DOMString bundlePolicy = "balanced"; // see RTCBundlePolicy
> };
>
> Feel free to complain in Bug 19936 [1].
>
> .: Jan-Ivar :.
>
> [1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=19936
>
Received on Monday, 6 October 2014 19:01:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:42 UTC