Re: Proposal for WebIDL for bundle policy from JSEP

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