Re: [w3ctag/design-reviews] WebRTC-SVC (Scalable Video Coding) (#396)

> Implementations throw if they encounter values of scalabilityMode that they don't support (even if they are valid values).

This is fine, the curiosity was around the choice of a string over an enum, because it seems like the intent is to use a value from a predefined set, which is exactly what a string enum is for.

Is there something in this use case that was not possible with a string enum? (In which case, it might be something that should be addressed in WebIDL.)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/396#issuecomment-698708217

Received on Friday, 25 September 2020 04:06:48 UTC