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

Use pkt sequence number to compute timestamp for jitterbuffer packets #3406

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

atoppi
Copy link
Member

@atoppi atoppi commented Jul 15, 2024

When using the bare RTP timestamp as jitter buffer packet timestamp, UBSan detected some potential overflows in speex internal method update_timings.
This PR tries to address the issue by using a jb packet timestamp computed as packet seqnum * packet span, in order to prevent potential sums not fitting int32 ranges.

@atoppi atoppi merged commit 1cf9294 into master Sep 4, 2024
8 checks passed
@atoppi atoppi deleted the ab-jb-use-seqnum-as-timestamps branch September 13, 2024 13:24
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.

1 participant