Skip to content

Function: getChannels() ​

ts
function getChannels(adaptationSet, representation): number;

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

Internal

Get the channels value (audio). It can be present on adaptationSet or representation.

Parameters ​

adaptationSet ​

AdaptationSet

AdaptationSet to try to get the channels from

representation ​

Representation

Representation to try to get the channels from

Returns ​

number

Channels value

A Streaming Video Technology Alliance project.