Unique segment numbering

  • Segments generated by the encoder must be created with sequentially increasing segment numbers such as 1, 2, and 3.

    For example:

  • The segment number must be extractable from the upload URL using regex. Ensure that you separate the string and the numbers of a segment. Segment names can contain alphanumeric characters and the hyphen (-) as delimiters. Other special characters are not supported. The last item before the prefix must be a unique, sequentially increasing number. You cannot use symbols, special characters, or alphabets.

    For example:





    <sessionId>/P2-2-1001.ts(with directory rollover)

The path and segment number must be treated as one entity; therefore, they must not repeat. Archived data becomes corrupted when the encoder restarts and attempts to use the previous sequence number and path.