We should use 454 when a session can't be found because there was no session
pool configured in the server. This is not a server configuration problem
because the server on which the request is done might not be the same one that
will keep the sessions for us and so it does not need to support sessions.
no_pool:
{
GST_ERROR ("client %p: no session pool configured", client);
- send_generic_response (client, GST_RTSP_STS_SERVICE_UNAVAILABLE, state);
+ send_generic_response (client, GST_RTSP_STS_SESSION_NOT_FOUND, state);
gst_rtsp_transport_free (ct);
return FALSE;
}
no_pool:
{
GST_ERROR ("client %p: no pool configured", client);
- send_generic_response (client, GST_RTSP_STS_SERVICE_UNAVAILABLE, &state);
+ send_generic_response (client, GST_RTSP_STS_SESSION_NOT_FOUND, &state);
return;
}
session_not_found: