}
#endif
uint64_t time_of_sending_fp = get_absolute_time_in_fp();
- uint64_t resend_error_backoff_time = (uint64_t)1 << (32 - 1); // half a second
+ uint64_t resend_error_backoff_time = (uint64_t)1 << (32 - 4); // one sixteenth of a second
if ((conn->rtp_time_of_last_resend_request_error_fp == 0) ||
((time_of_sending_fp - conn->rtp_time_of_last_resend_request_error_fp) >
resend_error_backoff_time)) {
char em[1024];
strerror_r(errno, em, sizeof(em));
debug(1,
- "Error %d using send-to to an audio socket: \"%s\". Backing off for 0.5 seconds.",
+ "Error %d using send-to to an audio socket: \"%s\". Backing off for 1/16th of a second.",
errno, em);
conn->rtp_time_of_last_resend_request_error_fp = time_of_sending_fp;
} else {
}
} else {
- debug(3, "Dropping resend request packet to simulate a bad network. Backing off for 0.5 "
- "seconds.");
+ debug(3, "Dropping resend request packet to simulate a bad network. Backing off for 1/16th of a "
+ "second.");
conn->rtp_time_of_last_resend_request_error_fp = time_of_sending_fp;
}
} else {