rtspsrc: Also consider "Method Not Valid In This State" error in broken control URL handling workaround

Some servers send a 455 error instead of any reasonable error when using
a correctly constructed control URL.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3861>
This commit is contained in:
Sebastian Dröge 2023-01-31 16:56:18 +02:00 committed by Tim-Philipp Müller
parent f3b8f1d5b0
commit 37999359a9

View file

@ -7581,6 +7581,7 @@ gst_rtspsrc_setup_streams_start (GstRTSPSrc * src, gboolean async)
goto retry;
case GST_RTSP_STS_BAD_REQUEST:
case GST_RTSP_STS_NOT_FOUND:
case GST_RTSP_STS_METHOD_NOT_VALID_IN_THIS_STATE:
/* 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.