Skip to content

Function: getSampleRate() ​

ts
function getSampleRate(adaptationSet, representation): number;

Defined in: mapper/dash/mapDashToHam/utils/getSampleRate.ts:13

Internal

Get sample rate (audio).

Parameters ​

adaptationSet ​

AdaptationSet

AdaptationSet to try to get the sampleRate from

representation ​

Representation

Representation to try to get the sampleRate from

Returns ​

number

Sample rate. In case it is not presents, it returns 0.

A Streaming Video Technology Alliance project.