Package com.castlabs.android.player
package com.castlabs.android.player
-
ClassDescriptionThe ABR configuration.The method used for ABR.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 theVideoRendererListenerPlayer plugin for AmLogic devices.Attributes 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.Builder forBufferConfigurationinstances.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.Listener forMediaSourceEventListenerevents that are propagated to thePlayerController.AMediaCodecTrackRendererBuilderthat buildsRendererinstances that support Clearkey DRM.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.Factory forCmcdConfigurationinstances.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.Defines the possible types for a DASH descriptor.The DashPlayerPlugin is responsible for creating and configuring a DASH media source and its associated renderers, as well as providing renderer capabilities.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.Default implementation ofMediaCodecAdapter.Factorythat usesDefaultMediaCodecAdapterFactoryto createMediaCodecAdapterinstances.Wraps information about currently connected displays.Represents a storage for DRM key information.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 tasksListener for event messages changes.A listener for handling event metadata in the player.This 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.A component for handling ExoPlayer subtitle rendering.Extension ofMediaCodecVideoRendererto add customizations and extensions.Extended Track Selector that provides advanced track selection capabilities.Interface which receives Track Selection-related callbacks.Provides information about the player.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.Abstract class that provides a listener interface for HLS interstitial events.Plugin that provides HLS playback functionality.Callback to define an initial playing position right after theTimelineis ready.This interface describes the visual component of the video player.A player plugin implementation for IPTV content.Configuration object that groups all relevant parameters related to live streaming.Builder class for creating LiveConfiguration instances.Interface definition for a callback to be notified ofCastlabsLoadControlevents.Profile that groups all the relevant parameters related to low latency live streaming.Builder class for creating LowLatencyProfile instances.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 mimetypeInterface for receiving notifications about media track events.Cache 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.Information about a period.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.Experimental features that are not yet stable.Represents states of the player backend.Types of tracks.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>Abstract class for providing DRM initialization data.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.Annotation to define valid scaling modes for PlayerView.Annotation to define valid surface types for PlayerView.The default lifecycle delegate.Callback to receive delegated Lifecycle events.Configuration object which will dictate the behaviour of thePlayerControllerwhenever the enclosingBuilder forPlayerViewLifecycleDelegate.ResumeConfigurationinstances.A 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.Interface definition for a callback to be invoked when the timeline has changed.Deprecated.UseTimelineChangedListenerorPeriodChangedListenerinsteadRepresents an override for a track index within a track group.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 TrickplayConfiguration for filtering video renditions.VideoFilterConfigurationbuilder static inner class.Listener for metadata associated with video rendering.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.Registers views with the castLabs licensing backend to validate licenses and report usage.Defines the type of playlist.VisualComponent whose task is to communicate aPlayerControllerPlugin.ComponentViewListenerwith thePlayerControllerPlugin.Componentmachinery.
ExternalSourceSelector