square-flag-66304
09/19/2025, 11:47 AMtall-airline-16756
09/19/2025, 11:48 AMtall-airline-16756
09/19/2025, 11:48 AMsquare-flag-66304
09/19/2025, 11:49 AMtall-airline-16756
09/19/2025, 11:50 AMsipgo library, which nicely includes support for WebSocket transport through the WSTransport and WSSTransport types.
Here’s a simple way to enable WebSocket transport:
• First, configure your SIP server to listen on a TCP network interface.
• Then, use the ServeWS method if you want WebSocket, or ServeWSS if you prefer secured WebSocket (WSS).
• If you're going with WSS, you'll just need to provide TLS certificates and set up the listener using a tls.Config.
By default, the WebSocket settings aren’t directly exposed, but you can definitely tweak the server code or your integration to get those WebSocket listeners up and running. If you’d like, I’m here to help with more details on how to implement this—just let me know!
Sources: server.go | pkg/config/config.go | Self-hosted SIP server | LiveKit Docssquare-flag-66304
09/19/2025, 11:53 AMtall-airline-16756
09/19/2025, 11:54 AM