Re: [mediacapture-screen-share] Separate getDisplayMedia() algorithm; reintroduce constraints.

Some explanation of this PR:

After deliberating with other editors, I gave up trying to preserve the call to the `getUserMedia` algorithm. A growing number of differences made it hard to deduce exactly what to implement. The lower-level algorithm calls are intact.

I also added Privacy Indicator Requirements, since these were only implied before, and with the explicit call to `getUserMedia` gone, I wanted to make sure we didn't lose them.

Finally, the content changes:
 * constraints are supported by `getDisplayMedia` again, with these caveats:
    * Using `advanced`, `min` or `exact` constraints gives `TypeError`.
    * Added note on reason for allowing `max` constraint.
 * Use the right permission algorithm (**prompt the user to choose**)
 * Disallow persisting "granted" permissions only. 
 * Proposes "screen" as permission descriptor name (do we prefer "display"?)


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

Received on Monday, 27 August 2018 18:53:29 UTC