Upload order (HLS)

In accordance with the HLS recommendation, encoders must upload all required files for a specific bit rate and segment before proceeding to the next segment. For example, for a bit rate that has segments and a playlist that updates every segment and key files, encoders should upload the segment file followed by a key file (optional) and the playlist file in serial fashion. The encoder should only move to the next segment after the previous segment has been successfully uploaded or after the segment duration time has elapsed. The order of operation should be:
  1. Upload .ts.
  2. Optionally, upload key file.
  3. Upload .m3u8.

If there is a problem with either Steps 1 or 2, retry them. Do not proceed to Step 3 until Step 1 succeeds.