How do I hang up a call on a page reload or refresh?

Use the command ‘onbeforeunload’ with native JavaScript listener to look for reload and refresh changes and call the Browser SDK's logout method. This will terminate any ongoing calls. More details about the logout method are available in our Browser SDK reference.

Was this article helpful?
0 out of 0 found this helpful
Didn’t find what you are looking for? Create new ticket