2025-01-03 19:47:58 +01:00
|
|
|
# docker-nginx-rtmp
|
|
|
|
|
2025-01-03 19:51:35 +01:00
|
|
|
nginx-rtmp Server in Docker
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
```
|
|
|
|
docker build -t nginx-rtmp .
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run
|
|
|
|
|
|
|
|
```
|
|
|
|
docker compose up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
## OBS send
|
|
|
|
|
|
|
|
Open stream settings and choose custom. Use rtmp://$IP:1935/live as server address and 1234 (or whatever you like) as stream key.
|
|
|
|
|
|
|
|
## OBS receive
|
|
|
|
|
|
|
|
Add a media source and change it from local file to network. Use rtmp://$IP:1935/live/1234 as server address.
|