Module: DashMetrics

Methods


getCurrent(metrics, metricName)

Parameters:
Name Type Description
metrics MetricsList
metricName string
Source:
Returns:
Type
*

getCurrentBufferLevel(metrics)

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

getCurrentDroppedFrames(metrics)

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

getCurrentDVRInfo(metrics)

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

getCurrentHttpRequest(metrics)

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

getCurrentManifestUpdate(metrics)

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

getCurrentRepresentationSwitch(metrics)

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

getCurrentSchedulingInfo(metrics)

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

getHttpRequests(metrics)

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

getLatestBufferLevelVO(metrics)

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

getLatestFragmentRequestHeaderValueByID(metrics, id)

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

getLatestMPDRequestHeaderValueByID(metrics, id)

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

getMaxIndexForBufferType(bufferType, periodIdx)

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

Parameters:
Name Type Description
bufferType string

String 'audio' or 'video',

periodIdx number

Make sure this is the period index not id

Source:
Returns:
Type
number

getRequestsQueue(metrics)

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