Skip to content

Conversation

@himanshujjp
Copy link

Changes:

  • Updated WebSocket initialization to use sip.toJS on web for proper JavaScript compatibility.

  • Modified _handleHangup to differentiate behavior by platform:

    • Web: calls session.terminate()

    • Other platforms: calls hangup()

Why:

These changes prevent runtime errors on web and ensure that calls are properly terminated across all platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant