#include "talk/session/media/bundlefilter.h"
-#include "talk/base/logging.h"
#include "talk/media/base/rtputils.h"
+#include "webrtc/base/logging.h"
namespace cricket {
// |streams_| is empty, we will allow all rtcp packets pass through provided
// that they are valid rtcp packets in case that they are for early media.
if (!rtcp) {
+ // It may not be a RTP packet (e.g. SCTP).
+ if (!IsRtpPacket(data, len))
+ return false;
+
int payload_type = 0;
if (!GetRtpPayloadType(data, len, &payload_type)) {
return false;