mirror of
https://github.com/yuzono/anime-extensions.git
synced 2026-06-13 13:39:44 +00:00
* 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>