Searched refs:rtp_packet_ (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/talk/session/media/ |
D | srtpfilter_unittest.cc | 579 memcpy(rtp_packet_, kPcmuFrame, rtp_len_); in SetUp() 584 EXPECT_TRUE(s1_.ProtectRtp(rtp_packet_, rtp_len_, in TestProtectRtp() 585 sizeof(rtp_packet_), &out_len)); in TestProtectRtp() 587 EXPECT_NE(0, memcmp(rtp_packet_, kPcmuFrame, rtp_len_)); in TestProtectRtp() 600 EXPECT_TRUE(s2_.UnprotectRtp(rtp_packet_, rtp_len_, &out_len)); in TestUnprotectRtp() 602 EXPECT_EQ(0, memcmp(rtp_packet_, kPcmuFrame, out_len)); in TestUnprotectRtp() 612 char rtp_packet_[sizeof(kPcmuFrame) + 10]; member in SrtpSessionTest 664 EXPECT_TRUE(s1_.ProtectRtp(rtp_packet_, rtp_len_, in TEST_F() 665 sizeof(rtp_packet_), &out_len, &index)); in TEST_F() 678 rtp_packet_[0] = 0x12; in TEST_F() [all …]
|
D | channel_unittest.cc | 140 rtp_packet_(reinterpret_cast<const char*>(rtp_data), rtp_len), in ChannelTest() 295 return media_channel1_->SendRtp(rtp_packet_.c_str(), in SendRtp1() 296 static_cast<int>(rtp_packet_.size()), in SendRtp1() 300 return media_channel2_->SendRtp(rtp_packet_.c_str(), in SendRtp2() 301 static_cast<int>(rtp_packet_.size()), in SendRtp2() 334 return media_channel1_->CheckRtp(rtp_packet_.c_str(), in CheckRtp1() 335 static_cast<int>(rtp_packet_.size())); in CheckRtp1() 338 return media_channel2_->CheckRtp(rtp_packet_.c_str(), in CheckRtp2() 339 static_cast<int>(rtp_packet_.size())); in CheckRtp2() 371 std::string data(rtp_packet_); in CreateRtpData() [all …]
|