Shared publicly  - 
 
Just added a simple demo: Screen sharing & cropping:

https://www.webrtc-experiment.com/RTCMultiConnection/cropped-screen-sharing.html

1. Data+Screen connection is opened using RTCMultiConnection and Screen is shared in one-way.

2. Initiator i.e. moderator can modify X-Y and Width-Height coordinates and click "update" button. It'll crop his screen for all remote users.

3. Each screen-moderator is given a unique URL. You'll see that <h1> is updated as soon as you share your screen. You can copy the URL and open in other windows.

BTW, there is an old similar demo: Share Part of Screen without cropping it (https://www.webrtc-experiment.com/RTCMultiConnection/RTCMultiConnection.sharePartOfScreen.html). This demo is based on html2canvas.js library (https://github.com/muaz-khan/WebRTC-Experiment/tree/master/part-of-screen-sharing).
2
3
Vittorio Teglia's profile photo
Add a comment...