Module: DashMetrics

Methods


getCurrentBufferLevel(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
number

getCurrentDroppedFrames(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
*

getCurrentDVRInfo(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
*

getCurrentHttpRequest(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
*

getCurrentManifestUpdate(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
*

getCurrentRepresentationSwitch(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
*

getCurrentSchedulingInfo(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
*

getHttpRequests(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
*

getLatestBufferLevelVO(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
*

getLatestFragmentRequestHeaderValueByID(metrics, id)

Parameters:
Name Type Description
metrics
id
Source:
Returns:
Type
*

getLatestMPDRequestHeaderValueByID(metrics, id)

Parameters:
Name Type Description
metrics
id
Source:
Returns:
Type
*

getMaxAllowedIndexForBufferType(bufferType, periodId)

This method returns the current max index correlated to the max allowed bitrate explicitly set via the MediaPlayer's API setMaxAllowedBitrateFor.

Parameters:
Name Type Description
bufferType

String 'audio' or 'video',

periodId

Make sure this is the period id not index.

Source:
See:
Returns:

int


getMaxIndexForBufferType(bufferType, periodIdx)

This method returns the current max index based on what is defined in the MPD.

Parameters:
Name Type Description
bufferType

String 'audio' or 'video',

periodIdx

Make sure this is the period index not id

Source:
Returns:

int


getRequestsQueue(metrics)

Parameters:
Name Type Description
metrics
Source:
Returns:
Type
null | * | vo