I'm trying to build a quite simple RTSP-server (apparently, it's less simple then I thought) with gst-rtsp-server.
I used the 'test-record'
example to RECORD by the rtsp-server a stream from a rtsp-client (FFmpeg in my case). It seems to work, I can see a valid sequence in wireshark.
Later I used the 'test-launch'
example to PLAY a test stream, so I can read it with rtsp-client (FFplay) and it also works well.
However, I don't understand how to combine the two examples into one rtsp-server that can RECORD a stream (a live-source) from one rtsp-client, and then send (PLAY) this stream to a second (third or even fourth) rtsp-client.
Any idea if the Gstreamer infrastructure supports this functionality ? And if so, any tips how to do it ?