RTCMultiConnection Docs

RTCMultiConnection API Reference / "pausePartOfScreenSharing" method

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

// or, stop part of screen between two users
connection.peers['target-userid'].pausePartOfScreenSharing = 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