MetricsCollector
This class is responsible for collecting and computing playback statistics metrics such as:
Stalls (count and duration)
Playtime
Bitrate (estimated and indicated)
Loading times (manifest, asset, source, DRM)
Video and audio format information
Dropped video frames
Surface size
Types
Functions
Registers a listener to receive events.
Retrieves the current playback metrics.
Retrieves playback metrics for a given playback session.
Called when the player's stall state changes.
On video disabled is called when releasing the player
Removes the specified listener from the list of listeners.
Inherited functions
Called when the player reaches a blocked time range.
Called when the current chapter changes. This can occur when either:
Called when the current credit changes. This can occur when either:
Called when the smooth seeking enabled state changes.
Called when the tracking enabled state changes.