Package-level declarations

Types

Link copied to clipboard

Builder that constructs a com.quickplay.vstb7.player.Player instance that plays a multiple media content as a playlist of MediaPlaylistItems.

Link copied to clipboard

Provides configuration for ExoPlayer to use a specific network stack. See: https://exoplayer.dev/network-stacks.html#configuring-exoplayer-to-use-a-specific-network-stack

Link copied to clipboard
open class PlayerBuilder

Builder that constructs a com.quickplay.vstb7.player.Player instance that plays a single media content.

Link copied to clipboard

Repository of Player resources that can be shared across multiple playback sessions and, as a consequence, can optimize Player's key performance indicators.

Link copied to clipboard

Information about the library such as version and name.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun Player.attachRendererView(viewContainer: ViewGroup, rendererLayoutParams: ViewGroup.LayoutParams?)

Player extension function that attaches the renderer view to the passed view container with specified Layout params. The Playback Surface will be created and inflated inside this View Container by the com.quickplay.vstb7.player.Player itself.

Link copied to clipboard

com.quickplay.vstb7.player.Player extension function that detaches the player view from its parent.

Link copied to clipboard
fun Player.detachRendererView(viewContainer: ViewGroup)

Player extension function that detaches the Renderer view from the passed view container in case if it is attached. If the view container doesn't have the renderer view as its child, this API has no effect.

Link copied to clipboard

Player extension function that returns the time zero on the Dash manifest (MPD) timeline of a dynamic MPD. This time, in milliseconds, is mapped to the point in wall clock time indicated by MPD@availabilityStartTime value specified in a Dash manifest.

Link copied to clipboard
fun playbackError(errorCode: Int, errorMessage: String = "Unknown Error Occurred", exception: Exception): ExceptionalError

Creates an Error with supplied params and adds ErrorCodes.ERROR_CATEGORY_MASK_PLAYBACK category to it.

fun playbackError(errorCode: Int, errorMessage: String = "Unknown Error Occurred", contextDescription: String? = null, internalError: Error? = null): Error

Creates an Error using supplied params and adds ErrorCodes.ERROR_CATEGORY_MASK_PLAYBACK category to it.