Company
Date Published
Author
Phil Nash
Word count
982
Language
English
Hacker News points
None

Summary

The latest version of Microsoft Edge supports screen capture, allowing developers to access a user's screen stream without the need for extensions or manual configuration. This feature is part of the EdgeHTML engine version 17 and follows the proposed W3C spec for screen capture. To use this feature, developers can call the `getDisplayMedia` function, which returns a promise that resolves with a stream of the screen. The user is prompted to choose whether to display their application or desktop, making it easier than other browsers' approaches. Edge requires serving the HTML file on HTTPS to access this API, and ngrok can be used to sidestep self-signed certificate issues.