$ luarocks install lua-resty-m3u8lua-resty-m3u8 is an HLS m3u8 playlist parser and serializer for OpenResty / LuaJIT.
It parses both media and master playlists, supporting the full range of HLS tags
including Low-Latency HLS parts, preload hints, rendition reports, SCTE35/CUE ad
insertion markers, dateranges, and content steering. All parsed content can be
serialized back to valid m3u8 text via model :dumps() methods.
Versions
Dependencies
lua >= 5.1