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

remove logs

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