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

Have a common template for MediaStreamTrack constraints #66

Open youennf opened 2 years ago

youennf commented 2 years ago

background blur and powerEfficientPixelFormat new constraints are not written in the same way. We should probably converge on a single template and use consistently for both (as well as future new constraints like voiceIsolation).

alvestrand commented 2 years ago

The lack of a template mechanism in WebIDL was a source of much teeth-gnashing while we were designing constraints!