Add a little more detail to the resend requests
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
//}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user