This PR includes two fixes related to setting up the connections:
the TURN_DOMAIN setting in compose.yml, because default variable replacement is not supported in compose.yml
mention how to increase the UDP input buffers for livekit
mention chrome on mobile
This PR includes two fixes related to setting up the connections:
- the TURN_DOMAIN setting in `compose.yml`, because default variable replacement is not supported in compose.yml
- mention how to increase the UDP input buffers for livekit
- mention chrome on mobile
docker-compose does not recursively expand nested `${...}` in `:-`
defaults, so `TURN_DOMAIN=${TURN_DOMAIN:-${LIVEKIT_DOMAIN}}` leaked the
literal string `${LIVEKIT_DOMAIN}` into the container, breaking TURN
and WebRTC connectivity. Set the default in .env.sample where abra
shell-expands it before docker-compose sees it.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
LiveKit's startup warning about UDP receive buffer being too small
(default 212992 bytes vs suggested 5000000) is easy to overlook, but
under load — especially when many clients are forced through the TURN
relay — it causes dtls timeouts on publisher transports and asymmetric
black-tile / no-media symptoms. The fix has to be on the host because
net.core.rmem_max / wmem_max are read when LiveKit opens its UDP sockets
and can't be raised from inside the container.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR includes two fixes related to setting up the connections:
compose.yml, because default variable replacement is not supported in compose.ymldocker-compose does not recursively expand nested `${...}` in `:-` defaults, so `TURN_DOMAIN=${TURN_DOMAIN:-${LIVEKIT_DOMAIN}}` leaked the literal string `${LIVEKIT_DOMAIN}` into the container, breaking TURN and WebRTC connectivity. Set the default in .env.sample where abra shell-expands it before docker-compose sees it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>9cec8fb120toc3b9909b51looks good @ineiti ! thanks for the fix and docs. merging now.