Skip to content

CarlosHleb/ziti-livekit-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ziti-livekit-example

This is a working example of livekit runing behind openziti(turn UDP, other scenarios not zitified). zitified livekit sdk. publisher publishes videostream(a red triangle) to a room and subscriber container receives that stream.

To use zitified livekit sdk, check out the code in publisher and subscriber directories.

Run

./init.sh
docker compose pull
docker compose build
docker compose up

wait till everything initializes(should see error of publisher-app/subscriber-app about missing configs)

Open another terminal windows

./install.sh

After this there should be admin1 identity in ./store/admin1.json, add it to your local ziti tunneler(linux):

docker compose cp ziti-edge-router:/persistent/admin1.json /opt/openziti/etc/identities
sudo systemctl restart ziti-edge-tunnel.service

Now go back to first terminal, Ctrl+C and then run docker compose up again. if you have a running tuneler on your host with admin1 identity added, you should see publisher-app and subscriber-app sending and receiving udp packets in logs.

If you encounter any issues, try restart publisher-app/subscriber-app containers.

uninstall

./uninstall.sh

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors