]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Quieten a debug message.
authorMike Brady <mikebrady@eircom.net>
Sat, 5 May 2018 18:24:57 +0000 (19:24 +0100)
committerMike Brady <mikebrady@eircom.net>
Sat, 5 May 2018 18:24:57 +0000 (19:24 +0100)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index 516e9968e8505b94ef070884b06d79353ff27030..0fb11ce913c897abd59bd31f9c536fd08d32a04a 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -1593,15 +1593,15 @@ static void handle_announce(rtsp_conn_info *conn, rtsp_message *req, rtsp_messag
     if (hdr) {
       debug(2, "Play connection from user agent \"%s\" on RTSP conversation thread %d.", hdr,
             conn->connection_number);
-      // if the user agent is AirPlay and has a version number of 353 or less (from iOS 11.1)
+      // if the user agent is AirPlay and has a version number of 353 or less (from iOS 11.1,2)
       // use the older way of calculating the latency
 
       char *p = strstr(hdr, "AirPlay");
       if (p) {
         p = strchr(p, '/');
         if (p) {
-          conn->AirPlayVersion = atoi(p + 1); // unsigned integer -- up to 2^32-1
-          debug(1, "AirPlay version %d detected.", conn->AirPlayVersion);
+          conn->AirPlayVersion = atoi(p + 1);
+          debug(2, "AirPlay version %d detected.", conn->AirPlayVersion);
         }
       }