Posting URLs

Encoders must be capable of posting URL in the formats described.


DASH encoders can upload the mpd file just once, as per the standard, or at an arbitrary interval. An update interval of about 30 seconds is ideal. The content of the file may change on each upload, but that is optional.

The URL format is: https://{hostname}/{format}/{streamID}/{eventname}/{anyname}.mpd

For example:

Initialization segment

The initialization segment must be uploaded only once for each bitrate/representation.

The URL format is: https://{hostname}/{format}/{streamID}/{eventname}/{representationID.ext with init string}.{any extension other than mpd}

If you need to restart your encoder, ensure that the initialization segment name gets re-uploaded with a unique value in its name (for example, timestamp).

Note: Make sure that the initialization header has the init keyword in it. The file with init extension is also acceptable.



Media Data Segment

The encoder should upload the media data segment ( mp4, m4s, m4a) once, or at an arbitrary interval that you choose. The segment number should be a numerical decimal digit increasing in sequential order.

The URL syntax is: https://{hostname}/{format}/{streamID}/{eventname}/{representationID}-{segment number}.{mp4,m4s,m4a} For example:

Segment numbering

  • Segment numbers must not repeat when a live encoder restarts. If segment numbers are derived from current epoch time, they will always increase preventing the overwriting of data in the storage system.
  • The separator before the segment number can be either a hyphen or an underscore.
  • A media segment must not have any reference to other fragment or segment.