mirror of
https://github.com/livekit/livekit.git
synced 2026-05-25 14:15:15 +00:00
bd667cfe39b9b739ddb72d1742731932d48f9a5a
livekit-server
Building
Ensure Go 1.14+ is installed, and GOPATH/bin is in your PATH.
Run `make proto && make
CLI
A CLI is provided to make debugging & testing easier. One of the utilities is the ability to publish tracks from static files.
To use the publish client, download the following files to your computer:
- happier.ivf - audio track in VP8
- happier.ogg - audio track in ogg
To run a peer publishing to a room, do the following:
-
Ensure server is running in dev mode
./bin/livekit-server --dev -
Create a room
./bin/livekit-cli create-room --room-id hello -
Join room as publishing client
./ bin/livekit-cli join --room-id hello --audio <path/to/ogg> --video <path/to/ivf>
That's it, join the room with another peer id and see it receiving those tracks
Description
Languages
Go
99.8%
Shell
0.1%