Skip to content

Commit

Permalink
chore: exampel doc
Browse files Browse the repository at this point in the history
  • Loading branch information
birme committed Jul 11, 2024
1 parent 1ccd54e commit e12b4d8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ Live transcoding to HLS and optionally MPEG-DASH. Provides origin for CDN shield
| `STREAM_KEY` | RTMP streamkey | `stream` |
| `OUTPUT_URL` | URL to upload media segments and playlists. If not set push to CDN is disabled | |


### CDN Pull

Run encoder with media dir at `/data`

```
Expand Down Expand Up @@ -80,6 +83,16 @@ Top stop the encoder:
-H 'accept: application/json'
```

### CDN Push (AWS Media Package)

Run encoder with media dir at `/data`

```
% ORIGIN_DIR=/data \
OUTPUT_URL=https://<username>>:<password>@xxxxx.mediapackage.xxxx.amazonaws.com/in/v2/e82a0fc53d4b44ec89ac1a1fccd3a333/e82a0fc53d4b44ec89ac1a1fccd3a333/channel \
npm start
```

### Docker

Run Eyevinn live encoding as a Docker container where `/tmp/media` is a directory on your host.
Expand Down

0 comments on commit e12b4d8

Please sign in to comment.