provide example rtmp server

This commit is contained in:
deflax 2021-10-10 13:39:39 +00:00
parent fc5f2ac8b6
commit a1260602df
2 changed files with 23 additions and 1 deletions

View file

@ -1 +1,9 @@
# vod-rtmp
# vod-rtmp
## How to run
1. Install Docker
2. `docker-compose build`
3. `docker-compose up`
4. Open OBS and in settings set the server to `rtmp://fqdn:1935/live` and the stream key to `live?key=supersecret`
5. Open a browser and go to `https://fqdn` to view your live stream!

14
docker-compose.yml Normal file
View file

@ -0,0 +1,14 @@
version: "3.3"
services:
rtmp:
build: ./rtmp
ports:
- "1935:1935"
- "80:8080"
container_name: rtmp_server
volumes:
- ./data:/tmp/hls
auth:
build: ./auth
container_name: auth_server