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

JitterBuffer: Fix queue not properly decrementing packet count in some instances #249

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

thatsnotright
Copy link
Contributor

Description

This fixes a few issues with the priority queue not decrementing its count and adds some more test coverage.

Reference issue

Fixes #248

@thatsnotright thatsnotright self-assigned this Apr 21, 2024
@thatsnotright thatsnotright changed the title JitterBuffer: Fix queue not properly decrementing packet count in somee instances JitterBuffer: Fix queue not properly decrementing packet count in some instances Apr 21, 2024
Copy link

codecov bot commented Apr 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.22%. Comparing base (1449b4f) to head (d29bd2f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
+ Coverage   72.08%   72.22%   +0.14%     
==========================================
  Files          77       77              
  Lines        3582     3586       +4     
==========================================
+ Hits         2582     2590       +8     
+ Misses        866      862       -4     
  Partials      134      134              
Flag Coverage Δ
go 72.22% <100.00%> (+0.14%) ⬆️
wasm 70.41% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thatsnotright thatsnotright force-pushed the rob/pq_248_fix branch 2 times, most recently from 7a6b1a3 to a0fd6cd Compare April 21, 2024 13:47
In some cases the Priority Queue would not properly
decrement packet count even though it did remove a
packet from the queue.
Copy link
Member

@Sean-Der Sean-Der left a comment

Choose a reason for hiding this comment

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

Thanks @thatsnotright :)

@Sean-Der Sean-Der merged commit 35da023 into master Apr 21, 2024
15 checks passed
@Sean-Der Sean-Der deleted the rob/pq_248_fix branch April 21, 2024 15:00
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.

Priority queue error
2 participants