Posting URLs
Encoders must be capable of posting URL in the formats described.
mpd
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: https://p-ep500002.i.akamaientrypoint.net/dash/500002/test79/dash.mpd
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).
Examples:
- https://p-ep500002.i.akamaientrypoint.net/dash/500002/test79/5000kbps.init
- https://p-ep500002.i.akamaientrypoint.net/dash/500002/test79/500kbps-init-test79.header
- https://p-ep500002.i.akamaientrypoint.net/dash/500002/test79/5000kbps-initialization.mp4
Media Data Segment
Configure your encoder to upload the media data segment mp4, m4s, m4a, or m4v once, or at any 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,m4v} For example:
https://p-ep500002.i.akamaientrypoint.net/dash/500002/test79/500kbps-100.mp4
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.