Segment and fragment numbering

  • Fragments generated by encoders must be indexed with monotonically increasing fragment numbers within a segment.

    For example:

    Seg1-Frag1
    Seg1-Frag4
    Seg1-Frag2
    Seg1-Frag5 
    Seg1-Frag3 
    Seg1-Frag6
  • All fragments must be part of one segment. The segment number should not change during a streaming session. To prevent this, set the segment duration to a very large value, for example, one year in seconds. Fragment duration of six seconds is only supported for the current version of the product.
  • Fragment numbers must not repeat when an encoder restarts. To prevent this, derive fragment numbers from current epoch time. This results in always increasing fragment numbers and prevents overwriting data in the storage system.