Home
last modified time | relevance | path

Searched refs:rtcp_packet_ (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/talk/session/media/
Dsrtpfilter_unittest.cc580 memcpy(rtcp_packet_, kRtcpReport, rtcp_len_); in SetUp()
592 EXPECT_TRUE(s1_.ProtectRtcp(rtcp_packet_, rtcp_len_, in TestProtectRtcp()
593 sizeof(rtcp_packet_), &out_len)); in TestProtectRtcp()
595 EXPECT_NE(0, memcmp(rtcp_packet_, kRtcpReport, rtcp_len_)); in TestProtectRtcp()
606 EXPECT_TRUE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); in TestUnprotectRtcp()
608 EXPECT_EQ(0, memcmp(rtcp_packet_, kRtcpReport, out_len)); in TestUnprotectRtcp()
613 char rtcp_packet_[sizeof(kRtcpReport) + 4 + 10]; member in SrtpSessionTest
679 rtcp_packet_[1] = 0x34; in TEST_F()
681 EXPECT_FALSE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); in TEST_F()
690 EXPECT_FALSE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); in TEST_F()
[all …]
Dchannel_unittest.cc141 rtcp_packet_(reinterpret_cast<const char*>(rtcp_data), rtcp_len), in ChannelTest()
305 return media_channel1_->SendRtcp(rtcp_packet_.c_str(), in SendRtcp1()
306 static_cast<int>(rtcp_packet_.size())); in SendRtcp1()
309 return media_channel2_->SendRtcp(rtcp_packet_.c_str(), in SendRtcp2()
310 static_cast<int>(rtcp_packet_.size())); in SendRtcp2()
342 return media_channel1_->CheckRtcp(rtcp_packet_.c_str(), in CheckRtcp1()
343 static_cast<int>(rtcp_packet_.size())); in CheckRtcp1()
346 return media_channel2_->CheckRtcp(rtcp_packet_.c_str(), in CheckRtcp2()
347 static_cast<int>(rtcp_packet_.size())); in CheckRtcp2()
382 std::string data(rtcp_packet_); in CreateRtcpData()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_utility.cc86 return rtcp_packet_.release(); in ReleaseRtcpPacket()
1237 rtcp_packet_ = in ParseFBCommon()
1242 if (rtcp_packet_.get()) { in ParseFBCommon()
Drtcp_utility.h470 rtc::scoped_ptr<webrtc::rtcp::RtcpPacket> rtcp_packet_; variable