Generate and parse m3u8 playlists for HTTP Live Streaming (HLS) in Ruby.