client: don't check url in response

There is no url or method in the response to check
This commit is contained in:
Wim Taymans 2013-08-23 10:38:43 +02:00
parent 1f84618725
commit 1287b5f772

View file

@ -2002,9 +2002,6 @@ handle_response (GstRTSPClient * client, GstRTSPMessage * response)
ctx->session = session;
if (!gst_rtsp_auth_check (GST_RTSP_AUTH_CHECK_URL))
goto not_authorized;
g_signal_emit (client, gst_rtsp_client_signals[SIGNAL_HANDLE_RESPONSE],
0, ctx);
@ -2025,11 +2022,6 @@ session_not_found:
GST_ERROR ("client %p: session not found", client);
goto done;
}
not_authorized:
{
GST_ERROR ("client %p: not allowed", client);
goto done;
}
}
static void