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 to get the segments from
representation
Representation to get the segments from
duration
number
Duration of the segments
Returns
Segment[]
list of ham segments
See
- mapSegmentBase
- mapSegmentList
- mapSegmentTemplate