Skip to content

Function: mapSegmentBase() ​

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

Defined in: mapper/dash/mapDashToHam/mapSegmentBase.ts:16

Internal

Maps SegmentBase from dash to Segment list from ham.

Parameters ​

representation ​

Representation

Representation to get the SegmentBase from

duration ​

number

Duration of the segment

Returns ​

Segment[]

list of ham segments

A Streaming Video Technology Alliance project.