SERVERSIDE.AI
Search
K

VOD - DASH/HLS

post
https://live.serverside.ai
/ad-aggregation-service/mrss/channel/:channelId
DASH VOD Manifest
Example Request Body:
{
"url": "https://vodcms.blob.core.windows.net/mrss/serverside_mrss_dash_preroll_midroll.mrss"
"deliverytypes": [ "dash" ]
}
post
https://live.serverside.ai
/ad-aggregation-service/mrss/channel/:channelId
HLS VOD Manifest
Example Request Body:
{
"url": "https://vodcms.blob.core.windows.net/mrss/serverside_mrss_hls_preroll_midroll.mrss",
"deliverytypes": [ "hls" ]
}

Ad-Server Parameter

You may have to add additional parameters for the ad-server you are using. For details see: Ad-Server Parameter
Example Request Body for SpotX:
{
"url": "https://vodcms.blob.core.windows.net/mrss/serverside_mrss_hls_preroll_midroll.mrss",
"context": "web",
"ifa": "ifa",
"deliverytypes": [ "hls" ]
}

MRSS

The supported format for VoD based ad-insertion is MRSS.
Detailed information can be found here: http://www.rssboard.org/media-rss
In the item block a custom block ad:cuepoints is used, that holds the cuepoint information.

Parameter description

Field
Type
Mandatory
Description
cuepoint id
String
yes
splicetime
Integer
yes
0=pre-role | -1= post-role | 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
intro
no
TBD
outro
no
TBD

MRSS XSD

serverside_ai_vod.xsd
2KB
Binary
XSD for MRSS validation

MRSS Example

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:ad="http://ssai.nowtilus.tv/mrss/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>VoD Playlist</title>
<link></link>
<description>Intro</description>
<item>
<title>Hinter den Kulissen</title>
<media:content url="https://hostname/6671a1574df08e28392a140713b9d7c5.jpeg" medium="image"></media:content>
<media:content url="https://hostname/vod/L2QfSeA81Qg/playlist_hd.m3u8" type="application/vnd.apple.mpegurl"></media:content>
<media:content url="https://hostname/vod/L2QfSeA81Qg/HD_manifest.mpd" type="application/dash+xml"></media:content>
<ad:cuepoints>
<cuepoint id="adpod-0">
<splicetime>0</splicetime>
<maxcount>2</maxcount>
<duration>45</duration>
<intro type="application/vnd.apple.mpegurl" url="https://hostname/vod/4O5_sMiF1Qg/playlist_hd.m3u8"></intro>
<intro type="application/dash+xml" url="https://hostname/vod/4O5_sMiF1Qg/HD_manifest.mpd"></intro>
<outro type="application/vnd.apple.mpegurl" url="https://hostname/vod/x7OmjR2I1Qg/playlist_hd.m3u8"></outro>
<outro type="application/dash+xml" url="https://hostname/vod/x7OmjR2I1Qg/HD_manifest.mpd"></outro>
</cuepoint>
</ad:cuepoints>
</item>
</channel>
</rss>