- A WHIP client sends media to Neralai using the WHIP endpoint
/stream
. - The media is forwarded to
ffmpeg
for processing; HLS files are generated. - Once the stream starts, the playlist file can be accessed by any HLS player from the endpoint
/stream/{resourceId}/hls/stream.m3u8
. - The stream can be stopped with a DELETE call to
/stream/{resourceId}
, as supported by WHIP clients.
Clone the repo and run the command
go run main.go
The server will run on port 8080 by default. Now, open the client/
directory and run it for demo.
Built with 🫶 and