/external/webrtc/modules/pacing/ |
D | pacing_controller_unittest.cc | 54 std::unique_ptr<RtpPacketToSend> BuildPacket(RtpPacketMediaType type, in BuildPacket() 77 packet->packet_type() == RtpPacketMediaType::kRetransmission, in SendPacket() 78 packet->packet_type() == RtpPacketMediaType::kPadding); in SendPacket() 88 packet->set_packet_type(RtpPacketMediaType::kPadding); in GeneratePadding() 150 packets.back()->set_packet_type(RtpPacketMediaType::kPadding); in GeneratePadding() 170 if (packet->packet_type() != RtpPacketMediaType::kPadding) { in SendPacket() 191 packets.back()->set_packet_type(RtpPacketMediaType::kPadding); in GeneratePadding() 238 void Send(RtpPacketMediaType type, in Send() 247 void SendAndExpectPacket(RtpPacketMediaType type, in SendAndExpectPacket() 255 type == RtpPacketMediaType::kRetransmission, false)) in SendAndExpectPacket() [all …]
|
D | task_queue_paced_sender_unittest.cc | 91 std::unique_ptr<RtpPacketToSend> BuildRtpPacket(RtpPacketMediaType type) { in BuildRtpPacket() 95 case RtpPacketMediaType::kAudio: in BuildRtpPacket() 98 case RtpPacketMediaType::kVideo: in BuildRtpPacket() 101 case RtpPacketMediaType::kRetransmission: in BuildRtpPacket() 102 case RtpPacketMediaType::kPadding: in BuildRtpPacket() 105 case RtpPacketMediaType::kForwardErrorCorrection: in BuildRtpPacket() 115 RtpPacketMediaType type, in GeneratePackets() 139 GeneratePackets(RtpPacketMediaType::kVideo, kPacketsToSend)); in TEST() 181 GeneratePackets(RtpPacketMediaType::kVideo, kPacketsPerSecond)); in TEST() 205 pacer.EnqueuePackets(GeneratePackets(RtpPacketMediaType::kVideo, 3)); in TEST() [all …]
|
D | paced_sender_unittest.cc | 92 std::unique_ptr<RtpPacketToSend> BuildRtpPacket(RtpPacketMediaType type) { in BuildRtpPacket() 96 case RtpPacketMediaType::kAudio: in BuildRtpPacket() 99 case RtpPacketMediaType::kVideo: in BuildRtpPacket() 102 case RtpPacketMediaType::kRetransmission: in BuildRtpPacket() 103 case RtpPacketMediaType::kPadding: in BuildRtpPacket() 106 case RtpPacketMediaType::kForwardErrorCorrection: in BuildRtpPacket() 131 packets.emplace_back(BuildRtpPacket(RtpPacketMediaType::kVideo)); in TEST_P()
|
D | pacing_controller.cc | 62 int GetPriorityForType(RtpPacketMediaType type) { in GetPriorityForType() 65 case RtpPacketMediaType::kAudio: in GetPriorityForType() 68 case RtpPacketMediaType::kRetransmission: in GetPriorityForType() 71 case RtpPacketMediaType::kVideo: in GetPriorityForType() 72 case RtpPacketMediaType::kForwardErrorCorrection: in GetPriorityForType() 77 case RtpPacketMediaType::kPadding: in GetPriorityForType() 565 const RtpPacketMediaType packet_type = *rtp_packet->packet_type(); in ProcessPackets() 687 void PacingController::OnPacketSent(RtpPacketMediaType packet_type, in OnPacketSent() 693 bool audio_packet = packet_type == RtpPacketMediaType::kAudio; in OnPacketSent()
|
D | round_robin_packet_queue.cc | 39 RtpPacketMediaType::kRetransmission), in QueuedPacket() 57 RtpPacketMediaType RoundRobinPacketQueue::QueuedPacket::Type() const { in Type() 70 return Type() == RtpPacketMediaType::kRetransmission; in IsRetransmission() 239 if (single_packet_queue_->Type() == RtpPacketMediaType::kAudio) { in LeadingAudioPacketEnqueueTime() 251 if (top_packet.Type() == RtpPacketMediaType::kAudio) { in LeadingAudioPacketEnqueueTime()
|
D | round_robin_packet_queue.h | 76 RtpPacketMediaType Type() const;
|
D | pacing_controller.h | 169 void OnPacketSent(RtpPacketMediaType packet_type,
|
/external/webrtc/modules/rtp_rtcp/source/deprecated/ |
D | deprecated_rtp_sender_egress.cc | 107 GetSendRates()[RtpPacketMediaType::kRetransmission].kbps(), in SendPacket() 116 GetSendRates()[RtpPacketMediaType::kRetransmission].kbps(), in SendPacket() 166 const bool is_media = packet->packet_type() == RtpPacketMediaType::kAudio || in SendPacket() 167 packet->packet_type() == RtpPacketMediaType::kVideo; in SendPacket() 182 if (packet->packet_type() != RtpPacketMediaType::kPadding && in SendPacket() 183 packet->packet_type() != RtpPacketMediaType::kRetransmission) { in SendPacket() 215 send_rates[RtpPacketMediaType::kRetransmission].bps(), ssrc_); in ProcessBitrateAndNotifyObservers() 227 RtpPacketMediaType type = static_cast<RtpPacketMediaType>(i); in GetSendRatesLocked() 291 case RtpPacketMediaType::kAudio: in HasCorrectSsrc() 292 case RtpPacketMediaType::kVideo: in HasCorrectSsrc() [all …]
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_sender_egress.cc | 177 RTC_DCHECK(packet->packet_type() == RtpPacketMediaType::kVideo); in SendPacket() 234 const bool is_media = packet->packet_type() == RtpPacketMediaType::kAudio || in SendPacket() 235 packet->packet_type() == RtpPacketMediaType::kVideo; in SendPacket() 256 if (packet->packet_type() != RtpPacketMediaType::kPadding && in SendPacket() 257 packet->packet_type() != RtpPacketMediaType::kRetransmission) { in SendPacket() 284 RtpPacketMediaType packet_type = *packet->packet_type(); in SendPacket() 306 RtpPacketMediaType type = static_cast<RtpPacketMediaType>(i); in GetSendRatesLocked() 387 case RtpPacketMediaType::kAudio: in HasCorrectSsrc() 388 case RtpPacketMediaType::kVideo: in HasCorrectSsrc() 390 case RtpPacketMediaType::kRetransmission: in HasCorrectSsrc() [all …]
|
D | rtp_packet_to_send.h | 30 using Type = RtpPacketMediaType; 47 void set_packet_type(RtpPacketMediaType type) { packet_type_ = type; } in set_packet_type() 48 absl::optional<RtpPacketMediaType> packet_type() const { in packet_type() 122 absl::optional<RtpPacketMediaType> packet_type_;
|
D | rtp_sender_unittest.cc | 401 packet->set_packet_type(RtpPacketMediaType::kVideo); in BuildRtpPacket() 865 packet->set_packet_type(RtpPacketMediaType::kVideo); in TEST_P() 895 packet->set_packet_type(RtpPacketMediaType::kVideo); in TEST_P() 932 packet->set_packet_type(RtpPacketMediaType::kVideo); in TEST_P() 962 packet->set_packet_type(RtpPacketMediaType::kVideo); in TEST_P() 999 packet->set_packet_type(RtpPacketMediaType::kVideo); in TEST_P() 1044 packet->set_packet_type(RtpPacketMediaType::kVideo); in TEST_P() 1060 packet->set_packet_type(RtpPacketMediaType::kRetransmission); in TEST_P() 1124 packet->set_packet_type(RtpPacketMediaType::kVideo); in TEST_P() 1173 packet->set_packet_type(RtpPacketMediaType::kVideo); in TEST_P() [all …]
|
D | rtp_sender_audio.cc | 305 packet->set_packet_type(RtpPacketMediaType::kAudio); in SendAudio() 390 packet->set_packet_type(RtpPacketMediaType::kAudio); in SendTelephoneEventPacket()
|
D | rtp_sender_video.cc | 168 RtpPacketMediaType::kForwardErrorCorrection) { in LogAndSendToNetwork() 181 if (*packet->packet_type() == RtpPacketMediaType::kVideo) { in LogAndSendToNetwork() 603 red_packet->set_packet_type(RtpPacketMediaType::kVideo); in SendVideo() 607 packet->set_packet_type(RtpPacketMediaType::kVideo); in SendVideo()
|
D | rtp_sender_egress.h | 119 RtpPacketMediaType packet_type,
|
D | rtp_sender.cc | 340 packet->set_packet_type(RtpPacketMediaType::kRetransmission); in ReSendPacket() 421 packet->set_packet_type(RtpPacketMediaType::kPadding); in GeneratePadding() 450 padding_packet->set_packet_type(RtpPacketMediaType::kPadding); in GeneratePadding()
|
D | flexfec_sender.cc | 132 RtpPacketMediaType::kForwardErrorCorrection); in GetFecPackets()
|
D | ulpfec_generator.cc | 231 red_packet->set_packet_type(RtpPacketMediaType::kForwardErrorCorrection); in GetFecPackets()
|
D | rtp_rtcp_impl.cc | 740 *nack_rate = send_rates[RtpPacketMediaType::kRetransmission].bps<uint32_t>(); in BitrateSent() 841 .GetSendRates()[RtpPacketMediaType::kRetransmission]; in NackOverheadRate()
|
D | rtp_rtcp_impl2.cc | 646 *nack_rate = send_rates[RtpPacketMediaType::kRetransmission].bps<uint32_t>(); in BitrateSent()
|
/external/webrtc/modules/rtp_rtcp/include/ |
D | rtp_rtcp_defines.h | 214 enum class RtpPacketMediaType : size_t { enum 231 absl::optional<RtpPacketMediaType> packet_type; 402 DataRate& operator[](RtpPacketMediaType type) { 405 const DataRate& operator[](RtpPacketMediaType type) const {
|
/external/webrtc/call/ |
D | rtp_video_sender.cc | 861 *sent_video_rate_bps += send_bitrate[RtpPacketMediaType::kVideo].bps(); in ProtectionRequest() 863 send_bitrate[RtpPacketMediaType::kForwardErrorCorrection].bps(); in ProtectionRequest() 865 send_bitrate[RtpPacketMediaType::kRetransmission].bps(); in ProtectionRequest() 874 stream.rtp_rtcp->GetSendRates()[RtpPacketMediaType::kRetransmission] in ProtectionRequest()
|
/external/webrtc/modules/congestion_controller/rtp/ |
D | transport_feedback_adapter_unittest.cc | 117 packet_info.packet_type = RtpPacketMediaType::kVideo; in OnSentPacket() 400 packet_info.packet_type = RtpPacketMediaType::kVideo; in TEST_F()
|
D | transport_feedback_adapter.cc | 98 packet.sent.audio = packet_info.packet_type == RtpPacketMediaType::kAudio; in AddPacket()
|
/external/webrtc/rtc_tools/rtc_event_log_visualizer/ |
D | analyzer.cc | 1277 packet_info.packet_type = RtpPacketMediaType::kVideo; in CreateSendSideBweSimulationGraph() 1280 packet_info.packet_type = RtpPacketMediaType::kAudio; in CreateSendSideBweSimulationGraph()
|