Skip to content

commshare/livekit-whip-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

livekit-whip-bot

A WHIP tool library for pushing video streams from embedded boards to livekit-server.

Running the examples

git clone https://github.com/cloudwebrtc/livekit-whip-bot
cd livekit-whip-bot

Run WHIP Server

Modify the config.toml file, Replace it with your own livekit server and API key/secret

[livekit]
server = 'http://localhost:7880'
api_key = ""
api_secret = ""
# Run server
go run cmd/one2many/main.go -c config.toml

Run livekit WHIP bot

Install the golang development environment on your Raspberry Pi 3B/4B or zero, and clone this repository to your Raspberry Pi linux system.

# ssh pi@raspberrypi.local
git clone https://github.com/cloudwebrtc/livekit-whip-bot
cd livekit-whip-bot && go mod tidy
go build -o livekit-whip-bot cmd/whip-client-pi/*.go

then publish the whip stream and you should be able to see your pi 📸️ in the livekit room

./livekit-whip-bot --url http://192.168.1.141:8080/whip/publish/live/my-pi-cam

Note: Please replace live with the actual room name of your livekit server, replace 192.168.1.141:8080 with the IP:port of your WHIP server

Screenshots

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 58.6%
  • JavaScript 22.0%
  • HTML 19.4%