Skip to content
Snippets Groups Projects
Commit 1c09ee1f authored by Sébastien Blin's avatar Sébastien Blin
Browse files

ice_transport: improve logs

Change-Id: I017cf5a0fd76659efb8ff8e7a65567b5c357963d
parent c4d0547a
No related branches found
No related tags found
No related merge requests found
......@@ -512,7 +512,7 @@ IceTransport::Impl::onComplete(pj_ice_strans* ice_st, pj_ice_strans_op op, pj_st
const bool done = status == PJ_SUCCESS;
if (done) {
JAMI_DBG("[ice:%p] %s success", this, opname);
JAMI_DBG("[ice:%p] %s %s success", this, (config_.protocol == PJ_ICE_TP_TCP? "TCP" : "UDP"), opname);
}
else {
last_errmsg_ = sip_utils::sip_strerror(status);
......@@ -552,7 +552,7 @@ IceTransport::Impl::onComplete(pj_ice_strans* ice_st, pj_ice_strans_op op, pj_st
out << " [" << i << "] disabled\n";
}
}
JAMI_DBG("[ice:%p] connection pairs (local <-> remote):\n%s", this, out.str().c_str());
JAMI_DBG("[ice:%p] %s connection pairs (local <-> remote):\n%s", this, (config_.protocol == PJ_ICE_TP_TCP? "TCP" : "UDP"), out.str().c_str());
}
if (on_negodone_cb_)
on_negodone_cb_(done);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment