Skip to content

Function: getFrameRate() ​

ts
function getFrameRate(adaptationSet, representation): FrameRate;

Defined in: mapper/dash/mapDashToHam/utils/getFrameRate.ts:26

Internal

Get the frame rate from a dash manifest.

This functions assumes the adaptationSet and representation set are type video

Parameters ​

adaptationSet ​

AdaptationSet

To try to get the frameRate from

representation ​

Representation

To try to get the frameRate from

Returns ​

FrameRate

object containing numerator and denominator. In case the frame rate is not present, the numerator is 30 and the denominator is 0.

A Streaming Video Technology Alliance project.