I have 2 Wowza servers (original-server and relay-server). The connection between them is limited so I want relay-server to pull live stream (test.stream) from original-server, so if any one request (test.stream) from relay-server it pulls the stream and establish connection. If no one requesting (test.stream) and relay-server is ideal, the connection of (test.stream) stops.
What I did:-
1-test the stream ( rtsp://original-serverip:1935/live/test.stream) and it is working.
2-i create test.stream file on repaly-server (rtsp://original-serverip:1935/live/test.stream) , and copy it to /content folder.
3- I login to streammanager and start live/rtp stream name (test.stream)
4- I test the stream (rtsp://relay-serverip:1935/live/test.stream). and the stream working .
The problem that the connection is active always and relay-server keep receiving the stream. Even if no one requests the stream, it keeps receiving the stream!
how to control the connection between two servers and stop the stream to save the connection bandwidth if no one requests the stream.
can any one help ?