]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Add some debug messages to closing the UDP ports.
authorMike Brady <mikebrady@eircom.net>
Wed, 28 Nov 2018 19:49:12 +0000 (19:49 +0000)
committerMike Brady <mikebrady@eircom.net>
Wed, 28 Nov 2018 19:49:12 +0000 (19:49 +0000)
rtp.c

diff --git a/rtp.c b/rtp.c
index 464bc303a907e7878388aa5dff23f76e52e92f7f..c61be2ee6b6300f3e386ab2e98016d9ced8b3a18 100644 (file)
--- 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) {