HomeSort by relevance Sort by last modified time
    Searched full:media_packet (Results 1 - 17 of 17) sorted by null

  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/
tcp.cc 35 const MediaPacket& media_packet) {
36 latest_owd_ms_ = arrival_time_ms - media_packet.sender_timestamp_ms() / 1000;
37 acks_.push_back(media_packet.header().sequenceNumber);
40 BweReceiver::ReceivePacket(arrival_time_ms, media_packet);
send_side.cc 94 MediaPacket* media_packet = static_cast<MediaPacket*>(packet); local
95 send_time_history_.AddAndRemoveOld(media_packet->header().sequenceNumber,
96 media_packet->payload_size(),
98 send_time_history_.OnSentPacket(media_packet->header().sequenceNumber,
99 media_packet->sender_timestamp_ms());
127 const MediaPacket& media_packet) {
129 -1, arrival_time_ms, media_packet.sender_timestamp_ms(),
130 media_packet.header().sequenceNumber, media_packet.payload_size(), true));
133 BweReceiver::ReceivePacket(arrival_time_ms, media_packet);
    [all...]
remb.cc 85 const MediaPacket& media_packet) {
86 recv_stats_->IncomingPacket(media_packet.header(),
87 media_packet.payload_size(), false);
97 estimator_->IncomingPacket(arrival_time_ms, media_packet.payload_size(),
98 media_packet.header(), true);
103 BweReceiver::ReceivePacket(arrival_time_ms, media_packet);
tcp.h 27 const MediaPacket& media_packet) override;
send_side.h 57 const MediaPacket& media_packet) override;
nada.cc 50 const MediaPacket& media_packet) {
56 recv_stats_->IncomingPacket(media_packet.header(),
57 media_packet.payload_size(), false);
59 int64_t delay_ms = arrival_time_ms - media_packet.sender_timestamp_ms();
89 BweReceiver::ReceivePacket(arrival_time_ms, media_packet);
remb.h 58 const MediaPacket& media_packet) override;
nada_unittest.cc 340 const MediaPacket media_packet(kFlowId, send_time_us, 0, sequence_number);
341 nada_receiver_.ReceivePacket(arrival_time_ms, media_packet);
378 const MediaPacket media_packet(kFlowId, send_time_us, 0, sequence_number);
379 nada_receiver_.ReceivePacket(arrival_time_ms, media_packet);
447 const MediaPacket media_packet(kFlowId, send_time_us, 0, sequence_number);
448 nada_receiver_.ReceivePacket(arrival_time_ms, media_packet);
nada.h 40 const MediaPacket& media_packet) override;
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
bwe_unittest.cc 152 const MediaPacket media_packet(kFlowId, kSendTimeUs, kPayloadSizeBytes,
154 bwe_receiver_.ReceivePacket(kArrivalTimeMs, media_packet);
171 const MediaPacket media_packet(kFlowId, send_time_us, kPayloadSizeBytes,
173 bwe_receiver_.ReceivePacket(arrival_time_ms, media_packet);
186 const MediaPacket media_packet(kFlowId, 0, 0, 0);
187 bwe_receiver_.ReceivePacket(0, media_packet);
198 const MediaPacket media_packet(kFlowId, 0, 0, sequence_number);
200 bwe_receiver_.ReceivePacket(0, media_packet);
207 const MediaPacket media_packet(kFlowId, 0, 0, sequence_number);
209 bwe_receiver_.ReceivePacket(2 * kTimeWindowMs, media_packet);
    [all...]
packet_receiver.cc 89 const MediaPacket* media_packet = static_cast<const MediaPacket*>(*it); local
92 int64_t arrival_time_ms = media_packet->send_time_ms();
93 int64_t send_time_ms = media_packet->creation_time_ms();
99 media_packet->payload_size());
105 bwe_receiver_->ReceivePacket(arrival_time_ms, *media_packet);
109 delete media_packet;
packet_sender.cc 211 MediaPacket* media_packet = static_cast<MediaPacket*>(packet); local
213 PacedSender::kNormalPriority, media_packet->header().ssrc,
214 media_packet->header().sequenceNumber, media_packet->send_time_ms(),
215 media_packet->payload_size(), false);
286 MediaPacket* media_packet = static_cast<MediaPacket*>(*it); local
287 if (media_packet->header().sequenceNumber == sequence_number) {
292 assert(pace_out_time_ms >= media_packet->send_time_ms());
294 media_packet->SetAbsSendTimeMs(pace_out_time_ms);
295 media_packet->set_send_time_us(1000 * pace_out_time_ms)
    [all...]
bwe.cc 46 const MediaPacket& media_packet) {
51 received_packets_.Insert(media_packet.sequence_number(),
52 media_packet.send_time_ms(), arrival_time_ms,
53 media_packet.payload_size());
55 rate_counter_.UpdateRates(media_packet.send_time_ms() * 1000,
56 static_cast<uint32_t>(media_packet.payload_size()));
bwe_test_framework_unittest.cc 527 const MediaPacket* media_packet = static_cast<const MediaPacket*>(packet); local
528 uint16_t sequence_number = media_packet->header().sequenceNumber;
631 const MediaPacket* media_packet = static_cast<const MediaPacket*>(packet); local
632 int64_t delay_us = media_packet->send_time_us() -
633 send_times_us_[media_packet->header().sequenceNumber];
797 const MediaPacket* media_packet = static_cast<const MediaPacket*>(packet); local
798 EXPECT_LE(send_time_us, media_packet->send_time_us());
799 send_time_us = media_packet->send_time_us();
801 media_packet->payload_size()) {
802 EXPECT_EQ(expected_payload_size, media_packet->payload_size())
    [all...]
bwe.h 139 const MediaPacket& media_packet);
  /external/webrtc/webrtc/modules/rtp_rtcp/source/
rtp_fec_unittest.cc 819 ForwardErrorCorrection::Packet* media_packet; local
831 media_packet = *media_packet_list_item;
833 if (recovered_packet->pkt->length != media_packet->length) {
836 if (memcmp(recovered_packet->pkt->data, media_packet->data,
837 media_packet->length) != 0) {
897 ForwardErrorCorrection::Packet* media_packet = NULL; local
    [all...]
forward_error_correction.cc 131 for (Packet* media_packet : media_packet_list) {
132 assert(media_packet);
134 if (media_packet->length < kRtpHeaderSize) {
135 LOG(LS_WARNING) << "Media packet " << media_packet->length << " bytes "
141 if (media_packet->length + PacketOverhead() + kTransportOverhead >
143 LOG(LS_WARNING) << "Media packet " << media_packet->length << " bytes "
230 Packet* media_packet = *media_list_it; local
234 media_payload_length, media_packet->length - kRtpHeaderSize);
236 fec_packet_length = media_packet->length + fec_rtp_offset;
240 memcpy(fec_packet->data, media_packet->data, 2)
419 Packet* media_packet = *media_list_it; local
    [all...]

Completed in 141 milliseconds