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

Support custom streams filter in nack interceptor #275

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

aalekseevx
Copy link
Member

Description

This change allows users to pass custom stream filters to the nack interceptor in order to enable/disable nacks for certain streams based on the StreamInfo.

@Sean-Der
Copy link
Member

Sean-Der commented Oct 2, 2024

LGTM @aalekseevx!

I added you to the org so CI runs/you can make a branch directly on the repo easier

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.94%. Comparing base (3b3394f) to head (1fc305b).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #275      +/-   ##
==========================================
+ Coverage   72.59%   72.94%   +0.34%     
==========================================
  Files          79       79              
  Lines        3653     3663      +10     
==========================================
+ Hits         2652     2672      +20     
+ Misses        867      861       -6     
+ Partials      134      130       -4     
Flag Coverage Δ
go 72.78% <100.00%> (+0.18%) ⬆️
wasm 71.00% <100.00%> (+0.46%) ⬆️

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 aalekseevx force-pushed the custom-streams-filter branch from f8540b1 to 8a0227e Compare October 2, 2024 15:47
@aalekseevx
Copy link
Member Author

aalekseevx commented Oct 2, 2024

Thank you! That makes things easier

@aalekseevx aalekseevx force-pushed the custom-streams-filter branch from 8a0227e to ed32ece Compare October 2, 2024 15:52
@aalekseevx
Copy link
Member Author

Is it OK now?

@Sean-Der
Copy link
Member

Sean-Der commented Oct 2, 2024

@aalekseevx looks great!

mind writing a simple test that NACKs really get disabled. Just so in the future someone doesn’t break it

then a merge from me!

@aalekseevx aalekseevx force-pushed the custom-streams-filter branch from 8edb5c7 to af94ea2 Compare October 2, 2024 17:50
@aalekseevx
Copy link
Member Author

Added some basic checks

@Sean-Der Sean-Der force-pushed the custom-streams-filter branch from af94ea2 to b8f3cb4 Compare October 2, 2024 18:36
Allows user to selectively disable NACKs on some streams
@aalekseevx aalekseevx force-pushed the custom-streams-filter branch from b8f3cb4 to 1fc305b Compare October 2, 2024 21:29
@aalekseevx
Copy link
Member Author

It seems like 10ms is too small timeout for wasm arch, 50ms seems fine

@Sean-Der Sean-Der merged commit 30f6940 into pion:master Oct 2, 2024
14 checks passed
@Sean-Der
Copy link
Member

Sean-Der commented Oct 2, 2024

merged! Go ahead and tag w/e you want @aalekseevx

@aalekseevx
Copy link
Member Author

Thank you! I hope I've done it right

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