W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2018

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

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Oct 2018 17:55:27 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-368781496-1539194125-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:07 UTC