Home
last modified time | relevance | path

Searched refs:packet_loss (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dfec_controller_plr_based.cc81 const auto& packet_loss = packet_loss_smoother_->GetAverage(); in MakeDecision() local
83 fec_enabled_ = fec_enabled_ ? !FecDisablingDecision(packet_loss) in MakeDecision()
84 : FecEnablingDecision(packet_loss); in MakeDecision()
88 config->uplink_packet_loss_fraction = packet_loss ? *packet_loss : 0.0; in MakeDecision()
92 const absl::optional<float>& packet_loss) const { in FecEnablingDecision()
93 if (!uplink_bandwidth_bps_ || !packet_loss) { in FecEnablingDecision()
98 {static_cast<float>(*uplink_bandwidth_bps_), *packet_loss}); in FecEnablingDecision()
103 const absl::optional<float>& packet_loss) const { in FecDisablingDecision()
104 if (!uplink_bandwidth_bps_ || !packet_loss) { in FecDisablingDecision()
109 {static_cast<float>(*uplink_bandwidth_bps_), *packet_loss}); in FecDisablingDecision()
Dfec_controller_plr_based_unittest.cc129 for (float packet_loss : in TEST()
135 UpdateNetworkMetrics(&states, absl::nullopt, packet_loss); in TEST()
136 CheckDecision(&states, initial_fec_enabled, packet_loss); in TEST()
388 float packet_loss; in TEST() member
419 UpdateNetworkMetrics(&states, net_state.bandwidth, net_state.packet_loss); in TEST()
420 CheckDecision(&states, false, net_state.packet_loss); in TEST()
432 net_state.packet_loss); in TEST()
433 CheckDecision(&states, true, net_state.packet_loss); in TEST()
443 for (float packet_loss : {0.0f, 0.5f, 1.0f}) { in TEST()
446 UpdateNetworkMetrics(&states, bandwidth, packet_loss); in TEST()
[all …]
Dfec_controller_plr_based.h61 bool FecEnablingDecision(const absl::optional<float>& packet_loss) const;
62 bool FecDisablingDecision(const absl::optional<float>& packet_loss) const;
/external/webrtc/test/fuzzers/
Dforward_error_correction_fuzzer.cc76 uint8_t packet_loss; in FuzzOneInput() local
88 if (!fuzz_buffer.ReadUInt8(&packet_loss)) in FuzzOneInput()
112 if (packet_loss % 10 == 0) in FuzzOneInput()
/external/webrtc/test/pc/e2e/
Dnetwork_quality_metrics_reporter.cc106 int64_t packet_loss) { in ReportStats() argument
127 ReportResult("sent_packets_loss", network_label, packet_loss, "unitless"); in ReportStats()
Dnetwork_quality_metrics_reporter.h54 int64_t packet_loss);
/external/webrtc/tools_webrtc/network_emulator/
Demulate.py150 if options.packet_loss is not _DEFAULT_PRESET.packet_loss_percent:
151 connection_config.packet_loss_percent = options.packet_loss