Home
last modified time | relevance | path

Searched refs:RtpPacketType (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/media/base/
Drtp_utils.cc309 bool IsValidRtpPacketSize(RtpPacketType packet_type, size_t size) { in IsValidRtpPacketSize()
310 RTC_DCHECK_NE(RtpPacketType::kUnknown, packet_type); in IsValidRtpPacketSize()
311 size_t min_packet_length = packet_type == RtpPacketType::kRtcp in IsValidRtpPacketSize()
317 absl::string_view RtpPacketTypeToString(RtpPacketType packet_type) { in RtpPacketTypeToString()
319 case RtpPacketType::kRtp: in RtpPacketTypeToString()
321 case RtpPacketType::kRtcp: in RtpPacketTypeToString()
323 case RtpPacketType::kUnknown: in RtpPacketTypeToString()
328 RtpPacketType InferRtpPacketType(rtc::ArrayView<const char> packet) { in InferRtpPacketType()
331 return RtpPacketType::kRtcp; in InferRtpPacketType()
334 return RtpPacketType::kRtp; in InferRtpPacketType()
[all …]
Drtp_utils.h46 enum class RtpPacketType { enum
69 RtpPacketType InferRtpPacketType(rtc::ArrayView<const char> packet);
74 bool IsValidRtpPacketSize(RtpPacketType packet_type, size_t size);
77 absl::string_view RtpPacketTypeToString(RtpPacketType packet_type);
Drtp_utils_unittest.cc391 EXPECT_EQ(RtpPacketType::kRtp, InferRtpPacketType(kPcmuFrameArrayView)); in TEST()
392 EXPECT_EQ(RtpPacketType::kRtcp, InferRtpPacketType(kRtcpReportArrayView)); in TEST()
393 EXPECT_EQ(RtpPacketType::kUnknown, in TEST()
/external/webrtc/pc/
Drtp_transport.cc251 cricket::RtpPacketType packet_type = cricket::InferRtpPacketType(array_view); in OnReadPacket()
253 if (packet_type == cricket::RtpPacketType::kUnknown) { in OnReadPacket()
266 if (packet_type == cricket::RtpPacketType::kRtcp) { in OnReadPacket()
Dchannel.cc384 RtpPacketType packet_type = rtcp ? RtpPacketType::kRtcp : RtpPacketType::kRtp; in SendPacket()
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Danalyzer.cc1179 using RtpPacketType = LoggedRtpPacketOutgoing; in CreateSendSideBweSimulationGraph() typedef
1183 std::multimap<int64_t, const RtpPacketType*> outgoing_rtp; in CreateSendSideBweSimulationGraph()
1185 for (const RtpPacketType& rtp_packet : stream.outgoing_packets) in CreateSendSideBweSimulationGraph()
1263 const RtpPacketType& rtp_packet = *rtp_iterator->second; in CreateSendSideBweSimulationGraph()
1366 using RtpPacketType = LoggedRtpPacketIncoming; in CreateReceiveSideBweSimulationGraph() typedef
1389 std::multimap<int64_t, const RtpPacketType*> incoming_rtp; in CreateReceiveSideBweSimulationGraph()
1415 const RtpPacketType& packet = *kv.second; in CreateReceiveSideBweSimulationGraph()