Files
Cuong-Tran 2dbdab3583 lib: m3u8-server (#398)
* feat: Create a M3U8 server to use a option like skip_initial_bytes of ffmpeg

* Extract headers from the HTTP session

* minor improvement

* early return if data.size < 3 before array access to avoid potential bounds checking overhead in tight loops

* Simplify detection logic

* Only detectSkipBytes over actual bytes read instead of the full buffer

* Use regex for explicit file extension check

* correct readme

* Remove `isInitialized` since it cause unable to start server again after stop

* properly close response to avoid memory leaks

* convert class to object

* Properly working M3U8 Server

* HiAnime fix HD-3 server with M3U8 Server

* Handle relative link

* Refactor m3u8 server package structure and lint

* Refactor M3U8 server components for improved URL handling and code clarity

---------

Co-authored-by: WebDitto <webditto@proton.me>
2026-05-31 15:24:28 +07:00
..
2026-05-31 15:24:28 +07:00