Files
mediamtx/docs/4-other/08-forward.md
T
Alessandro RosandGitHub 580bfe86d3 refactor documentation (#5509)
expand "publish" and "read" pages into several subpages.
2026-02-25 22:37:50 +01:00

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
```