Question: how does hls streaming work?
Answer: To distribute to HLS clients, you encode the source into multiple files at different data rates and divide them into short chunks, usually between 5-10 seconds long. ... HLS uses multiple encoded files with index files directing the player to different streams and chunks of audio/video data within those streams.