Searched refs:rtx_packet (Results 1 – 4 of 4) sorted by relevance
117 RtpPacketReceived rtx_packet; in TEST() local118 EXPECT_TRUE(rtx_packet.Parse(rtc::ArrayView<const uint8_t>(kRtxPacket))); in TEST()128 rtx_sink.OnRtpPacket(rtx_packet); in TEST()134 RtpPacketReceived rtx_packet; in TEST() local135 EXPECT_TRUE(rtx_packet.Parse(rtc::ArrayView<const uint8_t>(kRtxPacket))); in TEST()136 EXPECT_FALSE(rtx_packet.recovered()); in TEST()142 rtx_sink.OnRtpPacket(rtx_packet); in TEST()151 RtpPacketReceived rtx_packet; in TEST() local152 EXPECT_TRUE(rtx_packet.Parse(rtc::ArrayView<const uint8_t>(kRtxPacket))); in TEST()153 rtx_sink.OnRtpPacket(rtx_packet); in TEST()[all …]
43 void RtxReceiveStream::OnRtpPacket(const RtpPacketReceived& rtx_packet) { in OnRtpPacket() argument45 rtp_receive_statistics_->OnRtpPacket(rtx_packet); in OnRtpPacket()47 rtc::ArrayView<const uint8_t> payload = rtx_packet.payload(); in OnRtpPacket()53 auto it = associated_payload_types_.find(rtx_packet.PayloadType()); in OnRtpPacket()56 << static_cast<int>(rtx_packet.PayloadType()) in OnRtpPacket()57 << " on rtx ssrc " << rtx_packet.Ssrc(); in OnRtpPacket()61 media_packet.CopyHeaderFrom(rtx_packet); in OnRtpPacket()67 media_packet.set_arrival_time_ms(rtx_packet.arrival_time_ms()); in OnRtpPacket()
700 RtpPacketToSend* rtx_packet) { in CopyHeaderAndExtensionsToRtxPacket() argument705 rtx_packet->SetMarker(packet.Marker()); in CopyHeaderAndExtensionsToRtxPacket()706 rtx_packet->SetTimestamp(packet.Timestamp()); in CopyHeaderAndExtensionsToRtxPacket()712 rtx_packet->SetCsrcs(csrcs); in CopyHeaderAndExtensionsToRtxPacket()733 rtx_packet->AllocateExtension(extension, source.size()); in CopyHeaderAndExtensionsToRtxPacket()749 std::unique_ptr<RtpPacketToSend> rtx_packet; in BuildRtxPacket() local764 rtx_packet = std::make_unique<RtpPacketToSend>(&rtp_header_extension_map_, in BuildRtxPacket()767 rtx_packet->SetPayloadType(kv->second); in BuildRtxPacket()770 rtx_packet->SetSequenceNumber(sequence_number_rtx_++); in BuildRtxPacket()773 rtx_packet->SetSsrc(*rtx_ssrc_); in BuildRtxPacket()[all …]
1532 const RtpPacketReceived& rtx_packet = transport_.sent_packets_[1]; in TEST_P() local1533 ASSERT_TRUE(rtx_packet.GetExtension<RepairedRtpStreamId>(&rid)); in TEST_P()1535 EXPECT_FALSE(rtx_packet.HasExtension<RtpStreamId>()); in TEST_P()1613 const RtpPacketReceived& rtx_packet = transport_.sent_packets_[2]; in TEST_P() local1615 ASSERT_TRUE(rtx_packet.GetExtension<RtpMid>(&mid)); in TEST_P()1617 ASSERT_TRUE(rtx_packet.GetExtension<RepairedRtpStreamId>(&rrid)); in TEST_P()1748 const RtpPacketReceived& rtx_packet = transport_.sent_packets_[1]; in TEST_P() local1749 EXPECT_FALSE(rtx_packet.HasExtension<RtpMid>()); in TEST_P()1750 EXPECT_FALSE(rtx_packet.HasExtension<RepairedRtpStreamId>()); in TEST_P()2391 std::unique_ptr<RtpPacketToSend> rtx_packet = in TEST_P() local[all …]