VOD Channels

VOD channels need extra parameters saved with them, and also need an a playlist (mRSS) to be created before they can be viewed. Here you will find guidance on setting up VOD channels and playlists.

triangle-exclamation

Creating or updating an mRSS feed

POST mRSS

POST https://live.serverside.ai/ad-aggregation-service/mrss/channel/:id

Path Parameters

Name
Type
Description

id

string

The Channel's id (uuid)

Headers

Name
Type
Description

api-key

string

UUID

Request Body

Name
Type
Description

url

string

URL to the mRSS feed

context

string

e.g: 'web'

deilverytypes

array

Specifies the delivery type. Can only be 'hls' or 'dash' (not both at the same time). e.g. ['hls']

ifa

string

Identifier for Advertising - see link below.

Request example body

VoD Channel Creation

To create a channel via the Serverside.ai that is suitable to serve ads you have to make sure to include the related config. See Channels POST for general information.

Ad-Source params that are special for VoD Channels (channel.adSource.params)

mRSS - Template

mRSS [simple - .mp4]

mRSS [extended - DASH/HLS without AdCuePoint]

mRSS [extended - DASH/HLS with AdCuePoint]

Cuepoint

Field

Type

Mandatory

Description

cuepoint id =

String

yes

name / id for cuepoint

splicetime

Integer

yes

0= pre-roll

-1= post-roll

<number> splicetime in milliseconds for mid-roll

maxcount

Integer

no

Maximum number of ads for the given ad break

duration

Integer

yes

Ad break duration in seconds

Last updated