Calling client.leave() to end session is not triggering the client connection-change event

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:

  1. client.join() success !
  2. client.on('connection-change') fires event with state of Connected success!
  3. 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)

Hey @jremi ,

Thanks for reporting this issue. We are taking a look. (CS-3210)

-Tommy

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Hey @jremi ,

This was fixed in the latest 1.0.3 release. Details here:

Please download the latest version from the marketplace to get the updates. :slight_smile:

Thanks,
Tommy