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

Fails to play local files. #1

Closed
robertapengelly opened this issue Sep 24, 2022 · 2 comments
Closed

Fails to play local files. #1

robertapengelly opened this issue Sep 24, 2022 · 2 comments

Comments

@robertapengelly
Copy link
Contributor

robertapengelly commented Sep 24, 2022

If I use a URL to play a file then it works as expected but when I download the file and try playing it locally I get a header error.

Screenshot from 2022-09-24 04-26-04

It finds the first header but not any other headers after that as its all zeros (I think the getNextOggPacket() maybe returning null).

@robertapengelly
Copy link
Contributor Author

Never mind solved it by adding this.sourceStream = sourceStream int the BasicStream constructor.

@stephengold
Copy link
Owner

Fixed in version 1.0.2.

Thank you @robertapengelly for the tip!

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

2 participants