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++;
}
}
// 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);
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;
//}