mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
rtspsrc: Don't try the SETUP workaround for broken servers with absolute control URIs
Previously only control URIs that started with "rtsp://" were ignored but it makes more sense to ignore all absolute URIs. gst_uri_is_valid() conveniently checks for exactly that. See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3563 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6982>
This commit is contained in:
parent
03b6efcaf5
commit
dfc03b9a2e
1 changed files with 1 additions and 1 deletions
|
@ -7838,7 +7838,7 @@ gst_rtspsrc_setup_streams_start (GstRTSPSrc * src, gboolean async)
|
|||
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1447
|
||||
*/
|
||||
if (!tried_non_compliant_url && stream->control_url
|
||||
&& !g_str_has_prefix (stream->control_url, "rtsp://")) {
|
||||
&& !gst_uri_is_valid (stream->control_url)) {
|
||||
const gchar *base;
|
||||
|
||||
gst_rtsp_message_unset (&request);
|
||||
|
|
Loading…
Reference in a new issue