[feat] update qos module

This commit is contained in:
dijunkun
2025-01-07 17:31:14 +08:00
parent 601fedfd76
commit 7a84b25b5c
14 changed files with 224 additions and 83 deletions

View File

@@ -60,7 +60,7 @@ void CongestionControlFeedbackTracker::AddPacketsToFeedback(
return;
}
rtc::EcnMarking ecn = rtc::EcnMarking::kNotEct;
EcnMarking ecn = EcnMarking::kNotEct;
TimeDelta arrival_time_offset = TimeDelta::MinusInfinity();
if (sequence_number == packet_it->unwrapped_sequence_number) {
@@ -75,8 +75,8 @@ void CongestionControlFeedbackTracker::AddPacketsToFeedback(
// the copies of the duplicated packet are ECN-CE marked, then an ECN-CE
// mark MUST be reported for that packet; otherwise, the ECN mark of the
// first copy to arrive is reported.
if (packet_it->ecn == rtc::EcnMarking::kCe) {
ecn = rtc::EcnMarking::kCe;
if (packet_it->ecn == EcnMarking::kCe) {
ecn = EcnMarking::kCe;
}
LOG_WARN("Received duplicate packet ssrc: {} seq: {} ecn: {}", ssrc,
static_cast<uint16_t>(sequence_number), static_cast<int>(ecn));