provide example rtmp server
This commit is contained in:
parent
fc5f2ac8b6
commit
a1260602df
2 changed files with 23 additions and 1 deletions
|
@ -1 +1,9 @@
|
|||
# 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
14
docker-compose.yml
Normal 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
|
Loading…
Reference in a new issue