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

premature tearing down the media pipeline causing loss of media at the end of playback #208

Open
jpiesing opened this issue Nov 26, 2024 · 0 comments
Assignees

Comments

@jpiesing
Copy link

A number of the tests from the Berlin plugfest fail the observation "[OF] When examined as a continuous sequence of timestamped audio samples of the audio stream, the 20ms test audio samples shall be a complete rendering of the source audio track and are rendered in increasing presentation time order." partly due to loss of samples from the end of the sequence.

This is likely because the media pipeline is being torn down while the last samples are passing through it, e.g. the browser is telling the OS to close the media pipeline based on the browser's concept of the end of media.

Please investigate if a 100-200ms delay could be inserted somewhere in the code for the end of playback to delay closing things down and see if this results in the samples at the end of the media that are currently lost now being output.

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

No branches or pull requests

4 participants