All Collections
Advanced Customization
Security
How do I stop a session programmatically?
How do I stop a session programmatically?
Here's how to stop an Upscope screen sharing session from Javascript.
Joe avatar
Written by Joe
Updated over a week ago

If you want to give your user the ability of terminating a screen sharing session unilaterally, you can call the following function:

Upscope('stopSession');

The onSessionStop callback will be called regularly.

Did this answer your question?