Skip to content

Commit

Permalink
chore: instructions on how to setup a WHEP stream
Browse files Browse the repository at this point in the history
  • Loading branch information
birme committed Aug 21, 2023
1 parent 0862243 commit 1271406
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
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`

0 comments on commit 1271406

Please sign in to comment.