HomeSort by relevance Sort by last modified time
    Searched refs:RtpTestUtility (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/third_party/libjingle/source/talk/media/base/
rtpdump_unittest.cc 44 RtpTestUtility::kTestRawRtpPackets[0].WriteToByteBuffer(kTestSsrc, &rtp_buf);
65 RtpTestUtility::kTestRawRtcpPackets[0].WriteToByteBuffer(&rtcp_buf);
84 ASSERT_TRUE(RtpTestUtility::WriteTestPackets(1, false, kTestSsrc, &writer));
121 ASSERT_TRUE(RtpTestUtility::WriteTestPackets(
122 RtpTestUtility::GetTestPacketCount(), false, kTestSsrc, &writer));
123 EXPECT_TRUE(RtpTestUtility::VerifyTestPacketsFromStream(
124 RtpTestUtility::GetTestPacketCount(), &stream, kTestSsrc));
126 // Check stream has only RtpTestUtility::GetTestPacketCount() packets.
129 for (size_t i = 0; i < RtpTestUtility::GetTestPacketCount(); ++i) {
143 for (size_t i = 0; i < RtpTestUtility::GetTestPacketCount(); ++i)
    [all...]
filemediaengine_unittest.cc 168 ret &= RtpTestUtility::WriteTestPackets(
169 RtpTestUtility::GetTestPacketCount(), false,
170 static_cast<uint32>(RtpTestUtility::kDefaultSsrc + i),
362 2 * RtpTestUtility::GetTestPacketCount(),
367 EXPECT_TRUE(RtpTestUtility::VerifyTestPacketsFromStream(
368 2 * RtpTestUtility::GetTestPacketCount(), &net_dump,
369 RtpTestUtility::kDefaultSsrc));
379 EXPECT_TRUE(RtpTestUtility::VerifyTestPacketsFromStream(
380 2 * RtpTestUtility::GetTestPacketCount(), voice_output_.get(),
381 RtpTestUtility::kDefaultSsrc))
    [all...]
testutils.cc 113 // Implementation of class RtpTestUtility
115 const RawRtpPacket RtpTestUtility::kTestRawRtpPackets[] = {
116 {0x80, 0, 0, 0, RtpTestUtility::kDefaultSsrc, "RTP frame 0"},
117 {0x80, 0, 1, 30, RtpTestUtility::kDefaultSsrc, "RTP frame 1"},
118 {0x80, 0, 2, 30, RtpTestUtility::kDefaultSsrc, "RTP frame 1"},
119 {0x80, 0, 3, 60, RtpTestUtility::kDefaultSsrc, "RTP frame 2"}
121 const RawRtcpPacket RtpTestUtility::kTestRawRtcpPackets[] = {
129 size_t RtpTestUtility::GetTestPacketCount() {
135 bool RtpTestUtility::WriteTestPackets(
156 bool RtpTestUtility::VerifyTestPacketsFromStream
    [all...]
testutils.h 94 class RtpTestUtility {
125 RtpTestUtility() {}
  /external/chromium_org/third_party/libjingle/source/talk/session/media/
mediarecorder_unittest.cc 58 RtpTestUtility::kTestRawRtpPackets[i].WriteToByteBuffer(
59 RtpTestUtility::kDefaultSsrc, &rtp_buf_[i]);
71 raw.WriteToByteBuffer(RtpTestUtility::kDefaultSsrc, &buf);
95 OnRtpPacket(RtpTestUtility::kTestRawRtpPackets[0]);
101 OnRtpPacket(RtpTestUtility::kTestRawRtpPackets[1]);
106 OnRtpPacket(RtpTestUtility::kTestRawRtpPackets[2]);
111 EXPECT_TRUE(RtpTestUtility::VerifyPacket(
112 &packet, &RtpTestUtility::kTestRawRtpPackets[1], false));
122 RtpTestUtility::kTestRawRtpPackets[0].size());
123 OnRtpPacket(RtpTestUtility::kTestRawRtpPackets[0])
    [all...]

Completed in 260 milliseconds