GStreamer neither keep rtsp alive nor re-connect to ip camera
Ian Davidson
id012c3076 at blueyonder.co.uk
Fri Feb 6 08:42:36 PST 2015
I believe that 'keep-alive' is normally configured within the OS for the
internet connection, so that 'user software' does not need to do anything.
I learnt this some time ago (on Windows XP) - but I would suspect that
it applies across most OSs.
Ian
On 06/02/2015 11:46, Min Wu wrote:
> 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
> <http://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/47a4c1dd/attachment.html>
More information about the gstreamer-devel
mailing list