]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Quieten an out-of-sequence message
authorMike Brady <mikebrady@eircom.net>
Mon, 29 Feb 2016 15:15:55 +0000 (15:15 +0000)
committerMike Brady <mikebrady@eircom.net>
Mon, 29 Feb 2016 15:15:55 +0000 (15:15 +0000)
rtp.c

diff --git a/rtp.c b/rtp.c
index 37fb5629a702319a44971a01a37a439ba0900304..f842932d1b750346bf094ee26b637a8d2ff9dfb5 100644 (file)
--- a/rtp.c
+++ b/rtp.c
@@ -124,7 +124,7 @@ void *rtp_audio_receiver(void *arg) {
       stat_mean += stat_delta/stat_n;
       stat_M2 += stat_delta*(time_interval_us - stat_mean);
       if (stat_n % 2500 == 0) {
-        debug(2,"Packet reception intervals: mean, standard deviation and max for the last 2,500 packets in microseconds: %10.1f, %10.1f, %10.1f.",stat_mean, sqrtf(stat_M2 / (stat_n-1)),longest_packet_time_interval_us);
+        debug(3,"Packet reception intervals: mean, standard deviation and max for the last 2,500 packets in microseconds: %10.1f, %10.1f, %10.1f.",stat_mean, sqrtf(stat_M2 / (stat_n-1)),longest_packet_time_interval_us);
         stat_n = 0;
         stat_mean = 0.0;
         stat_M2 = 0.0;
@@ -153,8 +153,8 @@ void *rtp_audio_receiver(void *arg) {
         last_seqno = seqno;
       else {
         last_seqno = (last_seqno + 1) & 0xffff;
-        if (seqno != last_seqno)
-          debug(3, "RTP: Packets out of sequence: expected: %d, got %d.", last_seqno, seqno);
+        //if (seqno != last_seqno)
+        //  debug(3, "RTP: Packets out of sequence: expected: %d, got %d.", last_seqno, seqno);
         last_seqno = seqno; // reset warning...
       }
       uint32_t timestamp = ntohl(*(unsigned long *)(pktp + 4));