Error websocket on Safari, keeps reconnecting

Description
On Safari cannot leave the session. Nor by explicit “client.leave” neither after a timeout.

Browser Console Error

Which Web Video SDK version?
1.2.3

Video SDK Code Snippets
await this.client.leave(this.client.isHost());

To Reproduce(If applicable)

  1. Join the session.
  2. Try to leave by calling client.leave().
  3. Get the error of the websocket that leads to immediate reconnection.
  4. Impossible ever to leave the session. Keeps on reconnecting.

Device (please complete the following information):

  • Device: Macbook Air
  • OS: macOS Monterey 12.2.1
  • Browser: Safari
  • Browser Version: 15.3 (17612.4.9.1.8)

Hey @ol_mas

Thanks for your feedback.

It seems the issue comes from a known bug in the WebKit. When the WebSocket is closed, the WebKit throws The operation couldn't be completed error. Then it enters the failover flow and rejoins the session.

We will add protection for this issue in the next release. Please stay tuned.

Thanks
Vic

Thanks! I wonder why it happens only in Safari…

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