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(receive): Handle sleds of identical RTP timestamps #249

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

FelixMcFelix
Copy link
Member

Bots joining calls with users seem to provoke large runs of packets with identical timestamps -- the existing logic was intended to handle this catchup case in addition to the normal (+=960) at all times.

However, we were checking that a packet was modulo greater-than the next ts, rather than modulo less-than. Simple enough to fix.

Bots joining calls with users seem to provoke large runs of packets
with identical timestamps -- the existing logic was intended to handle this catchup case in addition to the normal (+=960) at all
times.

However, we were checking that a packet was modulo greater-than
the next ts, rather than modulo less-than. Simple enough to fix.
@FelixMcFelix FelixMcFelix added driver Relates to the driver or one of its sub-tasks. fix Fixes a bug or error receive Related to voice receive, decoding, decryption, or events labels Aug 21, 2024
@FelixMcFelix
Copy link
Member Author

The user who encountered this bug reported the fix as working in Discord. CI failures are unrelated; I'll hack together something to skip those tests on CI shortly.

@FelixMcFelix FelixMcFelix merged commit 530286c into serenity-rs:current Aug 24, 2024
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
driver Relates to the driver or one of its sub-tasks. fix Fixes a bug or error receive Related to voice receive, decoding, decryption, or events
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant