Searched refs:rtcp_packet (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/media/cast/audio_receiver/ |
D | audio_receiver_unittest.cc | 158 TestRtcpPacketBuilder rtcp_packet; in TEST_F() local 163 rtcp_packet.AddSrWithNtp(audio_config_.feedback_ssrc, ntp_high, ntp_low, in TEST_F() 168 receiver_->IncomingPacket(rtcp_packet.Packet(), rtcp_packet.Length(), in TEST_F() 169 base::Bind(AudioReceiverTest::DummyDeletePacket, rtcp_packet.Packet())); in TEST_F()
|
D | audio_receiver.cc | 368 bool rtcp_packet = Rtcp::IsRtcpPacket(packet, length); in IncomingPacket() local 369 if (!rtcp_packet) { in IncomingPacket()
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | rtpdump_unittest.cc | 66 RtpDumpPacket rtcp_packet(rtcp_buf.Data(), rtcp_buf.Length(), 0, true); in TEST() local 68 EXPECT_TRUE(rtcp_packet.is_rtcp()); in TEST() 69 EXPECT_FALSE(rtcp_packet.IsValidRtpPacket()); in TEST() 70 EXPECT_TRUE(rtcp_packet.IsValidRtcpPacket()); in TEST() 71 EXPECT_TRUE(rtcp_packet.GetRtcpType(&type)); in TEST()
|
D | testutils.cc | 180 RawRtcpPacket rtcp_packet; in VerifyTestPacketsFromStream() local 181 result &= rtcp_packet.ReadFromByteBuffer(&buf); in VerifyTestPacketsFromStream() 182 result &= rtcp_packet.EqualsTo(kTestRawRtcpPackets[index]); in VerifyTestPacketsFromStream()
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
D | srtpfilter_unittest.cc | 92 char rtcp_packet[sizeof(kRtcpReport) + 4 + 10]; in TestProtectUnprotect() local 100 memcpy(rtcp_packet, kRtcpReport, rtcp_len); in TestProtectUnprotect() 118 EXPECT_TRUE(f1_.ProtectRtcp(rtcp_packet, rtcp_len, in TestProtectUnprotect() 119 sizeof(rtcp_packet), &out_len)); in TestProtectUnprotect() 121 EXPECT_NE(0, memcmp(rtcp_packet, kRtcpReport, rtcp_len)); in TestProtectUnprotect() 122 EXPECT_TRUE(f2_.UnprotectRtcp(rtcp_packet, out_len, &out_len)); in TestProtectUnprotect() 124 EXPECT_EQ(0, memcmp(rtcp_packet, kRtcpReport, rtcp_len)); in TestProtectUnprotect() 126 EXPECT_TRUE(f2_.ProtectRtcp(rtcp_packet, rtcp_len, in TestProtectUnprotect() 127 sizeof(rtcp_packet), &out_len)); in TestProtectUnprotect() 129 EXPECT_NE(0, memcmp(rtcp_packet, kRtcpReport, rtcp_len)); in TestProtectUnprotect() [all …]
|