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