Search code examples
video-streamingvlcwowzahttp-live-streamingm3u8

Broken HLS m3u8 file works on vlc


I have a .m3u8 file which pints to invalid aes key URL but it seems working fine on VLC. How is this possible.I attached a snap of my .m3u8 file enter image description here


Solution

  • Finally I figured out that simply specifying #EXT-X-KEY:METHOD=AES-128,URI="https://local" this tag with no values doe not prevent media from playing. But we need to properly encrypt our media files I found this nice tool mp4hls it allows me to generate AES 128 encrypted m3u8 FROM .mp4 If anyone having the same problems hope this help https://www.bento4.com/developers/hls/