#include <map>
#include <vector>
+#include "testing/gtest/include/gtest/gtest.h"
+
#include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h"
#include "webrtc/typedefs.h"
#include "webrtc/video_send_stream.h"
private:
virtual bool SendRtp(const uint8_t* packet, size_t length) OVERRIDE {
+ EXPECT_FALSE(RtpHeaderParser::IsRtcp(packet, static_cast<int>(length)));
Action action;
{
CriticalSectionScoped crit_(lock_);
}
virtual bool SendRtcp(const uint8_t* packet, size_t length) OVERRIDE {
+ EXPECT_TRUE(RtpHeaderParser::IsRtcp(packet, static_cast<int>(length)));
Action action;
{
CriticalSectionScoped crit_(lock_);