Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: versatica/mediasoup
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b810ab0abf65b95fec789a484efd19ef8aef900f
Choose a base ref
..
head repository: versatica/mediasoup
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 01ca264610ec2307ede43c2982e2a88d5222a4d3
Choose a head ref
Showing with 5 additions and 0 deletions.
  1. +5 −0 worker/src/RTC/TransportCongestionControlServer.cpp
5 changes: 5 additions & 0 deletions worker/src/RTC/TransportCongestionControlServer.cpp
Original file line number Diff line number Diff line change
@@ -117,13 +117,16 @@ namespace RTC
if (arrival_time > kMaxTimeMs)
{
MS_WARN_DEV("arrival time out of bounds:%" PRIu64 "", arrival_time);

return;
}

int64_t seq = this->unwrapper.Unwrap(sequence_number);

if (seq <= 0)
{
MS_WARN_DEV("invalid seq_num:%" PRIu16 ", unwrap-seq:%" PRId64 "", sequence_number, seq);

return;
}

@@ -217,6 +220,7 @@ namespace RTC

// RTC_DCHECK(begin_iterator != end_iterator);
int64_t next_sequence_number = base_sequence_number;

for (auto it = begin_iterator; it != end_iterator; ++it)
{
auto result = this->transportCcFeedbackPacket->AddPacket(
@@ -256,6 +260,7 @@ namespace RTC
if (this->transportCcFeedbackPacket->IsFull())
{
MS_DEBUG_DEV("transport-cc feedback packet is full, sending feedback now");

break;
}
}