Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lost pending statuses in transport feedback #1050

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

ggarber
Copy link
Contributor

@ggarber ggarber commented Apr 4, 2023

When sending TransportCcFeedbackPacket it doesn't include all the statuses that were not added to a chunk yet because there was no call to TransportCcFeedbackPacket->Finish() method to add those pending ones before sending the message.

Because of that at a low packet rate (<50 packets / sec) the TransportCCFeedbackPacket is empty most of the time and the bandwidth estimation can not be calculated properly.

@@ -221,6 +221,8 @@ namespace RTC
{
MS_TRACE();

this->transportCcFeedbackPacket->Finish();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is amazing because indeed we were NEVER calling this method (but just in the C++ test).

@ibc ibc merged commit e93d4f6 into versatica:v3 Apr 4, 2023
@ibc
Copy link
Member

ibc commented Apr 4, 2023

Released in 3.11.21

vpalmisano pushed a commit to vpalmisano/mediasoup that referenced this pull request Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants