srtpfilter_unittest.cc | 531 memcpy(rtcp_packet_, kRtcpReport, rtcp_len_); 543 EXPECT_TRUE(s1_.ProtectRtcp(rtcp_packet_, rtcp_len_, 544 sizeof(rtcp_packet_), &out_len)); 546 EXPECT_NE(0, memcmp(rtcp_packet_, kRtcpReport, rtcp_len_)); 557 EXPECT_TRUE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); 559 EXPECT_EQ(0, memcmp(rtcp_packet_, kRtcpReport, out_len)); 564 char rtcp_packet_[sizeof(kRtcpReport) + 4 + 10]; member in class:SrtpSessionTest 617 rtcp_packet_[1] = 0x34; 619 EXPECT_FALSE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)); 628 EXPECT_FALSE(s2_.UnprotectRtcp(rtcp_packet_, rtcp_len_, &out_len)) [all...] |