SIP.js icon indicating copy to clipboard operation
SIP.js copied to clipboard

Demo applications don't work in Safari 15.1

Open danvirsen opened this issue 4 years ago • 0 comments

Describe the bug The demo applications don't work in Safari 15.1. Connecting to wss://edge.sip.onsip.com works fine, but the connection closes when trying to register. Everything works fine in Chrome.

I know this isn't really a sip.js issue but since I don't know where to report issues with the test server, I created an issue here.

To Reproduce (if possible) Steps to reproduce the behavior:

  1. Clone the repository.
  2. Build the demo applications.
  3. Go to the demo-2 application in Safari 15.1.
  4. Click "Connect" for the user "Alice".
  5. Click "Register User".

Expected behavior The user should be registered, the "Register User" button should be disabled, and the "Initiate Video Session" should be enabled.

Observed behavior An error is shown:

[Alice] Server disconnected.
WebSocket closed wss://edge.sip.onsip.com (code: 1006)

Environment Information

  • edge.sip.onsip.com
  • Safari 15.1

Additional context The demo at https://sipjs.com/ doesn't work either.

FreeSWITCH recently solved what I'm guessing is the same issue with Safari 15.1. It's probably not helpful, but a PR for it can be seen here: https://github.com/freeswitch/sofia-sip/pull/94

danvirsen avatar Nov 26 '21 10:11 danvirsen