Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: instructions on how to setup a WHEP stream #58

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Compatible with WebRTC media servers that implements the [WebRTC HTTP Playback P

### `whep`

Compatible with WebRTC media servers that implements the [WebRTC HTTP Egress Protocol](https://www.ietf.org/id/draft-murillo-whep-00.html).
Compatible with WebRTC media servers that implements the [WebRTC HTTP Egress Protocol](https://www.ietf.org/id/draft-murillo-whep-00.html). Instructions on how to generate a WHEP test stream [here](docs/whep-source.md).

### `se.eyevinn.webrtc`

Expand Down
23 changes: 23 additions & 0 deletions docs/whep-source.md
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`