2 ms·
For anyone wanting to roll this themselves, it's actually quite easy with Chrome media capture these days. Just make a Chrome extension with desktopCapture perm
by kodablah 9y ago
For anyone wanting to roll this themselves, it's actually quite easy with Chrome media capture these days. Just make a Chrome extension with desktopCapture permissions, follow the example codes to do things like chooseDesktopMedia and webkitGetUserMedia and let them choose the desktop (or tab). You can do what you want w/ the media stream after that (like capture to blobs which you can send around, or send over WebRTC or whatever).
I have even successfully captured a tab to video [0]
0 - https://github.com/cretz/chrome-screen-rec-poc/tree/master/attempt1 https://github.com/cretz/chrome-screen-rec-poc/tree/master/a...
Edit: I should say screen capture, screen sharing is a different deal of course.
- faitswulff 9y agoDoes this cover letting your screenshare partner take control of your computer?
- kodablah 9y agoGot my edit in just as you typed this, heh, no it doesn't. But I doubt capturing keyboard and mouse and sending it would be that difficult. Granted at that point I would opt for an OS native approach.
- richardgill88 9y agoSo I think the performance of this API (particularly on Mac) is one of the core problems other people are talking about on this thread. Slack, Hangouts, Appear.in all use it and on Mac in particular it seems to use alot of CPU.