Searched refs:RtpPacketType (Results 1 – 6 of 6) sorted by relevance
309 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 …]
46 enum class RtpPacketType { enum69 RtpPacketType InferRtpPacketType(rtc::ArrayView<const char> packet);74 bool IsValidRtpPacketSize(RtpPacketType packet_type, size_t size);77 absl::string_view RtpPacketTypeToString(RtpPacketType packet_type);
391 EXPECT_EQ(RtpPacketType::kRtp, InferRtpPacketType(kPcmuFrameArrayView)); in TEST()392 EXPECT_EQ(RtpPacketType::kRtcp, InferRtpPacketType(kRtcpReportArrayView)); in TEST()393 EXPECT_EQ(RtpPacketType::kUnknown, in TEST()
251 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()
384 RtpPacketType packet_type = rtcp ? RtpPacketType::kRtcp : RtpPacketType::kRtp; in SendPacket()
1179 using RtpPacketType = LoggedRtpPacketOutgoing; in CreateSendSideBweSimulationGraph() typedef1183 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() typedef1389 std::multimap<int64_t, const RtpPacketType*> incoming_rtp; in CreateReceiveSideBweSimulationGraph()1415 const RtpPacketType& packet = *kv.second; in CreateReceiveSideBweSimulationGraph()