The DashMetrics module can be accessed using the MediaPlayer API getDashMetrics()
Name | Type | Description |
---|---|---|
config | object |
- Source
Methods
getCurrent(metrics, metricName) → {*}
Returns the latest metrics for a given metric list and specific metric name
Name | Type | Description |
---|---|---|
metrics | MetricsList | |
metricName | string |
- Source
- Type:
- *
getCurrentBufferLevel(mediaType) → {number}
Returns the current buffer level for a given media type
Name | Type | Description |
---|---|---|
mediaType | MediaType |
- Source
- Type:
- number
getCurrentBufferState(mediaType) → {number}
Returns the current buffer state for a given media type
Name | Type | Description |
---|---|---|
mediaType | MediaType |
- Source
- Type:
- number
getCurrentDroppedFrames() → {*}
Returns the number of dropped frames
- Source
- Type:
- *
getCurrentDVRInfo(mediaType) → {*}
Returns the current DVR window
Name | Type | Description |
---|---|---|
mediaType | MediaType |
- Source
- Type:
- *
getCurrentHttpRequest(mediaType) → {*}
Returns the latest HTTP request for a given media type
Name | Type | Description |
---|---|---|
mediaType | MediaType |
- Source
- Type:
- *
getCurrentManifestUpdate() → {*}
Returns the current manifest update information
- Source
- Type:
- *
getCurrentRepresentationSwitch(mediaType) → {*}
Returns the latest Representation switch for a given media type
Name | Type | Description |
---|---|---|
mediaType | MediaType |
- Source
- Type:
- *
getCurrentSchedulingInfo(mediaType) → {*}
Returns the current scheduling info for a given media type
Name | Type | Description |
---|---|---|
mediaType | MediaType |
- Source
- Type:
- *
getHttpRequests(mediaType) → {*}
Returns all HTTP requests for a given media type
Name | Type | Description |
---|---|---|
mediaType | MediaType |
- Source
- Type:
- *
getLatestFragmentRequestHeaderValueByID(mediaType, id) → {*}
Returns the value for a specific request headers used in the latest fragment request
Name | Type | Description |
---|---|---|
mediaType | MediaType | |
id | string |
- Source
- Type:
- *
getLatestMPDRequestHeaderValueByID(id) → {*}
Returns the value for a specific request headers used in the latest MPD request
Name | Type | Description |
---|---|---|
id | string |
- Source
- Type:
- *