]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Add a few debug messages to watch the RTSP connection.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 13 Sep 2022 08:34:42 +0000 (09:34 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 13 Sep 2022 08:34:42 +0000 (09:34 +0100)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index 8cc36bebf1e6afb2434a3a5448324373336d52bd..4c05e3943f8c0a3e0979fc3d40ab0d5ca81bb2fd 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -1297,7 +1297,7 @@ enum rtsp_read_request_response rtsp_read_request(rtsp_conn_info *conn, rtsp_mes
 
     if (nread == 0) {
       // a blocking read that returns zero means eof -- implies connection closed
-      debug(3, "Connection %d: -- connection closed.", conn->connection_number);
+      debug(1, "Connection %d: connection closed.", conn->connection_number);
       reply = rtsp_read_request_response_channel_closed;
       goto shutdown;
     }
@@ -5407,7 +5407,7 @@ void *rtsp_listen_loop(__attribute((unused)) void *arg) {
           inet_ntop(conn->connection_ip_family, self_addr, conn->self_ip_string,
                     sizeof(conn->self_ip_string));
 
-          debug(2, "Connection %d: new connection from %s:%u to self at %s:%u.",
+          debug(1, "Connection %d: new connection from %s:%u to self at %s:%u.",
                 conn->connection_number, conn->client_ip_string, conn->client_rtsp_port,
                 conn->self_ip_string, conn->self_rtsp_port);
           conn->connection_start_time = get_absolute_time_in_ns();