From 67a79b4c1736100f1d96dfbe23b9024de747429a Mon Sep 17 00:00:00 2001 From: Heikki Tampio Date: Thu, 22 Jun 2023 12:06:19 +0300 Subject: [PATCH] multiplex: Remove old debug prints --- src/media_stream.cc | 6 ------ src/zrtp.cc | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/media_stream.cc b/src/media_stream.cc index 460bbfb..9d50ac4 100644 --- a/src/media_stream.cc +++ b/src/media_stream.cc @@ -387,8 +387,6 @@ rtp_error_t uvgrtp::media_stream::init(std::shared_ptr zrtp) return free_resources(RTP_TIMEOUT); } } - UVG_LOG_DEBUG("Starting multistream negotiation ----------"); - } ret = RTP_OK; @@ -404,12 +402,8 @@ rtp_error_t uvgrtp::media_stream::init(std::shared_ptr zrtp) return free_resources(ret); zrtp->dh_has_finished(); // only after the DH stream has gotten its keys, do we let non-DH stream perform ZRTP - UVG_LOG_ERROR("ZRTP finished --------------"); install_packet_handlers(); - // Sleep is there to make sure that our last ZRTP messages get to their destination before any of our sent media - // packets do. This can happen if the media packets are routed via a faster route. - //std::this_thread::sleep_for(std::chrono::milliseconds(50)); return RTP_OK; } diff --git a/src/zrtp.cc b/src/zrtp.cc index ae2cd42..ce18b70 100644 --- a/src/zrtp.cc +++ b/src/zrtp.cc @@ -437,7 +437,7 @@ rtp_error_t uvgrtp::zrtp::begin_session() if (hello_recv) { - UVG_LOG_DEBUG("Got Hello ACK! Ending Hello phase"); + UVG_LOG_DEBUG("ZRTP Hello phase done"); return RTP_OK; } else @@ -515,7 +515,6 @@ rtp_error_t uvgrtp::zrtp::init_session(int key_agreement) ++i; } if (commit_) { - UVG_LOG_DEBUG("Commit found"); /* As per RFC 6189, if both parties have sent Commit message and the mode is DH, * hvi shall determine who is the initiator (the party with larger hvi is initiator) */ commit.parse_msg(commit_, session_, commit_len_);