With HLS, you process the feed through an encoder (possibly FFMPEG or 3rd party solutions or hardware) which will generate the video packets in various bit rate profiles. It will also generate a playlist file. You just provide a link to the playlist. Check out the HLS specs, it's fairly simple to understand.