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

m3u8: hlssdump? End-to-end package test #20

Open
ollytom opened this issue Jun 6, 2024 · 0 comments
Open

m3u8: hlssdump? End-to-end package test #20

ollytom opened this issue Jun 6, 2024 · 0 comments

Comments

@ollytom
Copy link
Member

ollytom commented Jun 6, 2024

hls.js maintains a list of active HLS streams available over the Internet at
https://raw.githubusercontent.com/video-dev/hls.js/v1.5.11/tests/test-streams.js

We have unit tests and there's a bunch of code we're not testing. But it would be a good exercise in dev tooling development to write a real-world application which exercises our m3u8 package more thoroughly.
From there that focusses efforts on where in the package we should write tests.

For example, a tool which reads a master HLS playlist, and writes the contents of each media playlist to the filesystem.
That can involve decoding then re-encoding the playlist. If we hit things like tags or attributes we don't recognise or can't handle well, we can terminate the program. This also lets us spot bad error messages from our package.

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

1 participant