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

NACK responder: bypass auxiliary SSRCs #310

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

aalekseevx
Copy link
Member

Description

The current implementation of RTX in the NACK interceptor implies that there may be packets with different SSRCs in a single RTP stream (stream in terms of the interceptor interface), e.g., with SSRCRetransmission or (more importantly for this PR) SSRCForwardErrorCorrection. These packets should not be stored in the buffer or used for responding to NACKs.

I suggest skipping such packets in the responder interceptor. This might be a breaking change for some exotic use cases, but I can't think of any sensible scenario where the NACK interceptor is used to resend packets with a non-main SSRC. Therefore, I believe this is a reasonable default.

Copy link

codecov bot commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.34%. Comparing base (c06f448) to head (4cda00c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #310      +/-   ##
==========================================
- Coverage   71.38%   71.34%   -0.05%     
==========================================
  Files          79       79              
  Lines        4526     4530       +4     
==========================================
+ Hits         3231     3232       +1     
- Misses       1158     1160       +2     
- Partials      137      138       +1     
Flag Coverage Δ
go 71.34% <100.00%> (+0.09%) ⬆️
wasm 69.38% <100.00%> (-0.11%) ⬇️

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.

@aalekseevx
Copy link
Member Author

Thank you @nils-ohlmeier :)

@aalekseevx aalekseevx force-pushed the nack-bypass-unknown-ssrcs branch from ad324ac to 4cda00c Compare February 1, 2025 09:07
@aalekseevx aalekseevx merged commit 60fb984 into pion:master Feb 1, 2025
14 checks passed
@aalekseevx aalekseevx deleted the nack-bypass-unknown-ssrcs branch February 1, 2025 09:09
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