-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support chained ogg files #18
Comments
The use case is streaming apparently, when you want to update metadata while the stream is running. |
In general the demuxer should issue what I call a new stream event and react to it by either allocating a new decoder if it is a new stream or resetting the current decoder pinned to the current stream. If you have some test sample we could try to adapt your ogg demuxer to fit this model and make sure it works well enough. |
I don't have any test samples but I think you should be able to generate some by concatenating two distinct ogg/vorbis files (it is important that they are distinct so that the stream serials don't match). The |
There are test vectors in https://people.xiph.org/~xiphmont/test-vectors/vorbis/ (files |
Apparently its legal to chain multiple logical streams inside an ogg/vorbis file. The vorbis spec explicitly allows it:
See also similar bugs filed for flac, in firefox, and opus.
We should at least support playback here.
The text was updated successfully, but these errors were encountered: