rtpsrc - control: Media Attribute - URL is not relative to base URL

Sebastian Dröge sebastian at centricular.com
Mon Jan 30 07:06:50 UTC 2023


On Sun, 2023-01-29 at 23:13 -0500, Scot Zarkiewicz via gstreamer-devel
wrote:
> 
> I have an RTSP Server that works fine with VLC, here is URL that VLC
> requests;
> 
> SETUP
> rtsp://192.168.0.200:554/live/b4751f6b-0f49-4913-9531-ad5f836e1afd/TrackId=0
> RTSP/1.0\r\n
> 
> 
> But when using rtpsrc the SETUP URL does not contain the base URL but
> instead looks like this:
> 
> SETUP rtsp://192.168.0.200:554/live/TrackId=0 RTSP/1.0\r\n
> 
> Has anybody run into an issue like this before?  

This sounds like your server fails to handle URLs correctly, which
unfortunately is the case for many RTSP servers.
Can you share the DESCRIBE response, including SDP and headers? And
also which kind of RTSP server that is?

This is most likely fixed with 1.22.0 / 1.20.5 via a workaround that
tries the wrong SETUP URL if the correct one fails.

See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3127
 for background.

Note that there's a follow-up fix
in https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3414

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230130/2e85cb01/attachment.htm>


More information about the gstreamer-devel mailing list