Vdo Player
interface VdoPlayer
Interface for controlling playback.
The VdoPlayer instance returned in onInitializationSuccess can be used to load media and control playback.
Inheritors
Types
Link copied to clipboard
interface PlaybackEventListener
Interface for callbacks related to playback events.
Link copied to clipboard
annotation class TimelineChangeReason
Properties
Link copied to clipboard
The player needs more data to be loaded to be ready to play or resume playback.
Link copied to clipboard
The player has finished playing all the media enqueued.
Link copied to clipboard
No media is currently queued for playback.
Link copied to clipboard
The player is able to immediately play from the current position.
Link copied to clipboard
Timeline changed as a result of a change of the playlist items or the order of the items.
Link copied to clipboard
Timeline changed as a result of a source update (e.g.
Link copied to clipboard
Get playback property from the player getPlaybackProperty
Link copied to clipboard
Get playback property from the player getPlaybackProperty
Functions
Link copied to clipboard
Register callbacks for playback events from this VdoPlayer
Link copied to clipboard
Returns the available tracks for the currently playing media.
Link copied to clipboard
Gets the time till which video is buffered
Link copied to clipboard
Returns the offset between the current real time and the playback position (if available).
Link copied to clipboard
Returns a MediaInfo object containing info corresponding to the currently playing media.
Link copied to clipboard
Returns the index of the current MediaItem in the timeline, or the prospective index if the current timeline is empty.
Link copied to clipboard
Gets the current playback time of the video from the beginning.
Link copied to clipboard
Returns the current Timeline.
Link copied to clipboard
Gets the duration of the current video.
Link copied to clipboard
Returns values of additional properties specific to current playback session.
Link copied to clipboard
Returns the currently active playback speed.
Link copied to clipboard
Returns the current state of the player.
Link copied to clipboard
* Called when the player configuration for requested media is loaded.
Link copied to clipboard
Whether playback will proceed when getPlaybackState == STATE_READY.
Link copied to clipboard
Returns the selected tracks for the currently playing media.
Link copied to clipboard
Returns if the current playback is adaptive.
Link copied to clipboard
Returns whether the current MediaItem is live, or false if the Timeline is empty
Link copied to clipboard
Returns whether the current MediaItem is seekable, or false if the Timeline is empty.
Link copied to clipboard
Indicates whether the currently playing media item is still being updated.
Link copied to clipboard
Returns if the current player supports changing the playback speed.
Link copied to clipboard
Immediately starts loading a media for the player to play.
Link copied to clipboard
Remove a registered playback event listener from this VdoPlayer
Link copied to clipboard
abstract fun searchInSelectedSubtitle(searchText: String, subtitleSearchListener: SubtitleSearchListener)
Search in selected subtitle and seek to matching cues.
Link copied to clipboard
Seeks to the default position associated with the current MediaItem.
Link copied to clipboard
Set callback to provide event when video start resume from saved seek position
Link copied to clipboard
Sets the playback speed.
Link copied to clipboard
Sets whether playback should proceed when getPlaybackState == STATE_READY.
Link copied to clipboard
Sets a fixed (non-adaptive) selection of tracks.