GstRtspServer accepts Rtsp OPTIONS message, holds the connection open, never responds.
Given a pipeline served by
gstrtspserver that will re-stream rtsp like so;
"rtspsrc location=rtsp://<ip>/live.sdp ntp-sync=true buffer-mode=synced latency=0 protocols=GST_RTSP_LOWER_TRANS_TCP ! rtph264depay ! rtph264pay pt=96 ! rtptimestamppay name=pay0"
When a disconnection occurs between gstreamer and the rtspsrc location while streaming a SHARED media factory, GstRtspServer will stop responding to RTSP requests, sometimes...
Sending an ffprobe to the mounted stream shows that we send an OPTIONS message then the connection hangs indefinitely and there will be no response.
-> % ffprobe -hide_banner -loglevel trace rtsp://<ip>/camera Probing rtsp score:100 size:0 [tcp @ 0x7ff8e1d02a00] No default whitelist set [tcp @ 0x7ff8e1d02a00] Original list of addresses: [tcp @ 0x7ff8e1d02a00] Address <ip> port 554 [tcp @ 0x7ff8e1d02a00] Interleaved list of addresses: [tcp @ 0x7ff8e1d02a00] Address <ip> port 554 [tcp @ 0x7ff8e1d02a00] Starting connection attempt to <ip> port 554 [tcp @ 0x7ff8e1d02a00] Successfully connected to <ip> port 554 [rtsp @ 0x7ff8e2000000] Sending: OPTIONS rtsp://<ip>:554/camera RTSP/1.0 CSeq: 1 User-Agent: Lavf58.20.100 --