提交 1edb6181 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo 提交者: José Luis Millán

Improve logging

上级 6daec798
...@@ -107,7 +107,7 @@ void DepOpenSSL::LockingFunction(int mode, int n, const char* /*file*/, int /*li ...@@ -107,7 +107,7 @@ void DepOpenSSL::LockingFunction(int mode, int n, const char* /*file*/, int /*li
* - line: line in the source file calling this function. * - line: line in the source file calling this function.
*/ */
// MS_DEBUG_DEV("[mode: %s+%s, mutex id: %d, file: %s, line: %d]", // MS_DEBUG_DEV("[mode:%s+%s, mutex id:%d, file:%s, line:%d]",
// mode & CRYPTO_LOCK ? "LOCK" : "UNLOCK", mode & CRYPTO_READ ? "READ" : "WRITE", // mode & CRYPTO_LOCK ? "LOCK" : "UNLOCK", mode & CRYPTO_READ ? "READ" : "WRITE",
// n, file, line); // n, file, line);
......
...@@ -789,7 +789,7 @@ namespace RTC ...@@ -789,7 +789,7 @@ namespace RTC
{ {
MS_TRACE(); MS_TRACE();
MS_DEBUG_TAG(rtcp, "sending PLI [ssrc: %" PRIu32 "]", rtpStream->GetSsrc()); MS_DEBUG_TAG(rtcp, "sending PLI [ssrc:%" PRIu32 "]", rtpStream->GetSsrc());
RTC::RTCP::FeedbackPsPliPacket packet(0, rtpStream->GetSsrc()); RTC::RTCP::FeedbackPsPliPacket packet(0, rtpStream->GetSsrc());
......
...@@ -200,7 +200,7 @@ namespace RTC ...@@ -200,7 +200,7 @@ namespace RTC
MS_DEBUG_TAG( MS_DEBUG_TAG(
rbe, rbe,
"probe successful, sent at %d bps, received at %d bps " "probe successful, sent at %d bps, received at %d bps "
"[mean send delta:%fms, mean recv delta: %f ms, " "[mean send delta:%fms, mean recv delta:%f ms, "
"num probes:%d", "num probes:%d",
bestIt->GetSendBitrateBps(), bestIt->GetSendBitrateBps(),
bestIt->GetRecvBitrateBps(), bestIt->GetRecvBitrateBps(),
......
...@@ -85,8 +85,8 @@ namespace RTC ...@@ -85,8 +85,8 @@ namespace RTC
{ {
MS_WARN_TAG( MS_WARN_TAG(
rtx, rtx,
"ignoring RTX packet with invalid payload type [ssrc: %" PRIu32 " seq: %" PRIu16 "ignoring RTX packet with invalid payload type [ssrc:%" PRIu32 ", seq:%" PRIu16
" payload type: %" PRIu8 "]", ", pt:%" PRIu8 "]",
packet->GetSsrc(), packet->GetSsrc(),
packet->GetSequenceNumber(), packet->GetSequenceNumber(),
packet->GetPayloadType()); packet->GetPayloadType());
...@@ -102,7 +102,7 @@ namespace RTC ...@@ -102,7 +102,7 @@ namespace RTC
{ {
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtx, rtx,
"ignoring empty RTX packet [ssrc: %" PRIu32 " seq: %" PRIu16 " payload type: %" PRIu8 "]", "ignoring empty RTX packet [ssrc:%" PRIu32 ", seq:%" PRIu16 ", pt:%" PRIu8 "]",
packet->GetSsrc(), packet->GetSsrc(),
packet->GetSequenceNumber(), packet->GetSequenceNumber(),
packet->GetPayloadType()); packet->GetPayloadType());
...@@ -112,8 +112,8 @@ namespace RTC ...@@ -112,8 +112,8 @@ namespace RTC
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtx, rtx,
"received RTX packet [ssrc: %" PRIu32 " seq: %" PRIu16 "] recovering original [ssrc: %" PRIu32 "received RTX packet [ssrc:%" PRIu32 ", seq:%" PRIu16 "] recovering original [ssrc:%" PRIu32
" seq: %" PRIu16 "]", ", seq:%" PRIu16 "]",
this->rtxSsrc, this->rtxSsrc,
rtxSeq, rtxSeq,
packet->GetSsrc(), packet->GetSsrc(),
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论