W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > August 2018

Re: [mediacapture-screen-share] Constraints for Captured Display Surfaces should move to MediaTrackSettings

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Mon, 27 Aug 2018 19:25:56 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-416339545-1535397955-sysbot+gh@w3.org>
The [constrainable pattern](https://w3c.github.io/mediacapture-main/getusermedia.html#constrainable-interface) appears to force our hand here. It has no concept of read-only constrainable properties, which I think means that if we want to humor that pattern, we must define these as *constrainable properties* (and ignore/throw `OverconstrainedError` on changes to them), for POLA.

That said, good observation that we're not extending `MediaTrackSettings`, which we should. We need to extend all 4 dictionaries mentioned in the [extensibility section](https://w3c.github.io/mediacapture-main/getusermedia.html#defining-a-new-constrainable-property).

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/66#issuecomment-416339545 using your GitHub account
Received on Monday, 27 August 2018 19:25:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:34 UTC