Skip to content

Function: mapSegmentTemplate() ​

ts
function mapSegmentTemplate(
   representation, 
   duration, 
   segmentTemplate
): Segment[];

Defined in: mapper/dash/mapDashToHam/mapSegmentTemplate.ts:20

Internal

Maps SegmentTemplate from dash to Segment list from ham.

Parameters ​

representation ​

Representation

Representation to generate the urls

duration ​

number

Duration of the segments

segmentTemplate ​

SegmentTemplate

SegmentTemplate to get the properties from

Returns ​

Segment[]

list of ham segments

A Streaming Video Technology Alliance project.