HomeSort by relevance Sort by last modified time
    Searched defs:rtp_packet (Results 1 - 8 of 8) sorted by null

  /external/webrtc/webrtc/modules/rtp_rtcp/source/
fec_test_helper.cc 29 RtpPacket* rtp_packet = new RtpPacket; local
31 rtp_packet->data[i + kRtpHeaderSize] = offset + i;
32 rtp_packet->length = length + kRtpHeaderSize;
33 memset(&rtp_packet->header, 0, sizeof(WebRtcRTPHeader));
34 rtp_packet->header.frameType = kVideoFrameDelta;
35 rtp_packet->header.header.headerLength = kRtpHeaderSize;
36 rtp_packet->header.header.markerBit = (num_packets_ == 1);
37 rtp_packet->header.header.sequenceNumber = seq_num_;
38 rtp_packet->header.header.timestamp = timestamp_;
39 rtp_packet->header.header.payloadType = kVp8PayloadType
    [all...]
producer_fec_unittest.cc 120 RtpPacket* rtp_packet = generator_->NextPacket(i, 10); local
121 rtp_packets.push_back(rtp_packet);
122 EXPECT_EQ(0, producer_->AddRtpPacketAndGenerateFec(rtp_packet->data,
123 rtp_packet->length,
125 last_timestamp = rtp_packet->header.header.timestamp;
162 RtpPacket* rtp_packet = generator_->NextPacket(i * kNumPackets + j, 10); local
163 rtp_packets.push_back(rtp_packet);
164 EXPECT_EQ(0, producer_->AddRtpPacketAndGenerateFec(rtp_packet->data,
165 rtp_packet->length,
167 last_timestamp = rtp_packet->header.header.timestamp
    [all...]
  /external/webrtc/webrtc/call/
rtc_event_log2rtp_dump.cc 123 event.rtp_packet().has_header() &&
124 event.rtp_packet().header().size() >= 12 &&
125 event.rtp_packet().has_packet_length() &&
126 event.rtp_packet().has_type()) {
127 const webrtc::rtclog::RtpPacket& rtp_packet = event.rtp_packet(); local
128 if (FLAGS_noaudio && rtp_packet.type() == webrtc::rtclog::AUDIO)
130 if (FLAGS_novideo && rtp_packet.type() == webrtc::rtclog::VIDEO)
132 if (FLAGS_nodata && rtp_packet.type() == webrtc::rtclog::DATA)
137 reinterpret_cast<const uint8_t*>(rtp_packet.header().data()
    [all...]
rtc_event_log_unittest.cc 233 const rtclog::RtpPacket& rtp_packet = event.rtp_packet(); local
234 ASSERT_TRUE(rtp_packet.has_incoming());
235 EXPECT_EQ(incoming, rtp_packet.incoming());
236 ASSERT_TRUE(rtp_packet.has_type());
237 EXPECT_EQ(media_type, GetRuntimeMediaType(rtp_packet.type()));
238 ASSERT_TRUE(rtp_packet.has_packet_length());
239 EXPECT_EQ(total_size, rtp_packet.packet_length());
240 ASSERT_TRUE(rtp_packet.has_header());
241 ASSERT_EQ(header_size, rtp_packet.header().size())
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/tools/
rtc_event_log_source.cc 40 const rtclog::RtpPacket& rtp_packet = event.rtp_packet(); local
41 if (!rtp_packet.has_type() || rtp_packet.type() != rtclog::AUDIO ||
42 !rtp_packet.has_incoming() || !rtp_packet.incoming() ||
43 !rtp_packet.has_packet_length() || rtp_packet.packet_length() == 0 ||
44 !rtp_packet.has_header() || rtp_packet.header().size() == 0 |
81 const rtclog::RtpPacket* rtp_packet = GetRtpPacket(event); local
    [all...]
  /external/webrtc/talk/media/base/
testutils.cc 192 RawRtpPacket rtp_packet; local
193 result &= rtp_packet.ReadFromByteBuffer(&buf);
194 result &= rtp_packet.SameExceptSeqNumTimestampSsrc(
  /external/webrtc/talk/session/media/
srtpfilter_unittest.cc 95 char rtp_packet[sizeof(kPcmuFrame) + 10]; local
99 memcpy(rtp_packet, kPcmuFrame, rtp_len);
102 rtc::SetBE16(reinterpret_cast<uint8_t*>(rtp_packet) + 2,
104 memcpy(original_rtp_packet, rtp_packet, rtp_len);
107 EXPECT_TRUE(f1_.ProtectRtp(rtp_packet, rtp_len,
108 sizeof(rtp_packet), &out_len));
110 EXPECT_NE(0, memcmp(rtp_packet, original_rtp_packet, rtp_len));
111 EXPECT_TRUE(f2_.UnprotectRtp(rtp_packet, out_len, &out_len));
113 EXPECT_EQ(0, memcmp(rtp_packet, original_rtp_packet, rtp_len));
115 EXPECT_TRUE(f2_.ProtectRtp(rtp_packet, rtp_len
    [all...]
  /external/webrtc/webrtc/audio/
audio_receive_stream_unittest.cc 244 std::vector<uint8_t> rtp_packet = local
253 rtp_packet.size() - kExpectedHeaderLength,
257 recv_stream.DeliverRtp(&rtp_packet[0], rtp_packet.size(), packet_time));
270 std::vector<uint8_t> rtp_packet = CreateRtpHeaderWithOneByteExtension( local
279 rtp_packet.size() - kExpectedHeaderLength,
283 recv_stream.DeliverRtp(&rtp_packet[0], rtp_packet.size(), packet_time));

Completed in 419 milliseconds