Live engine important stuffs

 

How to configure reconnection timeout in LiveKit server?

  1. Use environment variable:

Set the environment variable LIVEKIT_PARTICIPANT_RECONNECTION_TIMEOUT in your docker-compose file or Docker environment:

services:
  livekit:
    image: livekit/livekit-server
    environment:
      - LIVEKIT_PARTICIPANT_RECONNECTION_TIMEOUT=120s # default is 15 seconds

    # other config


To apply changes:

cd /opt/livekit/ #Must go into this directory 

docker-compose up -d --force-recreate livekit

To Verify:
docker exec -it $(docker ps -qf "name=livekit") printenv | grep LIVEKIT_PARTICIPANT_RECONNECTION_TIMEOUT



Comments

Popular posts from this blog

Generate SHA-1 and SHA-256 for Debug and Release android app

How to Import and Export MySQL Database Command line in Linux