Adjust the debug level of buffers exhausted and network condition messages.
This commit is contained in:
@@ -1095,7 +1095,7 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) {
|
||||
if (do_wait == 0)
|
||||
if ((conn->ab_synced != 0) && (conn->ab_read == conn->ab_write)) { // the buffer is empty!
|
||||
if (notified_buffer_empty == 0) {
|
||||
debug(3, "Buffers exhausted.");
|
||||
debug(2, "Buffers exhausted.");
|
||||
notified_buffer_empty = 1;
|
||||
}
|
||||
do_wait = 1;
|
||||
|
||||
@@ -95,7 +95,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(3, "Packet reception interval stats: mean, standard deviation and max for the last "
|
||||
debug(2, "Packet reception interval stats: 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;
|
||||
|
||||
Reference in New Issue
Block a user