From c3d99f96c9e0f810304efa84498b84e6ef2fa342 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Mon, 5 Jun 2023 14:22:40 +0100 Subject: [PATCH] increase the debug output for RTSP messages and responses at verbosity 2. --- rtsp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rtsp.c b/rtsp.c index 02c63cce..10b48109 100644 --- a/rtsp.c +++ b/rtsp.c @@ -5172,7 +5172,7 @@ static void *rtsp_conversation_thread_func(void *pconn) { #endif while (conn->stop == 0) { - int debug_level = 3; // for printing the request and response + int debug_level = 2; // for printing the request and response reply = rtsp_read_request(conn, &req); if (reply == rtsp_read_request_response_ok) { pthread_cleanup_push(msg_cleanup_function, (void *)&req); @@ -5180,10 +5180,10 @@ static void *rtsp_conversation_thread_func(void *pconn) { pthread_cleanup_push(msg_cleanup_function, (void *)&resp); resp->respcode = 501; // Not Implemented int dl = debug_level; - if ((strcmp(req->method, "OPTIONS") == 0) || - (strcmp(req->method, "POST") == - 0)) // the options message is very common, so don't log it until level 3 - dl = 3; + //if ((strcmp(req->method, "OPTIONS") == 0) || + // (strcmp(req->method, "POST") == + // 0)) // the options message is very common, so don't log it until level 3 + // dl = 3; if (conn->airplay_stream_category == remote_control_stream) { debug(dl, "Connection %d (RC): Received an RTSP Packet of type \"%s\":",