Live - DASH/HLS

DASH Live Manifest

GET https://live.serverside.ai/dash/view/:channelId

Get a DASH Live manifest URL

Path Parameters

Name
Type
Description

channelId

string

Id of the channel in serverside.ai

Query Parameters

Name
Type
Description

api-key

string

Get it from the channel in serverside.ai

{
    "mediaURL": "https://live.serverside.ai/dash/d9f35993-542d-4cf4-b9fa-227b08bf3376/a0a5b9a0-6586-11ea-b321-45af751b3213.mpd",
    "vastURL": "https://live.serverside.ai/dash/d9f35993-542d-4cf4-b9fa-227b08bf3376/a0a5b9a0-6586-11ea-b321-45af751b3213/vast"
}

The media URL value from the response can be used to playback the asset in a video player.

Information regarding VAST tracking can be found in the related section.

HLS Live Manifest

GET https://live.serverside.ai/hls/:channelId/master.m3u8

Get a HLS Live manifest

Path Parameters

Name
Type
Description

channelId

string

Id of the channel in serverside.ai

Query Parameters

Name
Type
Description

api-key

string

Get it from the channel in serverside.ai

#EXTM3U
#EXT-X-VERSION:4
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:FRAME-RATE="25.000",RESOLUTION=320x180,CODECS="avc1.4d400c,mp4a.40.2",AVERAGE-BANDWIDTH="545600",BANDWIDTH=545600
634d44a0-6587-11ea-9401-b4d1dabb06a7/320x180.m3u8
#EXT-X-STREAM-INF:FRAME-RATE="25.000",RESOLUTION=480x272,CODECS="avc1.4d4015,mp4a.40.2",AVERAGE-BANDWIDTH="765600",BANDWIDTH=765600
634d44a0-6587-11ea-9401-b4d1dabb06a7/480x270.m3u8
#EXT-X-STREAM-INF:FRAME-RATE="25.000",RESOLUTION=640x360,CODECS="avc1.77.30,mp4a.40.2",AVERAGE-BANDWIDTH="1161600",BANDWIDTH=1161600
634d44a0-6587-11ea-9401-b4d1dabb06a7/640x360.m3u8
#EXT-X-STREAM-INF:FRAME-RATE="25.000",RESOLUTION=960x540,CODECS="avc1.4d401f,mp4a.40.2",AVERAGE-BANDWIDTH="2140600",BANDWIDTH=2140600
634d44a0-6587-11ea-9401-b4d1dabb06a7/960x540.m3u8
#EXT-X-STREAM-INF:FRAME-RATE="25.000",RESOLUTION=1280x720,CODECS="avc1.4d401f,mp4a.40.2",AVERAGE-BANDWIDTH="3339600",BANDWIDTH=3339600
634d44a0-6587-11ea-9401-b4d1dabb06a7/1280x720.m3u8

Different from DASH the response is already the HLS manifest and no further request is needed.

Information regarding VAST tracking can be found in the related section.

Ad-Server Parameter

Most likely you will need an additional parameter in the query string to control the ad-server

Find additional information in the Ad-Server Parameter section

Last updated