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

287 B

Forward

To forward incoming streams to another server, use FFmpeg inside the runOnReady parameter:

pathDefaults:
  runOnReady: >
    ffmpeg -i rtsp://localhost:$RTSP_PORT/$MTX_PATH
    -c copy
    -f rtsp rtsp://other-server:8554/another-path
  runOnReadyRestart: yes