Summary: Firefox has long supported screen capture through a proprietary
non-standard extension of getUserMedia(). We intend to implement the
standard getDisplayMedia() API, and eventually remove the old
non-standard API. This exposes existing functionality in a standard way.
Bug: https://bugzil.la/1321221
Link to standard: https://w3c.github.io/mediacapture-screen-share/
Platform coverage: Desktop
Estimated or target release: 64 or 65.
Preference behind which this will be implemented: None
Enabled by default in sandboxed iframes? No, see https://bugzil.la/1367805
DevTools bug: N/A
Do other browser engines implement this?
• Edge: Yes [1]
• Chrome Canary: Behind pref [2]
• Safari TP: behind pref [3]
• Firefox: Only through shim (either fullscreen or windows) [4]
• Chrome: Only through shim and plugin [4]
web-platform-tests:
Incomplete.
https://github.com/web-platform-tests/wpt/tree/master/screen-capture
Is this feature restricted to secure contexts?
Yes, pending https://github.com/w3c/mediacapture-screen-share/issues/77
How stable is the spec: Basic functionality and names are stable.
Security & Privacy Concerns: Same as today. [5]
UI work: None/Minimal.
We plan to add full-screen choice to window list & drop
application-sharing for now. https://bugzil.la/1481390
Example: https://jsfiddle.net/jib1/q75yb8pf/
[1]
https://blogs.windows.com/msedgedev/2018/05/02/bringing-screen-capture-to-microsoft-edge-media-capture-api/
[2]
https://groups.google.com/a/chromium.org/d/msg/blink-dev/j7k2nI_9nng/OE6IvgJyAQAJ
[3] https://bugs.webkit.org/show_bug.cgi?id=186294
[4]
https://blog.mozilla.org/webrtc/getdisplaymedia-now-available-in-adapter-js/
[5]
https://blog.mozilla.org/webrtc/share-browser-windows-entire-screen-sites-trust/
.: Jan-Ivar :.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform