Package com.castlabs.android.player
package com.castlabs.android.player
-
ClassDescriptionThe ABR configuration.A builder for ABR configuration instancesAbstract implementation of the
AudioRendererListenerAbstract implementation ofCatchupListenerwith empty methods for convenience.Abstract implementation of thePlayerControllerListener.Abstract implementation of thePlayerListener.Abstract implementation of theStreamingEventListener.Abstract implementation of theVideoRendererListenerAttributes for audio playback.Builder forAudioAttributes.Common access point to store and keep updated device audio capabilities.A listener that can be attached to thePlayerControllerto be informed about audio rendering events such as decoder initializations, format changes and frame drops.This is an implementation of theMediaTrackEventListenerandAudioRendererEventListenerthat is used to delegate events from the track renderer to thePlayerListenerinstances that are registered with the currentPlayerController.Wrapper implementation around the bandwidth meter.Helper class that takes care of the track renderer creation using the registeredTrackRendererPluginplugins.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 thecatchupfeature.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 ofTrackTypeProviderwith the video tracks separated according to the following video resolutions: SD, HD or UHD.Wraps information about currently connected displays.Use theDrmLicenseLoader.Builderto create instances of the license loader.Use this builder class to generate new instances of theDrmLicenseLoader.The callback interface for license loader tasksThis listener is responsible to deliver cue-start and cue-end events corresponding to the event-streams.This listener provides all the events corresponding to the event-streams as a list.Plugin which exposes a TrackRenderer for the default Exoplayer subtitles.Extension ofMediaCodecVideoRendererto 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 downstreamFormats change.Cache forDrm.Clearkey.Callback to define an initial playing position right after theTimelineis 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 ofCastlabsLoadControlevents.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.Clearkeywhich 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 ofPlayerConfigObject 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 allowsComponentsto work with their Views.Special type ofPlayerControllerPlugin.Componentwhich 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 ofPlayerListeners 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 aPlayerControllerin 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 thePlayerControllerwhenever the enclosingA plugin interface that can be used to create plugins that need access to theIPlayerViewor thePlayerControllerthat is responsible for the playback lifecycle.Implementations of this view component can be used to gain controlled access to aIPlayerViewand itsPlayerController.PlayerViewPlugin.SingleViewPlayerViewComponent<ViewType extends View>Helper class which extracts all the common logic in aPlayerViewPlugin.PlayerViewComponentin case it only operates on one single View.Common Playlist interface.Playlistimplementation.Utility class with empty implementations of the methods defined inSingleControllerPlaylist.PlaylistListenerListener which provides callbacks for whenever aPlayerConfigis loaded or unloaded from the playlist.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 createRendererinstances.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.TrickplayConfigurationBuilder.Speedup mode to use during TrickplayVideoFilterConfigurationbuilder static inner class.A listener that can be attached to thePlayerControllerto be informed about video rendering events such as decoder initializations, format changes and frame drops.This is an implementation of theVideoRendererEventListenerthat is used to delegate events from the track renderer to thePlayerListenerinstances that are registered with the currentPlayerController.VisualComponent whose task is to communicate aPlayerControllerPlugin.ComponentViewListenerwith thePlayerControllerPlugin.Componentmachinery.
TimelineChangedListenerorPeriodChangedListenerinstead