Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eyevinn/docker-wrtc-origin
https://github.com/eyevinn/docker-wrtc-origin
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eyevinn/docker-wrtc-origin
- Owner: Eyevinn
- Created: 2022-08-31T15:28:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-29T12:48:24.000Z (almost 2 years ago)
- Last Synced: 2024-11-08T03:36:37.837Z (7 days ago)
- Language: JavaScript
- Size: 168 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-wrtc-origin
Docker container of a WHIP endpoint based on `@eyevinn/whip-endpoint` library.
Example docker-compose file:
```
version: "3.7"services:
sfu:
image: eyevinntechnology/wrtc-sfu:v0.3.0
network_mode: "host"
cap_add:
- SYS_NICE
ulimits:
rtprio: 99
environment:
- HTTP_PORT=8280
- API_KEY=example
ingest:
image: eyevinntechnology/wrtc-origin:latest
depends_on:
- sfu
network_mode: "host"
environment:
- PORT=8080
- EXT_PORT=8080
- ORIGIN_SFU_URL=http://localhost:8280/conferences/
- SFU_API_KEY=example
- EDGE_LIST_CONFIG=/etc/edge-list-config.json
volumes:
- ./edge-list-config.json:/etc/edge-list-config.json
```## Configuration
Default configuration can be changed by setting these environment variables:
- `PORT`
- `EXT_PORT`
- `HOSTNAME`
- `USE_HTTPS`
- `ORIGIN_SFU_URL` : Url to SFU management API
- `SFU_API_KEY` : API-Key for SFU management API
- `EDGE_LIST_CONFIG` : path to a JSON file containing a list of edgesExample of edge list configuration json.
```
[
{
"sfuApiUrl": "http://sfu-edgeA:8380/conferences/",
"egressApiUrl": "http://egressA:8300/api"
}
]
```