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

Don't retain Receiver Report loss info when stats are disabled (take 2) #614

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

algesten
Copy link
Owner

See description in #610

Fixes #610
Fixes #613

OxleyS and others added 2 commits January 16, 2025 14:19
This prevents unbounded memory growth of the Vec that holds onto packet
loss records derived from RTCP Receiver Reports, if the method that would
drain that Vec will never get called.
@algesten
Copy link
Owner Author

@OxleyS @thomaseizinger i took your respective ideas and built a bit on it.

I wasn't allowed to push to #610, so I made this PR.

@algesten
Copy link
Owner Author

Thanks for both your help and input!

@algesten algesten merged commit 25d51d5 into main Jan 16, 2025
25 checks passed
@algesten algesten deleted the fix/stats-leak branch January 16, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unbounded memory growth handling reception reports with stats disabled
2 participants