problem with Gst-discoverer-1.0 and rtsp stream

apic andreapicaro at gmail.com
Tue Feb 27 10:41:34 UTC 2018


Hello, i create an rtsp stream from vlc. I then try to use gst-discoverer-1.0
on stream to verify format and liveness. This is what i get with
GST_DEBUG=3:

gst-discoverer-1.0 rtsp://172.16.102.110:8554/main
Analyzing rtsp://172.16.102.110:8554/main
0:00:00.214044667 18774  0x1dba490 ERROR                default
gstrtspconnection.c:960:gst_rtsp_connection_connect_with_response: failed to
connect: Operation was cancelled
0:00:00.217456000 18774  0x1dba490 ERROR                rtspsrc
gstrtspsrc.c:4141:gst_rtsp_conninfo_connect:<source> Could not connect to
server. (Generic error)
0:00:00.217543667 18774  0x1dba490 WARN                 rtspsrc
gstrtspsrc.c:6819:gst_rtspsrc_retrieve_sdp:<source> error: Failed to
connect. (Generic error)
0:00:00.217768334 18774  0x1dba490 WARN                 rtspsrc
gstrtspsrc.c:6898:gst_rtspsrc_open:<source> can't get sdp
Done discovering rtsp://172.16.102.110:8554/main

Strange thing is that after this command i cannot play the stream anymore,
looks like gst-discoverer hanged server somewhat. 
I use gst-discoverer to verify if server is streaming before starting
player, it works perfectly with http streams. Does anyone have an idea of
what's going on and how to solve. Is there eventually some different
startegy i can follow to verify stream aliveness before starting playback.
Thanks



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list