-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: instructions on how to setup a WHEP stream
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# WHEP test source | ||
|
||
Example on how to generate a local WHEP test source. | ||
|
||
First download and install the application `srt-whep`: | ||
|
||
``` | ||
cargo install srt_whep | ||
``` | ||
|
||
Generate an SRT test stream: | ||
|
||
``` | ||
docker run --rm --name=testsrc -d -p 5678:1234/udp eyevinntechnology/testsrc | ||
``` | ||
|
||
Run `srt-whep` to provide a WHEP version of the SRT stream | ||
|
||
``` | ||
srt-whep -i 127.0.0.1:5678 -o 0.0.0.0:8888 -p 8000 -s caller | ||
``` | ||
|
||
Then a local WHEP test source is available at `http://localhost:8000/channel` |