提交 35c035d0 authored 作者: José Luis Millán's avatar José Luis Millán

Temp: Log every incoming keyframe

上级 8a702609
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "RTC/Producer.hpp" #include "RTC/Producer.hpp"
#include "Logger.hpp" #include "Logger.hpp"
#include "MediaSoupError.hpp" #include "MediaSoupError.hpp"
#include "RTC/Codecs/Codecs.hpp"
#include "RTC/RTCP/FeedbackPsPli.hpp" #include "RTC/RTCP/FeedbackPsPli.hpp"
#include "RTC/RTCP/FeedbackRtp.hpp" #include "RTC/RTCP/FeedbackRtp.hpp"
#include "RTC/RTCP/FeedbackRtpNack.hpp" #include "RTC/RTCP/FeedbackRtpNack.hpp"
...@@ -289,6 +290,11 @@ namespace RTC ...@@ -289,6 +290,11 @@ namespace RTC
return; return;
} }
if (Codecs::IsKeyFrame(rtpStream->GetMimeType(), packet))
{
MS_DEBUG_TAG(rtp, "key frame received [ssrc:%" PRIu32 ", seq:%" PRIu16"]", packet->GetSsrc(), packet->GetSequenceNumber());
}
RTC::RtpEncodingParameters::Profile profile; RTC::RtpEncodingParameters::Profile profile;
try try
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论