From: Mike Brady Date: Tue, 17 Apr 2018 20:08:29 +0000 (+0100) Subject: Add a little more detail to the resend requests X-Git-Tag: 3.2RC4~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae94daf259d7d109ac19f6934b6fc7d90d3c3a76;p=thirdparty%2Fshairport-sync.git Add a little more detail to the resend requests --- diff --git a/player.c b/player.c index 30633ffe..c333e318 100644 --- a/player.c +++ b/player.c @@ -528,8 +528,8 @@ void player_put_packet(seq_t seqno, uint32_t actual_timestamp, int64_t timestamp if (config.disable_resend_requests == 0) { rtp_request_resend(next, 1, conn); // if (j>=3) - //debug(2, "Resend request level #%d for packet %u in range %u to %u.", j, next, - // conn->ab_read, conn->ab_write); + debug(2, "Resend request level #%d for packet %u in range %u to %u.", j, next, + conn->ab_read, conn->ab_write); conn->resend_requests++; } } @@ -1694,8 +1694,8 @@ static void *player_thread_func(void *arg) { // debug(3, "Play frame %d.", play_number); conn->play_number_after_flush++; if (inframe->timestamp == 0) { - debug(2, "Player has supplied a silent frame, (possibly frame %u).", - SUCCESSOR(conn->last_seqno_read)); + debug(1, "Player has supplied a silent frame, (possibly frame %u) for play number %d.", + SUCCESSOR(conn->last_seqno_read),play_number); conn->last_seqno_read = (SUCCESSOR(conn->last_seqno_read) & 0xffff); // manage the packet out of sequence minder config.output->play(silence, conn->max_frames_per_packet * conn->output_sample_ratio); diff --git a/rtp.c b/rtp.c index aa3a7e0c..b0099910 100644 --- a/rtp.c +++ b/rtp.c @@ -953,7 +953,7 @@ void clear_reference_timestamp(rtsp_conn_info *conn) { void rtp_request_resend(seq_t first, uint32_t count, rtsp_conn_info *conn) { if (conn->rtp_running) { // if (!request_sent) { - debug(2, "requesting resend of %d packets starting at %u.", count, first); + // debug(2, "requesting resend of %d packets starting at %u.", count, first); // request_sent = 1; //}