w3c / mediacapture-extensions

Extensions to Media Capture and Streams by the WebRTC Working Group
https://w3c.github.io/mediacapture-extensions/
Other
19 stars 15 forks source link

Add normative steps to getCapabilities() or deprecate it in favor of an async API #15

Closed henbos closed 3 years ago

henbos commented 3 years ago

It seems several interpretations for how to implement getCapabilities() is possible:

  1. Query capabilities on createOffer() and expose them in subsequent getCapabilities() calls.
  2. Like 1) but also do this at setRemoteDescription(offer).
  3. Have getCapabilities() block so that it can return even HW capabilities.
  4. Etc

We need to add normative steps or deprecate it in favor of an async API.

henbos commented 3 years ago

Oops sorry wrong spec I'll move it