Files
mediamtx/docs/2-features/11-forward.md
T

13 lines
287 B
Markdown

# Forward
To forward incoming streams to another server, use _FFmpeg_ inside the `runOnReady` parameter:
```yml
pathDefaults:
runOnReady: >
ffmpeg -i rtsp://localhost:$RTSP_PORT/$MTX_PATH
-c copy
-f rtsp rtsp://other-server:8554/another-path
runOnReadyRestart: yes
```