The DashMetrics module can be accessed using the MediaPlayer API getDashMetrics()

Parameters:
NameTypeDescription
configobject

Methods

getCurrent(metrics, metricName) → {*}

Returns the latest metrics for a given metric list and specific metric name

Parameters:
NameTypeDescription
metricsMetricsList
metricNamestring
Returns:
Type: 
*

getCurrentBufferLevel(mediaType) → {number}

Returns the current buffer level for a given media type

Parameters:
NameTypeDescription
mediaTypeMediaType
Returns:
Type: 
number

getCurrentBufferState(mediaType) → {number}

Returns the current buffer state for a given media type

Parameters:
NameTypeDescription
mediaTypeMediaType
Returns:
Type: 
number

getCurrentDroppedFrames() → {*}

Returns the number of dropped frames

Returns:
Type: 
*

getCurrentDVRInfo(mediaType) → {*}

Returns the current DVR window

Parameters:
NameTypeDescription
mediaTypeMediaType
Returns:
Type: 
*

getCurrentHttpRequest(mediaType) → {*}

Returns the latest HTTP request for a given media type

Parameters:
NameTypeDescription
mediaTypeMediaType
Returns:
Type: 
*

getCurrentManifestUpdate() → {*}

Returns the current manifest update information

Returns:
Type: 
*

getCurrentRepresentationSwitch(mediaType) → {*}

Returns the latest Representation switch for a given media type

Parameters:
NameTypeDescription
mediaTypeMediaType
Returns:
Type: 
*

getCurrentSchedulingInfo(mediaType) → {*}

Returns the current scheduling info for a given media type

Parameters:
NameTypeDescription
mediaTypeMediaType
Returns:
Type: 
*

getHttpRequests(mediaType) → {*}

Returns all HTTP requests for a given media type

Parameters:
NameTypeDescription
mediaTypeMediaType
Returns:
Type: 
*

getLatestFragmentRequestHeaderValueByID(mediaType, id) → {*}

Returns the value for a specific request headers used in the latest fragment request

Parameters:
NameTypeDescription
mediaTypeMediaType
idstring
Returns:
Type: 
*

getLatestMPDRequestHeaderValueByID(id) → {*}

Returns the value for a specific request headers used in the latest MPD request

Parameters:
NameTypeDescription
idstring
Returns:
Type: 
*