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

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