提交 46c7d264 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

remove logs

上级 955e6905
......@@ -135,7 +135,8 @@ namespace RTC
return;
}
MS_DEBUG("processing STUN Binding Request [Priority:%" PRIu32 ", UseCandidate:%s]", (uint32_t)msg->GetPriority(), msg->HasUseCandidate() ? "true" : "false");
// TODO: yes or no
// MS_DEBUG("processing STUN Binding Request [Priority:%" PRIu32 ", UseCandidate:%s]", (uint32_t)msg->GetPriority(), msg->HasUseCandidate() ? "true" : "false");
// Create a success response.
RTC::StunMessage* response = msg->CreateSuccessResponse();
......
......@@ -18,7 +18,7 @@ namespace RTC
CommonHeader* header = (CommonHeader*)data;
RtcpPacket* compoundPacket = new RtcpPacket(header, data, len);
MS_DEBUG("RTCP compound packet parsing begins");
// MS_DEBUG("RTCP compound packet parsing begins");
bool more = true;
......@@ -42,26 +42,26 @@ namespace RTC
}
// TODO: test
switch (header->packet_type)
{
case 200:
MS_DEBUG("SENDER REPORT packet found");
break;
case 201:
MS_DEBUG("RECEIVER REPORT packet found");
break;
case 202:
MS_DEBUG("SDES packet found");
break;
case 203:
MS_DEBUG("BYE packet found");
break;
case 204:
MS_DEBUG("APPLICATION DEFINED packet found");
break;
default:
MS_WARN("unknown RTCP packet type [packet_type:%" PRIu8 "]", header->packet_type);
}
// switch (header->packet_type)
// {
// case 200:
// MS_DEBUG("SENDER REPORT packet found");
// break;
// case 201:
// MS_DEBUG("RECEIVER REPORT packet found");
// break;
// case 202:
// MS_DEBUG("SDES packet found");
// break;
// case 203:
// MS_DEBUG("BYE packet found");
// break;
// case 204:
// MS_DEBUG("APPLICATION DEFINED packet found");
// break;
// default:
// MS_WARN("unknown RTCP packet type [packet_type:%" PRIu8 "]", header->packet_type);
// }
data += packet_len;
len -= packet_len;
......@@ -70,7 +70,7 @@ namespace RTC
more = false;
}
MS_DEBUG("RTCP compound packet parsing done");
// MS_DEBUG("RTCP compound packet parsing done");
return compoundPacket;
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论