Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dproducer_fec.cc108 static_cast<int>(ForwardErrorCorrection::kMaxMediaPackets)) { in SetFecParameters()
110 ForwardErrorCorrection::kMaxMediaPackets; in SetFecParameters()
145 if (media_packets_fec_.size() < ForwardErrorCorrection::kMaxMediaPackets) { in AddRtpPacketAndGenerateFec()
164 static_cast<int>(ForwardErrorCorrection::kMaxMediaPackets)); in AddRtpPacketAndGenerateFec()
Dforward_error_correction.cc39 enum { kMaxFecPackets = ForwardErrorCorrection::kMaxMediaPackets };
87 : generated_fec_packets_(kMaxMediaPackets), fec_packet_received_(false) {} in ForwardErrorCorrection()
121 if (num_media_packets > kMaxMediaPackets) { in GenerateFEC()
123 << " media packets per frame. Max is " << kMaxMediaPackets; in GenerateFEC()
823 while (recovered_packet_list->size() > kMaxMediaPackets) { in DiscardOldPackets()
829 assert(recovered_packet_list->size() <= kMaxMediaPackets); in DiscardOldPackets()
841 if (recovered_packet_list->size() == kMaxMediaPackets) { in DecodeFEC()
845 if (seq_num_diff > kMaxMediaPackets) { in DecodeFEC()
Dforward_error_correction.h34 static const unsigned int kMaxMediaPackets = 48u;
Drtp_fec_unittest.cc27 const uint8_t kMaxNumberMediaPackets = ForwardErrorCorrection::kMaxMediaPackets;
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc100 const uint16_t kMaxMediaPackets[] = { in TEST() local
104 ASSERT_EQ(12, kMaxMediaPackets[1]) << "Max media packets for bursty mode not " in TEST()
147 const uint32_t packetMaskMax = kMaxMediaPackets[mask_type_idx]; in TEST()
Dtest_packet_masks_metrics.cc60 const uint16_t kMaxMediaPackets[] = {kMaxNumberMediaPackets, 12}; variable
731 const int packet_mask_max = kMaxMediaPackets[fec_mask_type]; in ProcessXORPacketMasks()