To enable streaming in DASH format, add the / media = dash / parameter to the link. The link will return an xml manifest to the manifest.mpd file.
Various options are available::
-
/media=dash/ – segment size is 10 seconds, without keyframe alignment
-
/media=dash2/ – segment size is 2 seconds, without keyframe alignment
-
/media=dash5/ – segment size is 5 seconds, without keyframe alignment
-
/media=dashA/ – average segment size is 10 seconds, keyframe alignment enabled.
The actual segment size will vary, if there are more than ten seconds between key frames – there may be empty segments.
Example:
http://video.blazingcdn2.net/key=rF2ePSWHNL5wirg307aOqQ/media=dash/output.mp4