Re: [mediacapture-screen-share] Provide a means to select only part of a screen to capture (#105)

> Firefox includes `viewportOffsetX` and `viewportOffsetY`

These are non-spec and should be removed. They originate from a browser-tab sharing experiment Firefox had behind a pref years ago, and worked solely with `applyConstraints` to move which area of a web page (specifically) to capture, independent of end-user scrolling. The idea was to let a viewer, using a data channel, scroll independently from the presenter, with the obvious privacy implications that follow. We have no current plans to revive this effort.

In short, they weren't general purpose pixel croppers, which I agree with @youennf belongs elsewhere.

> Is there a specification which clearly indicates which constraints are capable of being applied to a MediaStreamTrack

Track constraints are source-specific. If the specification of a source does not mention a constraint, then it is not supported for tracks from that source. https://github.com/w3c/mediacapture-main/issues/578 is hoping to clarify this.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/105#issuecomment-490956055 using your GitHub account

Received on Thursday, 9 May 2019 15:39:01 UTC