According to Apple's Best Practices for Creating and Deploying HTTP Live Streaming Media, basic workflow to make HLS streaming is:
- Decide on your variants,
- Encode your media variants,
- Segment the media,
- Create a master playlist,
- Deploy the media,
- Validate the media.
With MFormats and MPlatform SDKs you can prepare a content ready for deploy. It means, that steps 1-4 are covered with encoding tools of SDKs.
To start encoding, you should use a proper configuration for HLS encoding. Basic configuration looks like:
format='hls' video::codec='libopenh264' audio::codec='mp2'
As a target destination, you should use an M3U8 file that is the master playlist (step 4).
As a result of encoding, you have a set of TS segments (steps 2 and 3) and the master playlist that contains a playlist of the segments.
All the encoded files you should deploy to your web server and configure it for either VOD (video on demand) or live event streaming.
The only current limitation is that encoding produces just a single variant (step 1) for a specified bitrate. Contact us if you are interested in adaptive bitrate option for HLS streaming.