Hi,
Just to let you know that Iβm adding websockets connection in mod_janus, module for Freeswitch, to make it easier to connect to audiobridge room. I case anyone is using it
master β mirkobrankovic82:master
opened 07:08PM - 16 Apr 26 UTC
## Summary
Adds optional **WebSocket transport** to `mod_janus` (via SignalWi⦠re `libks` /
`libks2`). HTTP long-poll is unchanged and remains the default; WS is selected
per-server by giving a `ws://` or `wss://` URL in `janus.conf.xml`.
Build auto-detects libks via `pkg-config` β no libks, no behaviour change.
## Highlights
- **Persistent WS** per server with keepalives; `claim` on reconnect instead
of reconnect/recreate churn.
- **New `janus_ws.{c,h}`** β unified RPC (per-txn waiters + cond var) and
an async event pump (`joined` / `accepted` / `trickle` / `webrtcup` /
`answered` / `hangup`).
- **`api_send_request()`** collapses 8 RPCs onto one transport-agnostic
helper.
## Compatibility
- HTTP-only builds (no libks) are byte-for-byte equivalent to pre-PR.
- No config break for HTTP users; new WS keys are optional.
- No public FreeSWITCH API / dialstring / channel-var changes.
Thnaks
1 Like
lorenzo
(Lorenzo Miniero)
April 17, 2026, 7:54am
2
Thatβs great news, Mirko, thanks for sharing it!