/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
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_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...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/ |
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...] |
/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...] |