Setting up RTSP pipeline using TLS + TCP Interleaved

evaluat0r volatileconst at gmail.com
Mon Jul 3 07:21:49 UTC 2017


Tim Müller wrote
> On Fri, 2017-06-30 at 20:56 -0700, evaluat0r wrote:
> 
>> Does Gstreamer support through rtspsrc using RTSP over TLS with TCP
>> Interleaved?
> 
> Yes, that should work. See gst-inspect-1.0 rtspsrc, in particular the
> protocols property.
> 
> You should also be able to force it via the URI protocol, e.g.
> 
> rtspt://... will force interleaved over TCP
>  and
> rtspst://... should do the same with TLS I believe.
> 
> Cheers
>  -Tim
> 
> -- 
> Tim Müller, Centricular Ltd - http://www.centricular.com
> 
> Join us at the GStreamer Conference!
> 21-22 October 2017 in Prague, Czech Republic
> http://gstreamer.freedesktop.org/conference/
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

Thanks for the reply, Tim.

I can make it work by changing the uri scheme to rtspst but what about for
keeping the scheme as rtsp?

In this case, with gst-launch-1.0 I have:

gst-launch-1.0 rtspsrc --gst-debug=2
location="rtsp://31.110.179.10:443/live/4FFB_4485?egressToken=dd66e9a512d3&userAgent=Android&cameraId=4485"
protocols=0x4+0x20 tls-validation-flags=0x1 ! rtph264depay ! decodebin !
autovideosink

I see that after it's in progress with opening the stream and connecting:

Progress: (open) Retrieving server options
0:00:00.150759000 37815 0x7fa75200f370 WARN                 rtspsrc
gstrtspsrc.c:5530:gst_rtspsrc_try_send:<rtspsrc0> error: Could not receive
message. (System error)
0:00:00.151195000 37815 0x7fa75200f370 WARN                 rtspsrc
gstrtspsrc.c:6921:gst_rtspsrc_open:<rtspsrc0> can't get sdp
0:00:00.151223000 37815 0x7fa75200f370 WARN                 rtspsrc
gstrtspsrc.c:5099:gst_rtspsrc_loop:<rtspsrc0> we are not connected
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not
read from resource.
Additional debug info:
gstrtspsrc.c(5530): gst_rtspsrc_try_send ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (System error)
ERROR: pipeline doesn't want to preroll.

Any idea as to what I might be missing here?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Setting-up-RTSP-pipeline-using-TLS-TCP-Interleaved-tp4683620p4683650.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list