You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that getCapabilities(kind) will return null if kind is unsupported, rather than throwing a TypeError. This seems preferable, because kind can be extended by other specifications. For example, we cannot say that kind needs to be "audio" or "video" because https://www.w3.org/TR/mediacapture-depth/ defines the "depth" kind, and therefore getCapabilities("depth") might return capabilities in some implementations.
Currently the behavior for invalid kind is undefined.
The text was updated successfully, but these errors were encountered: