-
Notifications
You must be signed in to change notification settings - Fork 63
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
JitterBuffer: Interceptor #247
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #247 +/- ##
==========================================
+ Coverage 72.08% 72.14% +0.06%
==========================================
Files 77 79 +2
Lines 3582 3644 +62
==========================================
+ Hits 2582 2629 +47
- Misses 866 876 +10
- Partials 134 139 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
2668bc2
to
249b5d0
Compare
The JitterBufferInterceptor is designed to fit in a RemoteStream pipeline and buffer incoming packets for a short period (currently defaulting to 50 packets) before emitting packets to be consumed by the next step in the pipeline. The caller must ensure they are prepared to handle an ErrPopWhileBuffering in the case that insufficient packets have been received by the jitter buffer. The caller should retry the operation at some point later as the buffer may have been filled in the interim. The caller should also be aware that an ErrBufferUnderrun may be returned in the case that the initial buffering was sufficient and playback began but the caller is consuming packets (or they are not arriving) quickly enough.
249b5d0
to
6d74945
Compare
@Sean-Der I'm not sure why the nack test failed for WASM this run but not others. I think this PR is close to ready but I'd like to see what else you think it needs? |
@thatsnotright Could you look at my issue please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic! Feels really great to see this all come to completion :)
Description
This implements a RemoteStream jitter buffer interceptor.