Quieten a few debug messages.
This commit is contained in:
@@ -954,7 +954,7 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) {
|
||||
uint64_t lateness = local_time_now - conn->first_packet_time_to_play;
|
||||
lateness = (lateness * 1000000) >> 32; // microseconds
|
||||
debug(
|
||||
1,
|
||||
3,
|
||||
"First packet is %" PRIu64 " microseconds late! Flushing 0.5 seconds",lateness);
|
||||
do_flush(conn->first_packet_timestamp + 5 * 4410,
|
||||
conn);
|
||||
@@ -988,7 +988,7 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) {
|
||||
if (local_time_now > conn->first_packet_time_to_play) {
|
||||
uint64_t lateness = local_time_now - conn->first_packet_time_to_play;
|
||||
lateness = (lateness * 1000000) >> 32; // microseconds
|
||||
debug(1,"Gone past starting time by %" PRIu64 " microseconds.", lateness);
|
||||
debug(3,"Gone past starting time by %" PRIu64 " microseconds.", lateness);
|
||||
have_sent_prefiller_silence = 1;
|
||||
conn->ab_buffering = 0;
|
||||
|
||||
@@ -1642,11 +1642,11 @@ void *player_thread_func(void *arg) {
|
||||
debug(3, "Output bit depth is %d.", output_bit_depth);
|
||||
|
||||
if (conn->input_bit_depth > output_bit_depth) {
|
||||
debug(1, "Dithering will be enabled because the input bit depth is greater than the output bit "
|
||||
debug(3, "Dithering will be enabled because the input bit depth is greater than the output bit "
|
||||
"depth");
|
||||
}
|
||||
if (conn->fix_volume != 0x10000) {
|
||||
debug(1, "Dithering will be enabled because the output volume is being altered in software");
|
||||
debug(3, "Dithering will be enabled because the output volume is being altered in software");
|
||||
}
|
||||
|
||||
// we need an intermediate "transition" buffer
|
||||
|
||||
@@ -100,9 +100,9 @@ uint64_t local_to_remote_time_difference_now(rtsp_conn_info *conn) {
|
||||
void rtp_audio_receiver_cleanup_handler(void *arg) {
|
||||
debug(3, "Audio Receiver Cleanup.");
|
||||
rtsp_conn_info *conn = (rtsp_conn_info *)arg;
|
||||
debug(1, "shutdown audio socket.");
|
||||
debug(3, "shutdown audio socket.");
|
||||
shutdown(conn->audio_socket, SHUT_RDWR);
|
||||
debug(1, "close audio socket.");
|
||||
debug(3, "close audio socket.");
|
||||
close(conn->audio_socket);
|
||||
|
||||
debug(3, "Audio Receiver Cleanup Successful.");
|
||||
@@ -242,9 +242,9 @@ void *rtp_audio_receiver(void *arg) {
|
||||
void rtp_control_handler_cleanup_handler(void *arg) {
|
||||
debug(3, "Control Receiver Cleanup.");
|
||||
rtsp_conn_info *conn = (rtsp_conn_info *)arg;
|
||||
debug(1, "shutdown control socket.");
|
||||
debug(3, "shutdown control socket.");
|
||||
shutdown(conn->control_socket, SHUT_RDWR);
|
||||
debug(1, "close control socket.");
|
||||
debug(3, "close control socket.");
|
||||
close(conn->control_socket);
|
||||
debug(3, "Control Receiver Cleanup Successful.");
|
||||
}
|
||||
@@ -561,9 +561,9 @@ void rtp_timing_receiver_cleanup_handler(void *arg) {
|
||||
rtsp_conn_info *conn = (rtsp_conn_info *)arg;
|
||||
pthread_cancel(conn->timer_requester);
|
||||
pthread_join(conn->timer_requester, NULL);
|
||||
debug(1, "shutdown timing socket.");
|
||||
debug(3, "shutdown timing socket.");
|
||||
shutdown(conn->timing_socket, SHUT_RDWR);
|
||||
debug(1, "close timing socket.");
|
||||
debug(3, "close timing socket.");
|
||||
close(conn->timing_socket);
|
||||
debug(3, "Timing Receiver Cleanup Successful.");
|
||||
}
|
||||
|
||||
@@ -543,7 +543,7 @@ enum rtsp_read_request_response rtsp_read_request(rtsp_conn_info *conn, rtsp_mes
|
||||
continue;
|
||||
char errorstring[1024];
|
||||
strerror_r(errno, (char *)errorstring, sizeof(errorstring));
|
||||
debug(1, "rtsp_read_request_response_read_error %d: \"%s\".", errno, (char *)errorstring);
|
||||
debug(1, "Connection %d: rtsp_read_request_response_read_error %d: \"%s\".", conn->connection_number, errno, (char *)errorstring);
|
||||
reply = rtsp_read_request_response_read_error;
|
||||
goto shutdown;
|
||||
}
|
||||
@@ -2106,7 +2106,7 @@ static void *rtsp_conversation_thread_func(void *pconn) {
|
||||
}
|
||||
}
|
||||
if (method_selected == 0) {
|
||||
debug(1, "Connection %d: Unrecognised and unhandled rtsp request \"%s\".",
|
||||
debug(3, "Connection %d: Unrecognised and unhandled rtsp request \"%s\".",
|
||||
conn->connection_number, req->method);
|
||||
|
||||
int y = req->contentlength;
|
||||
@@ -2123,7 +2123,7 @@ static void *rtsp_conversation_thread_func(void *pconn) {
|
||||
obfp += 2;
|
||||
};
|
||||
*obfp = 0;
|
||||
debug(1, "Content: \"%s\".", obf);
|
||||
debug(3, "Content: \"%s\".", obf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user