rtspsrc: Consider 503 Service Not Available when handling broken control urls

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6213>
This commit is contained in:
Tim-Philipp Müller 2024-02-24 11:07:26 +00:00 committed by GStreamer Marge Bot
parent a827c7e2b4
commit 4db25f1500

View file

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