GStreamer neither keep rtsp alive nor re-connect to ip camera

Min Wu lockandfire at gmail.com
Fri Feb 6 03:46:15 PST 2015


Hello everyone. I am new to gstreamer. With some research I can connect to
my IP camera (vivotek fe8171v) with the command:

gst-launch-1.0 rtspsrc location=rtsp://192.168.137.100:554/live4.sdp
latency=0 udp-reconnect=TRUE do-rtsp-keep-alive=true ! rtph264depay !
avdec_h264 ! videoconvert ! osxvideosink

I can restream the video on my computer but after a while it returns:

gstrtspsrc.c(4705): gst_rtspsrc_loop_udp ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
The server closed the connection.

then pipeline0 receives eos message and quits. Rtspsrc's page says
do-rtsp-keep-alive might be incompatible with some old server but problem
remained even if I turn it to false.

What's the problem? Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150206/fc6b2021/attachment.html>


More information about the gstreamer-devel mailing list