docker run --rm -it -v$PWD:/output livekit/generate
select: both egress and ingress
enter your chosen hostname from picture one example: Livekit.esunus.com
Don't need turn domain, just put turn.cloudflare.com
for rest of options just select default by pressing enter button
select:
startup shell script
save your information:
example of information:
Server URL: wss://livekit.esunus.com
RTMP Ingress URL: rtmp://livekit.esunus.com/x
API Key: APIMdssdfdsfsdeEr
API Secret: RRR5EcXV1JKFV5kfEvEQgisvzFM7XpelVvzkwIohpULsA
Here's a test token generated with your keys:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVC J9.eyJleHAiOjE3NzM3NDU5NjUsImlzcyI6IkFQSU1kUGZNREFFbXo4ZCIsIm5hbWUiOiJUZXN0IFVzZ XIiLCJuYmYiOjE3Mzc3NDU5NjUsInN1YiI6InRlc3QtdXNlciIsInZpZGVvIjp7InJvb20iOiJteS1ma XJzdC1yb29tIiwicm9vbUpvaW4iOnRydWV9fQ.YmgdX00dJLmVh1UiA5TBHQSMQjuN0ABJPy8PK0C-uR 0
An access token identifies the participant as well as the room it's connecting t
check directory using ls
you will see your chosen name "Livekit.esunus.com"
enter this cd
Livekit.esunus.com
edit file init_script.sh
nano init_script.sh
(check image above) delete the lines that are in the box in picture 3
the following lines need to be deleted:
# Docker & Docker Compose will need to be installed on the machine curl -fsSL https://get.docker.com -o /tmp/get-docker.sh sh /tmp/get-docker.sh curl -L "https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose chmod 755 /usr/local/bin/docker-compose
sudo systemctl enable docker
you can go to the top line # Docker & Docker Compose will need to be installed on the machine