[Pkg-voip-commits] [janus] 269/282: Fixed some nots and typos

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.

commit 15c45f2be7ef24e9eeb0c9e5f94ae606797dc454
Author: Lorenzo Miniero <lminiero at gmail.com>
Date:   Mon Dec 18 16:17:04 2017 +0100

    Fixed some nots and typos
---
 ice.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ice.c b/ice.c
index 9479e06..b2d21fe 100644
--- a/ice.c
+++ b/ice.c
@@ -2272,7 +2272,7 @@ static void janus_ice_cb_nice_recv(NiceAgent *agent, guint stream_id, guint comp
 				}
 				if (component->nack_sent_recent_cnt &&
 						(now - component->nack_sent_log_ts) > 5*G_USEC_PER_SEC) {
-					JANUS_LOG(LOG_VERB, "[%10"SCNu64"] Sent NACKs for %u missing packets (%s stream #%d)\n",
+					JANUS_LOG(LOG_VERB, "[%"SCNu64"] Sent NACKs for %u missing packets (%s stream #%d)\n",
 						handle->handle_id, component->nack_sent_recent_cnt, video ? "video" : "audio", vindex);
 					component->nack_sent_recent_cnt = 0;
 					component->nack_sent_log_ts = now;
@@ -2423,10 +2423,10 @@ static void janus_ice_cb_nice_recv(NiceAgent *agent, guint stream_id, guint comp
 					g_slist_free(nacks);
 					nacks = NULL;
 				}
-				if (component->retransmit_recent_cnt &&
-				    now - component->retransmit_log_ts > 5 * G_USEC_PER_SEC) {
-					JANUS_LOG(LOG_VERB, "[%10"SCNu64"]  retransmitted %u packets due to NACK\n",
-					                      handle->handle_id,    component->retransmit_recent_cnt);
+				if(component->retransmit_recent_cnt &&
+						now - component->retransmit_log_ts > 5*G_USEC_PER_SEC) {
+					JANUS_LOG(LOG_VERB, "[%"SCNu64"] Retransmitted %u packets due to NACK (%s stream #%d)\n",
+						handle->handle_id, component->retransmit_recent_cnt, video ? "video" : "audio", vindex);
 					component->retransmit_recent_cnt = 0;
 					component->retransmit_log_ts = now;
 				}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list