TURN fixes #6

Open
ineiti wants to merge 4 commits from ineiti/lasuite-meet:fix_turn into main
First-time contributor

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
ineiti added 2 commits 2026-05-29 08:48:27 +00:00
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>
ineiti added 1 commit 2026-05-29 08:49:31 +00:00
ineiti added 1 commit 2026-05-29 08:50:42 +00:00
ineiti force-pushed fix_turn from 9cec8fb120 to c3b9909b51 2026-05-29 09:14:56 +00:00 Compare
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u fix_turn:ineiti-fix_turn
git checkout ineiti-fix_turn
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/lasuite-meet#6
No description provided.