Open topic with navigation

# MediaSegmentTemplate

A template to use to construct the URL of every media segment in a playlist.

The value of this parameter should include "http://" and the host name and port of the web server that serves items in an HLS playlist to a media player. The value to use depends on how you have configured the web server that serves video from your rolling buffer.

You should only need to set this parameter if your media player sends requests to an application in front of HPE Media Server.

You can use the following macros:

Macro | Description | Example Value
--- | --- | ---
{stream} | The name of the stream. | News
{rollingBufferRelativePathToTsFile} | The relative path to the transport stream file in the rolling buffer. | 143/5/750453/stream1_VIDEO_ENG_1435750453.ts
{byteStart} | The start point for the segment (as a byte-range). | 1024000
{byteEnd} | The end point for the segment (as a byte-range). | 2048000

Type: | String
Default: | {stream}/Video/{rollingBufferRelativePathToTsFile}
Required: | Required in Defaults section Optional in a section that defines a stream
Configuration Section: | MyStream or Defaults
Example: | `MediaSegmentTemplate=http://webserver/{stream}/Video/{rollingBufferRelativePathToTsFile}?range=bytes={byteStart}-{byteEnd}`
See Also: | VariantSegmentTemplate

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm