Skip to content

Conversation

@philipgiuliani
Copy link

@philipgiuliani philipgiuliani commented Sep 16, 2025

When one AAC input buffer produces multiple RawAudio buffers, all of them get assigned the same PTS value. With this change, the PTS of the buffers will be moved accordingly looking at the previous buffer. They are still not perfect, because the decoder might keep a few bytes in his buffer, but its a lot better in comparison to the current implementation.

philipgiuliani and others added 2 commits September 16, 2025 14:28
When one AAC frame produces multiple RawAudio buffers,
all of them get assigned the same PTS value. With this change
the PTS of all buffers will be corrected to guarantee a continious stream.
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