Skip to content

Commit

Permalink
wrap transport wide cc seq number
Browse files Browse the repository at this point in the history
  • Loading branch information
murillo128 committed Nov 16, 2023
1 parent 5863db1 commit d587360
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/SendSideBandwidthEstimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ void SendSideBandwidthEstimation::ReceivedFeedback(uint8_t feedbackNum, const st
//For each packet
for (const auto& feedback : packets)
{
//Get feedback data
auto transportSeqNum = feedback.first;
//We need to wrap the sequence number as the rtcp reports calculates it as base+counter
// which is required to be able to retrieve the packets in increasing order her
auto transportSeqNum = feedback.first & 0xFFFF;
auto receivedTime = feedback.second;

//Get packet
Expand Down

0 comments on commit d587360

Please sign in to comment.