From: Mike Brady Date: Wed, 28 Nov 2018 19:49:12 +0000 (+0000) Subject: Add some debug messages to closing the UDP ports. X-Git-Tag: 3.3RC0~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bf22b426584a2e3cc136784588bb6845e1ef5ec;p=thirdparty%2Fshairport-sync.git Add some debug messages to closing the UDP ports. --- diff --git a/rtp.c b/rtp.c index 464bc303..c61be2ee 100644 --- a/rtp.c +++ b/rtp.c @@ -98,14 +98,14 @@ 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."); + debug(1, "Audio Receiver Cleanup."); rtsp_conn_info *conn = (rtsp_conn_info *)arg; debug(3, "shutdown audio socket."); shutdown(conn->audio_socket, SHUT_RDWR); debug(3, "close audio socket."); close(conn->audio_socket); - debug(3, "Audio Receiver Cleanup Successful."); + debug(1, "Audio Receiver Cleanup Successful."); } void *rtp_audio_receiver(void *arg) { @@ -242,11 +242,11 @@ 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(3, "shutdown control socket."); + debug(1, "shutdown control socket."); shutdown(conn->control_socket, SHUT_RDWR); debug(3, "close control socket."); close(conn->control_socket); - debug(3, "Control Receiver Cleanup Successful."); + debug(1, "Control Receiver Cleanup Successful."); } void *rtp_control_receiver(void *arg) { @@ -563,11 +563,11 @@ 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(3, "shutdown timing socket."); + debug(1, "shutdown timing socket."); shutdown(conn->timing_socket, SHUT_RDWR); debug(3, "close timing socket."); close(conn->timing_socket); - debug(3, "Timing Receiver Cleanup Successful."); + debug(1, "Timing Receiver Cleanup Successful."); } void *rtp_timing_receiver(void *arg) {