RTCMultiConnection Docs

RTCMultiConnection API Reference / "stopPartOfScreenSharing" method

"stopPartOfScreenSharing" method can be used to stop "screenshots" sharing.
// stop part of screen between all users
connection.stopPartOfScreenSharing();

// or, stop part of screen between two users
connection.peers['target-userid'].stopPartOfScreenSharing = true;

Relevant WebRTC Experiments!

  1. https://github.com/muaz-khan/WebRTC-Experiment/tree/master/part-of-screen-sharing
  2. https://www.webrtc-experiment.com/RTCMultiConnection/RTCMultiConnection.sharePartOfScreen.html

Want to ask a Question?

You can include your email for private conversation!

Latest Updates