Package com.castlabs.android.player
-
Interface Summary Interface Description AudioRendererListener A listener that can be attached to thePlayerController
to be informed about audio rendering events such as decoder initializations, format changes and frame drops.CatchupListener Listener to get events related to thecatchup
feature.CLLibraryLoader.PostLoadAction Register instances of this interface to call custom code triggered after all native libraries are loaded.ConfigurationProvider Implementations of this interface allows to get updated configurations when needed.DrmLicenseLoader.Callback The callback interface for license loader tasksExtendedTrackSelector.EventListener Interface which receives Track Selection-related callbacks.ExtendedTrackSelector.PlayerInfoProvider ExternalSourceSelector The interface defines the source (CDN) fallback selection.FormatChangeListener This interface will receive events whenever the downstreamFormat
s change.InitialPositionProvider Callback to define an initial playing position right after theTimeline
is ready.IPlayerView This interface describes the visual component of the video player.ManifestModifier<T extends com.google.android.exoplayer2.offline.FilterableManifest> Allows to modify a manifest before it's used for extracting track info.MediaTrackEventListener MetadataListener You can use this listener to get callbacks about timed Meta-Data attached to a stream.PeriodChangedListener PeriodChangedListenerPeriodInfoProvider Implementations of this interface allows to get additional information on the period being played.PlaybackStateStorage Implementations of this interface offer the basic infrastructure to load and save instances ofPlayerConfig
PlayerControllerListener This is a high level listener interface that provides callbacks for lifecycle events of the player controller.PlayerControllerPlugin A plugin interface that can be used to create plugins that need access to thePlayerController
.PlayerControllerPlugin.Component Implementations of this component can be used to gain controlled access to aPlayerController
.PlayerControllerPlugin.ComponentViewListener Interface which allowsComponents
to work with their Views.PlayerControllerPlugin.VisualComponent Special type ofPlayerControllerPlugin.Component
which also happens to depend on a View.PlayerListener This is a high level listener interface that provides callbacks for events from a video player.PlayerPlugin A plugin interface that is used to initialize player instances for different content formats such as HLS, DASH, or SmoothStreaming.PlayerService.NotificationHandler Implementation of the interface can receive notification intents from thePlayerService
.PlayerViewLifecycleDelegate.LifecycleListener Callback to receive delegated Lifecycle events.PlayerViewPlugin A plugin interface that can be used to create plugins that need access to theIPlayerView
or thePlayerController
that is responsible for the playback lifecycle.PlayerViewPlugin.PlayerViewComponent Implementations of this view component can be used to gain controlled access to aIPlayerView
and itsPlayerController
.Playlist Common Playlist interface.SingleControllerPlaylist.PlaylistListener Playlist-related events listener.SourceSelector Deprecated. StreamingEventListener You can use this listener to get callbacks about current content downloads.TimelineChangedListener TimelineListener Deprecated. UseTimelineChangedListener
orPeriodChangedListener
insteadTrackRendererPlugin This plugin interface can be used to implement a track renderer integration.TrackRendererPlugin.TrackRendererBuilder Implementations of the builder a responsible to createRenderer
instances.TrackSelectionListener This is a high level listener interface that provides callbacks for track selection events.VideoRendererListener A listener that can be attached to thePlayerController
to be informed about video rendering events such as decoder initializations, format changes and frame drops. -
Class Summary Class Description AbrConfiguration The ABR configuration.AbrConfiguration.Builder A builder for ABR configuration instancesAbstractAudioRendererListener Abstract implementation of theAudioRendererListener
AbstractCatchupListener Abstract implementation ofCatchupListener
with empty methods for convenience.AbstractPlayerControllerListener Abstract implementation of thePlayerControllerListener
.AbstractPlayerListener Abstract implementation of thePlayerListener
.AbstractStreamingEventListener Abstract implementation of theStreamingEventListener
.AbstractVideoRendererListener Abstract implementation of theVideoRendererListener
AmLogicPlayerPlugin AudioAttributes Attributes for audio playback.AudioAttributes.Builder Builder forAudioAttributes
.AudioCapabilitiesManager Common access point to store and keep updated device audio capabilities.AudioTrackListener 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
.BandwidthMeterWrapper Wrapper implementation around the bandwidth meter.BasePlayerModelBuilder Helper class that takes care of the track renderer creation using the registeredTrackRendererPlugin
plugins.BufferConfiguration Container object that stores the buffer configuration.BufferConfiguration.Builder CastlabsBandwidthMeter This class is aTransferListener
receiving transfer progress and providing bandwidth metering via common ABRBandwidthMeter
and ExoBandwidthMeter
interfaces.CastlabsBandwidthMeter.Builder Builder for a bandwidth meter.CatchupConfiguration Represents a catchup configuration.CatchupConfiguration.Builder Builder for aCatchupConfiguration
.Chapter Basic chapter model that consists of the chapter position, a title, and an image URL.ClearkeyTrackRendererBuilder ClearTrackRendererPlugin A renderer plugin that supports audio and video tracks that are not encryptedCLLibraryLoader The library loader class is a class that provides static methods to register native libraries that will be loaded on request.CustomUtcTimingElement Represents a UTCTiming element specifying how the client should synchronize its clock with the server.DashDescriptor A Dash descriptor.DefaultMediaCodecSelector The implementation of MediaCodecSelector allowing to find the decoder based on mimetype and secure flag as well as on codecs string.DefaultPlayerPlugin *Internal* plugin that registers the default player implementationsDefaultTrackTypeProvider Default implementation ofTrackTypeProvider
with the video tracks separated according to the following video resolutions: SD, HD or UHD.DisplayInfo Wraps information about currently connected displays.DrmKeyStorage DrmLicenseLoader Use theDrmLicenseLoader.Builder
to create instances of the license loader.DrmLicenseLoader.Builder Use this builder class to generate new instances of theDrmLicenseLoader
.ExoSubtitlesRendererPlugin Plugin which exposes a TrackRenderer for the default Exoplayer subtitles.ExoSubtitlesRendererPlugin.ExoSubtitleComponent ExtendedMediaCodecVideoTrackRenderer Extension ofMediaCodecVideoRenderer
to add customizations and extensions.ExtendedTrackSelector ExternalSourceSelector.SourceData Source (CDN) data containerHlsClearKeyCache Cache forDrm.Clearkey
.IPTVPlayerPlugin LiveConfiguration Configuration object that groups all relevant parameters related to live streaming.LiveConfiguration.Builder LowLatencyProfile Profile that groups all the relevant parameters related to low latency live streaming.LowLatencyProfile.Builder MediaCodecInfo Container class holding the media codec name associated with the mimetypeMemoryHlsClearKeyCache Cache forDrm.Clearkey
which stores keys in memory.MPDParser Extends the default ExoPlayer DASH Manifest parsers.PeriodInfoProvider.PeriodInfo PlayerConfig Object which represents a specific Player configuration.PlayerConfig.Builder A Builder forPlayerConfig
.PlayerController This class allows you to control and manage the video player instance and receive feedback during playback.PlayerListeners This class helps to manage a set ofPlayerListener
s and delegates to the listener methods.PlayerPlugin.DrmInitDataProvider<T extends com.google.android.exoplayer2.offline.FilterableManifest> PlayerService 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.PlayerView The CastLabs PlayerView is a custom view that provides the video playback surface.PlayerViewLifecycleDelegate The default lifecycle delegate.PlayerViewLifecycleDelegate.ResumeConfiguration Configuration object which will dictate the behaviour of thePlayerController
whenever the enclosingPlayerViewLifecycleDelegate.ResumeConfiguration.Builder 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.SingleControllerPlaylist Playlist
implementation.TrackIndexOverride TrackRendererPlugin.TrackRendererContainer The builder interface creates instances of this container that wraps the renderer instance and an optional view component.TrackTypeProvider The implementations of this interface should provide the track types, track group types and their weights according to some desired model.TrickplayConfiguration Container which groups several Trickplay (speedup) configuration.TrickplayConfiguration.Builder TrickplayConfiguration
Builder.VideoFilterConfiguration VideoFilterConfiguration.Builder VideoFilterConfiguration
builder static inner class.VideoTrackListener 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
.VisualComponentProxy VisualComponent whose task is to communicate aPlayerControllerPlugin.ComponentViewListener
with thePlayerControllerPlugin.Component
machinery. -
Enum Summary Enum Description CatchupConfiguration.TimeReference Timing reference which will be used to calculate the thresholds of the CatchupConfigurationCatchupConfiguration.Type Represents the catchup strategy.ExternalSourceSelector.SwitchType The type of the source (CDN) fallbackPlayerController.State Represents states of the player backend.TrackRendererPlugin.Type The different content typesTrickplayConfiguration.SpeedupMode Speedup mode to use during Trickplay -
Annotation Types Summary Annotation Type Description AbrConfiguration.AbrMethod DashDescriptor.DescriptorType PlayerController.TrackType PlayerView.ScalingMode PlayerView.SurfaceType