This is an example app which implements the extension-side of getscreenmedia.
The browser useѕ chrome.runtime.sendMessage to talk to the backend script which calls chooseDesktopMedia and returns the sourceId of the chosen window. This sourceId has to be passed back to getUserMedia.
How to build your own extension
- Download this code
simplewebrtc.comwith your domain in
- If necessary change name and description
- Create a zip file
- Publish in the Chrome Web Store
Running (for testing without packing):