Interface: shaka.media.Playhead

Extends

Methods

getGapsJumped() → {number}

Get the number of playback gaps jumped by the GapJumpingController.
Source:
Returns:
Type
number

getStallsDetected() → {number}

Get the number of playback stalls detected by the StallDetector.
Source:
Returns:
Type
number

getTime() → {number}

Get the current playhead position. The position will be restricted to valid time ranges.
Source:
Returns:
Type
number

notifyOfBufferingChange()

Notify the playhead that the buffered ranges have changed.
Source:

release()

Request that this object release all internal references.
Inherited From:
Source:

setStartTime(startTime)

Set the start time. If the content has already started playback, this will be ignored.
Parameters:
Name Type Description
startTime number
Source: