Skip to content

Function: mapSegments() ​

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

Defined in: mapper/dash/mapDashToHam/mapSegments.ts:27

Internal

Maps dash segments to ham segment.

Checks the type of dash segments used to map them accordingly.

Parameters ​

adaptationSet ​

AdaptationSet

AdaptationSet to get the segments from

representation ​

Representation

Representation to get the segments from

duration ​

number

Duration of the segments

Returns ​

Segment[]

list of ham segments

See ​

  • mapSegmentBase
  • mapSegmentList
  • mapSegmentTemplate

A Streaming Video Technology Alliance project.