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

system input frames and audio buffer processor fixes #770

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

aconchillo
Copy link
Contributor

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.

This PR changes current input frames to be system frames. System frames are not queued internally by processors. This allows processing input frames (audio, video or transport messages) as quickly as they arrive (which is a good thing).

And since the input frames are not queued, it also allows for interruptions to work in AudioBufferProcessor (or others). What was happening is that input frames were being queued in processors through the pipeline so it was possible that when an interruption occurred those input audio frames were still in some part of the pipeline not making it all the way to the AudioBufferProcessor.

Input frames from a transport should be processed fast and there's no need for
them to be queued internally in each element.
@aconchillo aconchillo marked this pull request as draft December 2, 2024 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant