From 6b3adff951bb7d56d52f340aa4554fa819119a18 Mon Sep 17 00:00:00 2001 From: Matt Feury Date: Mon, 6 Mar 2023 19:56:08 +0000 Subject: [PATCH] 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: --- subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c index 81024d21a3..c4314475a6 100644 --- a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c +++ b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c @@ -7721,6 +7721,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.