rtspsrc timeout does not exceed 40s
nishitha.a at ignitarium.com
Mon Jun 8 11:58:09 UTC 2020
A vlc player is setup to act as rtsp server. Following command runs at the
gst-launch-1.0 rtspsrc retry=200 timeout=200000000 tcp-timeout=200000000
location= rtsp://10.201.4.233:8554/test ! rtph264depay ! h264parse !
avdec_h264 ! videoconvert ! xvimagesink
I set the timeout of rtspsrc to 200 seconds. Now when I disconnect client
network connection, waits for 1 minute and reconnect again, the pipeline
does not regain the connection.
This is the log obtained.
gstrtspsrc.c:4718:gst_rtspsrc_loop_udp:<rtspsrc0> timeout, sending
gstrtspsrc.c:4285:gst_rtspsrc_send_keep_alive:<rtspsrc0> creating server
gstrtspsrc.c:4699:gst_rtspsrc_loop_udp:<rtspsrc0> doing receive with timeout
If I disconnect only for 20-30 seconds, rtsp pipeline works fine. What can
be done to increase the timeout?
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel