mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-06-01 22:18:52 +02:00
82e80673846190af14536d1a0cba4f266efa6890
When bringUpLink errored — a handshake timeout against a wedged transport, for instance — Run/RunWithReady returned straight to the caller without calling shutdown, so the carrier link that had already joined the MUC was never closed. The result was a ghost participant lingering on Jicofo/JVB until idle timeout, which the next test in the same room inherited as stale endpoints in 'bridge open'. The clue from logs was that failing seichannel runs produced one 'leave-muc handshake ok' instead of two: the server's normal ctx-cancel path got there cleanly, but the client's bringUpLink returned early and skipped its defer. Both paths now register shutdown before the bringUpLink call. shutdown is nil-safe and idempotent so it works whether or not bringUpLink actually populated link/session fields. server's wg.Wait moves into the same defer so wg goroutines spawned by partial setup also drain before Run returns.
About
olcRTC - across the sea
Project that allows users to bypass blocking by parasitizing and tunneling on unblocked and whitelisted services in Russia, use legal webRTC services
Status
Beta
See all info in issues
Issues? contact us at @openlibrecommunity
Or wait for the release or at least a release
Community ui client: alananisimov/olcbox
Read docs for start
Build
# install mage first
go install github.com/magefile/mage@latest
# build cli + ui
mage build
# build cli only
mage buildCLI
# build cli with b codec, clones b repo, builds libb.so, compiles with -tags b
mage buildCLIB
# cross-compile for linux / windows / darwin
mage cross
# android aar via gomobile
mage mobile
# container image
mage podman
mage docker
# lint / test / clean
mage lint
mage test
mage clean
Telegram: zarazaex
Email: zarazaex@tuta.io
Site: zarazaex.xyz
Made for: olcNG
Languages
Go
90.3%
Python
6.1%
Shell
3.4%
Dockerfile
0.2%
