Description
Calling client.leave() to end session is not triggering the client connection-change event
Error
After I am already connected and I then attempt to call client.leave()
I get the following logs in the browser console:
cancelConsume interval null requestID null
WebSocket is already in CLOSING or CLOSED state. index.umd.js:1
WebSocket is already in CLOSING or CLOSED state. index.umd.js:1
WebSocket is already in CLOSING or CLOSED state. index.umd.js:1
WebSocket is already in CLOSING or CLOSED state. index.umd.js:1
Which Web Video SDK version?
zoom-instant-sdk-web-1.0.2
To Reproduce(If applicable)
Steps to reproduce the behavior:
-
client.join()
success ! -
client.on('connection-change')
fires event withstate
ofConnected
success! -
client.leave()
// Did it actually leave and end session? Never getting connection-change event
Device (please complete the following information):
- Device: MacBook Pro (15-inch, 2019)
- OS: MacOS Catalina 10.15.6
- Browser: Chrome
- Browser Version: 88.0.4324.192 (Official Build) (x86_64)