Open topic with navigation

# VariantSegmentTemplate

A template to use to construct the URL of every `GetPlaylist` action that is produced by HPE Media Server, including the "http://" prefix. Setting this action parameter overrides the value set by the VariantSegmentTemplate configuration parameter in the rolling buffer configuration file.

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, as requested by the GetPlaylist action. | News
{startTime} | The start time for the content requested by the GetPlaylist action. | 2015-02-05T12:38:21Z
{duration} | The duration of the content requested by the GetPlaylist action. | 10000
{offset} | The amount of time in milliseconds that the playlist is offset from being live, as set by the GetPlaylist action. | 60000
{hlsVersion} | The HLS version of the playlist requested by the GetPlaylist action. | 4
{format} | The format of the playlist, requested by the GetPlaylist action. | m3u8
{mediaSegmentTemplate} | The media segment template specified by the GetPlaylist action. |
{variantSegmentTemplate} | The variant segment template specified by the GetPlaylist action. |

Actions: | AddStream, EditStream, GetPlaylist
Type: | String
Default: | The value of VariantSegmentTemplate
Example: | `VariantSegmentTemplate=http://mediaserver:14000/action=getPlaylist&stream={stream}&startTime={startTime}&duration={duration}&offset={offset}&liveUrl={liveUrl}&hlsVersion={hlsVersion}&format={format}&mediaSegmentTemplate={mediaSegmentTemplate}&variantSegmentTemplate={variantSegmentTemplate}`
See Also: | MediaSegmentTemplate

© 2016 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