[mediacapture-screen-share] Should getDisplayMedia be moved to navigator.mediaDevices

youennf has just created a new issue for https://github.com/w3c/mediacapture-screen-share:

== Should getDisplayMedia be moved to navigator.mediaDevices ==
Currently getDisplayMedia is exposed in navigator.
It is more consistent to have getDisplayMedia be part of navigator.mediaDevices.

One potential issue is that Edge shipped already navigator.mediaDevices.

There are some ongoing changes to getDisplayMedia, for instance:
- New handling of constraints
- SecureContext
More changes might come as we make progress.

Given all of this, it might be ok to move it to navigator.mediaDevices.
Some advantages:
- More consistent
- We could envision making mediaDevices SecureContext and would not need to special case getDisplayMedia.


Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/82 using your GitHub account

Received on Wednesday, 10 October 2018 17:55:33 UTC