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

Ignore RTP packets with empty payload #1403

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

ibc
Copy link
Member

@ibc ibc commented May 19, 2024

Details

  • This PR replaces PR Fix handling of padding only packets #793 (by @ggarber) with code updated to current v3 and addresses feedback.
  • All XxxxConsumer classes drop empty RTP packets.
  • RtpStreamRecv no longer considers empty RTP packets for counter increase and stream activation.
  • A substancial change with original PR is that RtpStreamRecv accepts those empty packets (otherwise we would generate invalid NACKs), it's just that those don't account anymore for counter increase and stream activation.

### Details

- This PR replaces PR #793 (by @ggarber) with code updated to current v3 and addresses feedback.
- All `XxxxConsumer` classes drop empty RTP packets.
- `RtpStreamRecv` no longer considers empty RTP packets for counter increase and stream activation.
- A substancial change with original PR is that `RtpStreamRecv` accepts those empty packets (otherwise we sould generate NACKs), it's just that those don't account anymore for counter increase and stream activation.
@ibc ibc requested a review from jmillan May 19, 2024 18:23
@ibc
Copy link
Member Author

ibc commented May 19, 2024

@ggarber can you review please?

@ibc ibc merged commit a792a13 into v3 May 21, 2024
35 checks passed
@ibc ibc deleted the ignore-rtp-packets-with-empty-payload branch May 21, 2024 08:48
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