RTSP server streaming over TCP

Aurélien P aurelien.pascal at digeiz.com
Tue Feb 26 13:57:41 UTC 2019


Hi,

I'm trying to access a stream delivered through TCP by a RTSP server, using
the rtspsrc plugin. I can't change the configuration of this server, and the
SDP it provides contains the following media description: "m=video 0
RTP/AVP/TCP 96".

According to Gstreamer source code, this "proto" doesn't seem to be
supported: 
https://github.com/GStreamer/gst-plugins-good/blob/1.14.4/gst/rtsp/gstrtspsrc.c#L1764
<https://github.com/GStreamer/gst-plugins-good/blob/1.14.4/gst/rtsp/gstrtspsrc.c#L1764> 
, making my code fail with a "unknown proto in media: RTP/AVP/TCP" error.
The IETF documents actually don't explicitly describe the "RTP/AVP/TCP"
profile, but I have found some references to it.

I tried to modify gstrtspsrc.c to accept this profile, and the pipeline
works that way. But I'm not sure this is the right way to fix the problem,
and I would prefer to use an unmodified Gstreamer version.

So my question is: what should I do about this? Is there a way to change the
SDP content (and is it the right thing to do)? Or did I miss any obvious
option in rtspsrc to fix this?

Thanks.

Best regards,

Aurélien



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


More information about the gstreamer-devel mailing list