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: Emircan Uysaler via GitHub <sysbot+gh@w3.org>
Date: Wed, 29 Aug 2018 22:30:32 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-417128064-1535581831-sysbot+gh@w3.org>
Thanks for the clarification. Considering #62 as well, I think defining these properties as partial dictionary on all 4 dictionaries as you suggested earlier makes more sense now.  
- getSettings() and getCapabilities() should return the properties of MediaStreamTrack user selected. Note that there wouldn't really be a range on getCapabilities() elements. i.e., `{displaySurface: monitor}`. 
- getSupportedConstraints() result should include these properties.
- getConstraints() should return the only the constraints that user actually set on these properties. i.e. `track.applyConstraints({logicalSurface: true})` should return `{logicalSurface: true}` whereas `track.applyConstraints({})` should be empty. This way we wouldn't have any exceptional case for 

GitHub Notification of comment by uysalere
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/66#issuecomment-417128064 using your GitHub account
Received on Wednesday, 29 August 2018 22:30:33 UTC

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