Cleans up code related to early loss detection flag.

Bug: webrtc:10676
Change-Id: I32dab4d4cfc4e8e09c3611b1484fb4394b7efbad
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/186563
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32295}
This commit is contained in:
Erik Språng 2020-10-02 16:04:46 +02:00 committed by Commit Bot
parent e3c436b16a
commit ab89d02b05
2 changed files with 0 additions and 6 deletions

View File

@ -337,9 +337,6 @@ RtpVideoSender::RtpVideoSender(
account_for_packetization_overhead_(!absl::StartsWith(
field_trials_.Lookup("WebRTC-SubtractPacketizationOverhead"),
"Disabled")),
use_early_loss_detection_(!absl::StartsWith(
field_trials_.Lookup("WebRTC-UseEarlyLossDetection"),
"Disabled")),
has_packet_feedback_(TransportSeqNumExtensionConfigured(rtp_config)),
use_deferred_fec_(!absl::StartsWith(
field_trials_.Lookup("WebRTC-DeferredFecGeneration"),
@ -899,7 +896,6 @@ void RtpVideoSender::OnPacketFeedbackVector(
}
}
if (use_early_loss_detection_) {
// Map from SSRC to vector of RTP sequence numbers that are indicated as
// lost by feedback, without being trailed by any received packets.
std::map<uint32_t, std::vector<uint16_t>> early_loss_detected_per_ssrc;
@ -925,7 +921,6 @@ void RtpVideoSender::OnPacketFeedbackVector(
rtp_sender->ReSendPacket(sequence_number);
}
}
}
for (const auto& kv : acked_packets_per_ssrc) {
const uint32_t ssrc = kv.first;

View File

@ -172,7 +172,6 @@ class RtpVideoSender : public RtpVideoSenderInterface,
const FieldTrialBasedConfig field_trials_;
const bool send_side_bwe_with_overhead_;
const bool account_for_packetization_overhead_;
const bool use_early_loss_detection_;
const bool has_packet_feedback_;
const bool use_deferred_fec_;