e.barskov bd1a95cac5 fix(jitsi): re-allocate Jicofo focus on reconnect (non-blocking)
The lightweight soft-rejoin path (jSess.Rejoin) skips Jicofo focus
allocation and joins the MUC with a bare presence. After the client
leaves and Jicofo idle-terminates the now-empty conference
(session-terminate <expired/>), the room/focus is torn down. A bare
rejoin presence is then rejected by Prosody with
<presence type='error'><not-allowed/>, and the library's JoinMUC matches
a stale status-110 left in its stanza buffer and falsely reports success.
The engine then waits forever for a session-initiate that never arrives
while actually being outside the room, so the client can never reconnect.

Re-establish the session from scratch via j.JoinMUC instead, which runs
dial -> focus allocation -> MUC join in the correct order (focus first,
so Jicofo recreates the room), exactly like the initial Connect, but
WITHOUT blocking on session-initiate. The fresh session-initiate is
awaited separately via WaitJingleReinitiate once a peer rejoins, so the
non-blocking reconnect contract is preserved.

Verified on a live deployment: two consecutive reconnect cycles now
complete (bridge open sctp -> reconnected -> session opened) where the
old path hung after "waiting for session-initiate".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 00:36:25 +04:00
2026-05-28 13:18:59 +03:00
2026-05-04 00:02:20 +03:00
2026-05-28 02:58:12 +03:00

Westand

License Golang

About

olcRTC - across the sea

Project that bypass blocking by parasitizing on whitelisted services in Russia, use legal meet services

Status

Beta
See all info in docs
Issues? contact us at @openlibrecommunity or make an issue
Community ui client: alananisimov/olcbox

Read docs for start

Configuration

For noobs

Manual

Setting matrix

More info

Docker setup

Client URI format

Client subscription format

More

Encrypted TCP-over-WebRTC tunnel. Traffic is disguised as a regular video call on whitelisted services (Jitsi, Yandex Telemost, WbStream, More). Inside - XChaCha20-Poly1305 encryption + smux multiplexing over WebRTC data/video channels.

Supported providers: jitsi - telemost - wbstream

Transports: datachannel - vp8channel - seichannel - videochannel

Platforms: Linux, macOS, Windows, Android (gomobile), Docker, embeddable Go library

app -> SOCKS5 -> olcrtc cnc -> WebRTC/SFU service -> olcrtc srv -> internet

Telegram: zarazaex
Email: zarazaex@tuta.io
Site: zarazaex.xyz

Description
No description provided
Readme WTFPL 106 MiB
Languages
Go 90.3%
Python 6.1%
Shell 3.4%
Dockerfile 0.2%