Skip to content

Function: getTimescale() ​

ts
function getTimescale(track): number;

Defined in: mapper/dash/mapHamToDash/utils/getTimescale.ts:24

Internal

This function tries to recreate the timescale value.

This value is not stored on the ham object, so it is not possible (for now) to get the original one.

Just the audio tracks have this value stored on the sampleRate key.

Parameters ​

track ​

Track

Track to get the timescale from

Returns ​

number

Timescale in numbers

A Streaming Video Technology Alliance project.