mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
client: improve debug
This commit is contained in:
parent
d5389c940d
commit
b3fe3357ab
1 changed files with 8 additions and 4 deletions
|
@ -1609,12 +1609,10 @@ handle_request (GstRTSPClient * client, GstRTSPMessage * request)
|
|||
case GST_RTSP_ANNOUNCE:
|
||||
case GST_RTSP_RECORD:
|
||||
case GST_RTSP_REDIRECT:
|
||||
send_generic_response (client, GST_RTSP_STS_NOT_IMPLEMENTED, &state);
|
||||
break;
|
||||
goto not_implemented;
|
||||
case GST_RTSP_INVALID:
|
||||
default:
|
||||
send_generic_response (client, GST_RTSP_STS_BAD_REQUEST, &state);
|
||||
break;
|
||||
goto bad_request;
|
||||
}
|
||||
|
||||
done:
|
||||
|
@ -1656,6 +1654,12 @@ not_authorized:
|
|||
handle_unauthorized_request (client, client->auth, &state);
|
||||
goto done;
|
||||
}
|
||||
not_implemented:
|
||||
{
|
||||
GST_ERROR ("client %p: method %d not implemented", client, method);
|
||||
send_generic_response (client, GST_RTSP_STS_NOT_IMPLEMENTED, &state);
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue