Package com.castlabs.android.player
package com.castlabs.android.player
-
ClassDescriptionThe ABR configuration.A builder for ABR configuration instancesAbstract implementation of the
AudioRendererListener
Abstract implementation ofCatchupListener
with empty methods for convenience.Abstract implementation of thePlayerControllerListener
.Abstract implementation of thePlayerListener
.Abstract implementation of theStreamingEventListener
.Abstract implementation of theVideoRendererListener
Attributes for audio playback.Builder forAudioAttributes
.Common access point to store and keep updated device audio capabilities.A listener that can be attached to thePlayerController
to be informed about audio rendering events such as decoder initializations, format changes and frame drops.This is an implementation of theMediaTrackEventListener
andAudioRendererEventListener
that is used to delegate events from the track renderer to thePlayerListener
instances that are registered with the currentPlayerController
.Wrapper implementation around the bandwidth meter.Helper class that takes care of the track renderer creation using the registeredTrackRendererPlugin
plugins.Container object that stores the buffer configuration.Represents a catchup configuration.Builder for aCatchupConfiguration
.Timing reference which will be used to calculate the thresholds of the CatchupConfigurationRepresents the catchup strategy.Listener to get events related to thecatchup
feature.Basic chapter model that consists of the chapter position, a title, and an image URL.A renderer plugin that supports audio and video tracks that are not encryptedThe library loader class is a class that provides static methods to register native libraries that will be loaded on request.Register instances of this interface to call custom code triggered after all native libraries are loaded.Implementations of this interface allows to get updated configurations when needed.This listener provides custom DASH events which appears in DASH manifest.A model for DASH custom eventsDefines different types of DASH custom eventsRepresents a UTCTiming element specifying how the client should synchronize its clock with the server.A Dash descriptor.The implementation of MediaCodecSelector allowing to find the decoder based on mimetype and secure flag as well as on codecs string.*Internal* plugin that registers the default player implementationsDefault implementation ofTrackTypeProvider
with the video tracks separated according to the following video resolutions: SD, HD or UHD.Wraps information about currently connected displays.Use theDrmLicenseLoader.Builder
to create instances of the license loader.Use this builder class to generate new instances of theDrmLicenseLoader
.The callback interface for license loader tasksPlugin which exposes a TrackRenderer for the default Exoplayer subtitles.Extension ofMediaCodecVideoRenderer
to add customizations and extensions.Interface which receives Track Selection-related callbacks.The interface defines the source (CDN) fallback selection.Source (CDN) data containerThe type of the source (CDN) fallbackThis interface will receive events whenever the downstreamFormat
s change.Cache forDrm.Clearkey
.Callback to define an initial playing position right after theTimeline
is ready.This interface describes the visual component of the video player.Configuration object that groups all relevant parameters related to live streaming.Interface definition for a callback to be notified ofCastlabsLoadControl
events.Profile that groups all the relevant parameters related to low latency live streaming.ManifestModifier<T extends com.google.android.exoplayer2.offline.FilterableManifest>Allows to modify a manifest before it's used for extracting track info.Container class holding the media codec name associated with the mimetypeCache forDrm.Clearkey
which stores keys in memory.You can use this listener to get callbacks about timed Meta-Data attached to a stream.Extends the default ExoPlayer DASH Manifest parsers.PeriodChangedListenerImplementations of this interface allows to get additional information on the period being played.Implementations of this interface offer the basic infrastructure to load and save instances ofPlayerConfig
Object which represents a specific Player configuration.A Builder forPlayerConfig
.This class allows you to control and manage the video player instance and receive feedback during playback.Represents states of the player backend.This is a high level listener interface that provides callbacks for lifecycle events of the player controller.A plugin interface that can be used to create plugins that need access to thePlayerController
.Implementations of this component can be used to gain controlled access to aPlayerController
.Interface which allowsComponents
to work with their Views.Special type ofPlayerControllerPlugin.Component
which also happens to depend on a View.This is a high level listener interface that provides callbacks for events from a video player.This class helps to manage a set ofPlayerListener
s and delegates to the listener methods.A plugin interface that is used to initialize player instances for different content formats such as HLS, DASH, or SmoothStreaming.PlayerPlugin.DrmInitDataProvider<T extends com.google.android.exoplayer2.offline.FilterableManifest>This class implements a bounded Android Service that can be used to start aPlayerController
in a service, send the player to background to continue audio playback, and resume video playback from a background session.Implementation of the interface can receive notification intents from thePlayerService
.The CastLabs PlayerView is a custom view that provides the video playback surface.The default lifecycle delegate.Callback to receive delegated Lifecycle events.Configuration object which will dictate the behaviour of thePlayerController
whenever the enclosingA plugin interface that can be used to create plugins that need access to theIPlayerView
or thePlayerController
that is responsible for the playback lifecycle.Implementations of this view component can be used to gain controlled access to aIPlayerView
and itsPlayerController
.PlayerViewPlugin.SingleViewPlayerViewComponent<ViewType extends View>Helper class which extracts all the common logic in aPlayerViewPlugin.PlayerViewComponent
in case it only operates on one single View.Common Playlist interface.Playlist
implementation.Utility class with empty implementations of the methods defined inSingleControllerPlaylist.PlaylistListener
Playlist-related events listener.Deprecated.You can use this listener to get callbacks about current content downloads.Deprecated.This plugin interface can be used to implement a track renderer integration.Implementations of the builder a responsible to createRenderer
instances.The builder interface creates instances of this container that wraps the renderer instance and an optional view component.The different content typesThis is a high level listener interface that provides callbacks for track selection events.The implementations of this interface should provide the track types, track group types and their weights according to some desired model.Container which groups several Trickplay (speedup) configuration.TrickplayConfiguration
Builder.Speedup mode to use during TrickplayVideoFilterConfiguration
builder static inner class.A listener that can be attached to thePlayerController
to be informed about video rendering events such as decoder initializations, format changes and frame drops.This is an implementation of theVideoRendererEventListener
that is used to delegate events from the track renderer to thePlayerListener
instances that are registered with the currentPlayerController
.VisualComponent whose task is to communicate aPlayerControllerPlugin.ComponentViewListener
with thePlayerControllerPlugin.Component
machinery.
TimelineChangedListener
orPeriodChangedListener
instead