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

Do not send empty NACK packets #211

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Conversation

adriancable
Copy link
Contributor

@adriancable adriancable commented Oct 16, 2023

Following PR #208, the NACK generator interceptor may send NACK RTCP packets even if there are no missing packets to NACK (specifically if the receive log indicates missing packets, but we've already hit the NACK send limit for those so do not need to NACK those any further). This is functionally 'harmless' but wastes link bandwidth. This PR skips sending a NACK RTCP packet if there are no packets to NACK.

@adriancable adriancable requested a review from boks1971 October 16, 2023 17:27
@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Files Coverage Δ
pkg/nack/generator_interceptor.go 67.17% <0.00%> (-1.05%) ⬇️

... and 1 file with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@adriancable adriancable merged commit e4eb151 into pion:master Oct 16, 2023
14 of 15 checks passed
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