MediaHeartbeatDelegate

MediaHeartbeatDelegate

new MediaHeartbeatDelegate()

Creates an instance of MediaHeartbeatDelegate class

Methods

getCurrentPlaybackTime()

Current playhead in seconds. For video-on-demand (VOD), the value is specified in seconds from the beginning of the media item. For live streaming, the value is specified as the number of seconds since midnight UTC on that day.

getQoSObject()

Returns the MediaObject instance containing current QoS information created using MediaHeartbeat.createQoSObject. This method can be called
multiple times during a playback session. Player implementation must always return the most
recently available QoS data.