Skip to content

Function: getContentType() ​

ts
function getContentType(adaptationSet, representation?): string;

Defined in: mapper/dash/mapDashToHam/utils/getContentType.ts:14

Internal

Get the type of the content. It can be obtained directly from AdaptationSet or Representation or can be inferred with the existing properties.

Parameters ​

adaptationSet ​

AdaptationSet

AdaptationSet to get the type from

representation? ​

Representation

Representation to get the type from

Returns ​

string

type of the content

A Streaming Video Technology Alliance project.