Home
last modified time | relevance | path

Searched refs:RtpPacketMediaType (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/modules/pacing/
Dpacing_controller_unittest.cc54 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 …]
Dtask_queue_paced_sender_unittest.cc91 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 …]
Dpaced_sender_unittest.cc92 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()
Dpacing_controller.cc62 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()
Dround_robin_packet_queue.cc39 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()
Dround_robin_packet_queue.h76 RtpPacketMediaType Type() const;
Dpacing_controller.h169 void OnPacketSent(RtpPacketMediaType packet_type,
/external/webrtc/modules/rtp_rtcp/source/deprecated/
Ddeprecated_rtp_sender_egress.cc107 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/
Drtp_sender_egress.cc177 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 …]
Drtp_packet_to_send.h30 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_;
Drtp_sender_unittest.cc401 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 …]
Drtp_sender_audio.cc305 packet->set_packet_type(RtpPacketMediaType::kAudio); in SendAudio()
390 packet->set_packet_type(RtpPacketMediaType::kAudio); in SendTelephoneEventPacket()
Drtp_sender_video.cc168 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()
Drtp_sender_egress.h119 RtpPacketMediaType packet_type,
Drtp_sender.cc340 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()
Dflexfec_sender.cc132 RtpPacketMediaType::kForwardErrorCorrection); in GetFecPackets()
Dulpfec_generator.cc231 red_packet->set_packet_type(RtpPacketMediaType::kForwardErrorCorrection); in GetFecPackets()
Drtp_rtcp_impl.cc740 *nack_rate = send_rates[RtpPacketMediaType::kRetransmission].bps<uint32_t>(); in BitrateSent()
841 .GetSendRates()[RtpPacketMediaType::kRetransmission]; in NackOverheadRate()
Drtp_rtcp_impl2.cc646 *nack_rate = send_rates[RtpPacketMediaType::kRetransmission].bps<uint32_t>(); in BitrateSent()
/external/webrtc/modules/rtp_rtcp/include/
Drtp_rtcp_defines.h214 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/
Drtp_video_sender.cc861 *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/
Dtransport_feedback_adapter_unittest.cc117 packet_info.packet_type = RtpPacketMediaType::kVideo; in OnSentPacket()
400 packet_info.packet_type = RtpPacketMediaType::kVideo; in TEST_F()
Dtransport_feedback_adapter.cc98 packet.sent.audio = packet_info.packet_type == RtpPacketMediaType::kAudio; in AddPacket()
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Danalyzer.cc1277 packet_info.packet_type = RtpPacketMediaType::kVideo; in CreateSendSideBweSimulationGraph()
1280 packet_info.packet_type = RtpPacketMediaType::kAudio; in CreateSendSideBweSimulationGraph()