-
Hello, I have two servers one local and another remote, readers can subscribe to either to the local one inside a LAN, or to the remote WAN. Is there any way of tell to the local server to act as a publisher to the remote address for a given stream? Regards. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
As it is pointed in another reply it can be done with FFMPEG, ie: ffmpeg -re -i rtsp://user:[email protected]:554/ -c copy -f rtsp rtsp://user:password@DOMAINNAME:8554/path |
Beta Was this translation helpful? Give feedback.
-
You can forward all streams from the local server to the remote server by using this configuration on the local server: paths:
all:
runOnPublish: ffmpeg -re -i rtsp://localhost:$RTSP_PORT/$RTSP_PATH -c copy -f rtsp rtsp://remote-ip/$RTSP_PATH |
Beta Was this translation helpful? Give feedback.
You can forward all streams from the local server to the remote server by using this configuration on the local server: