rtspsrc: Consider "451: Parameter Not Understood" when handling broken control urls

similar to https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3854

it seems that some implementations return this when
the server does not implement URL handling correctly

this fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2334

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4173>
This commit is contained in:
Matt Feury 2023-03-06 19:56:08 +00:00 committed by Tim-Philipp Müller
parent 6b16b41889
commit bb711444b6

View file

@ -7582,6 +7582,7 @@ gst_rtspsrc_setup_streams_start (GstRTSPSrc * src, gboolean async)
case GST_RTSP_STS_BAD_REQUEST:
case GST_RTSP_STS_NOT_FOUND:
case GST_RTSP_STS_METHOD_NOT_VALID_IN_THIS_STATE:
case GST_RTSP_STS_PARAMETER_NOT_UNDERSTOOD:
/* There are various non-compliant servers that don't require control
* URLs that are not resolved correctly but instead are just appended.
* See e.g.