Media Server 25.1
Media Server Help

# VariantSegmentTemplate

A template to use to construct the URL of every `GetPlaylist` action that is produced by Media Server, including the "http://" prefix.

You should only need to set this parameter if your media player sends requests to an application in front of 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. |

Type: | String
Default: | action=getPlaylist&stream={stream}&startTime={startTime}&duration={duration}&offset={offset}&liveUrl={liveUrl}&hlsVersion={hlsVersion}&format={format}&mediaSegmentTemplate={mediaSegmentTemplate}&variantSegmentTemplate={variantSegmentTemplate}
Required: | Required in Defaults section Optional in a section that defines a stream
Configuration Section: | MyStream or Defaults
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

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 25.1

Topic Title: VariantSegmentTemplate