Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abrConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
-
The initial video quality
- abrConfiguration(AbrConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
AbrConfiguration
- AbrConfiguration - Class in com.castlabs.android.player
-
The ABR configuration.
- AbrConfiguration.AbrMethod - Annotation Type in com.castlabs.android.player
- AbrConfiguration.Builder - Class in com.castlabs.android.player
-
A builder for ABR configuration instances
- AbstractAudioRendererListener - Class in com.castlabs.android.player
-
Abstract implementation of the
AudioRendererListener
- AbstractAudioRendererListener() - Constructor for class com.castlabs.android.player.AbstractAudioRendererListener
- AbstractCatchupListener - Class in com.castlabs.android.player
-
Abstract implementation of
CatchupListener
with empty methods for convenience. - AbstractCatchupListener() - Constructor for class com.castlabs.android.player.AbstractCatchupListener
- AbstractPlayerControllerListener - Class in com.castlabs.android.player
-
Abstract implementation of the
PlayerControllerListener
. - AbstractPlayerControllerListener() - Constructor for class com.castlabs.android.player.AbstractPlayerControllerListener
- AbstractPlayerListener - Class in com.castlabs.android.player
-
Abstract implementation of the
PlayerListener
. - AbstractPlayerListener() - Constructor for class com.castlabs.android.player.AbstractPlayerListener
- AbstractPlayerModelFilter - Class in com.castlabs.android.player.filter
-
Convenience abstract and no-op implementation of
PlayerModelFilter
. - AbstractPlayerModelFilter() - Constructor for class com.castlabs.android.player.filter.AbstractPlayerModelFilter
- AbstractPlaylistListener() - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
- AbstractPlaylistListener() - Constructor for class com.castlabs.android.player.SingleControllerPlaylist.AbstractPlaylistListener
- AbstractStreamingEventListener - Class in com.castlabs.android.player
-
Abstract implementation of the
StreamingEventListener
. - AbstractStreamingEventListener() - Constructor for class com.castlabs.android.player.AbstractStreamingEventListener
- AbstractVideoRendererListener - Class in com.castlabs.android.player
-
Abstract implementation of the
VideoRendererListener
- AbstractVideoRendererListener() - Constructor for class com.castlabs.android.player.AbstractVideoRendererListener
- ACCESSIBILITY - Static variable in class com.castlabs.android.player.DashDescriptor
- Ad - Class in com.castlabs.android.adverts
-
Ad container.
- Ad() - Constructor for class com.castlabs.android.adverts.Ad
- AD_EMBEDDED - Static variable in class com.castlabs.android.SdkConsts
-
Marker indicating that an ad is played using the current player or is embedded within the content i.e.
- AD_POSITION_MIDROLL - Static variable in class com.castlabs.android.SdkConsts
-
Marker that indicates that an ad is played during content playback
- AD_POSITION_POSTROLL - Static variable in class com.castlabs.android.SdkConsts
-
Marker that indicates that an ad is played after the content
- AD_POSITION_PREROLL - Static variable in class com.castlabs.android.SdkConsts
-
Marker that indicates that an ad is played before the content
- AD_SCHEDULE_MANUAL - Static variable in class com.castlabs.android.SdkConsts
-
An instance of
AdSchedule
which represents manual scheduling. - AD_SEPARATE - Static variable in class com.castlabs.android.SdkConsts
-
Marker indicating that an ad is played using a separate player or is external to the current content i.e.
- AdApi - Interface in com.castlabs.android.adverts
-
An Api to interact with the underlying ad provider.
- adAssetUri - Variable in class com.castlabs.android.adverts.Ad
-
Ad Asset Uri
- adClick(String) - Method in class com.castlabs.analytics.AnalyticsSession
- adClick(String) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that the ad is clicked
- adClicked(String) - Method in interface com.castlabs.android.adverts.AdInterface
-
Inject the ad clicked side event
- AdClientInterface - Interface in com.castlabs.android.adverts
-
Implementation of this interface provides Sdk with external Ads metadata enrichment mechanism.
- AdClientInterface.Listener - Interface in com.castlabs.android.adverts
- adCompleted() - Method in interface com.castlabs.android.adverts.AdInterface
-
Inject the ad completed side event
- add(String, DrmKeyStorage) - Method in class com.castlabs.android.drm.KeyStore
-
Add a drm key to the storage
- addAdListener(AdInterface.Listener) - Method in interface com.castlabs.android.adverts.AdInterface
-
Register the given
AdInterface.Listener
- addAudioRendererListener(AudioRendererListener) - Method in class com.castlabs.android.player.PlayerController
-
Add an audio renderer listener
- addAudioTrack(AudioTrack) - Method in class com.castlabs.android.player.models.PlayerModel
-
Adds the given audio track to the list of audio tracks
- addAudioTrack(AudioTrack) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- addAudioTrack(AudioTrack, int, int, int) - Method in class com.castlabs.android.player.models.PlayerModel
-
Adds the given audio track to the list of audio tracks
- addCatchupListener(CatchupListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a Catchup listener
- addCustomDashEventListener(CustomDashEventListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a new event listener to receive custom DASH events
- addDescriptor(DashDescriptor) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- addDescriptor(DashDescriptor) - Method in class com.castlabs.android.player.models.Track
-
Adds a Dash descriptor to the list
- addDescriptors(Collection<? extends DashDescriptor>) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- addDrmEventListener(DrmEventListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a
DrmEventListener
. - addEventListener(Handler, BandwidthMeter.EventListener) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
- addEvents(EventMessage[]) - Method in class com.castlabs.android.player.models.EventStream.Builder
- addEvents(Collection<? extends EventMessage>) - Method in class com.castlabs.android.player.models.EventStream.Builder
- addEventStreamListener(EventStreamListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a new listener to receive cue-start and cue-end for stream events, corresponding to the event duration.
- addEventStreamListListener(EventStreamListListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a new listener to receive all the events corresponding to the event-streams as a list.
- addEventStreams(Collection<? extends EventStream>) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- addFormatChangeListener(FormatChangeListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a new Format change listener.
- addHeaderParameter(String, String) - Method in interface com.castlabs.android.network.DataSourceFactory
-
Adds a header parameter that will be added to each HTTP connection header that is generated with a
DataSource
created by this factory. - addHeaderParameter(String, String) - Method in class com.castlabs.android.network.DefaultDataSourceFactory
- addHeaderParameter(String, String) - Method in class com.castlabs.android.network.ModifierDataSourceFactory
- addHttpListener(HttpListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a HTTP listener
- addItem(int, PlayerConfig) - Method in interface com.castlabs.android.player.Playlist
-
Adds an item at the specified position in the playlist.
- addItem(int, PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Adds an item at the specified position in the playlist.
- addItem(int, PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- addItem(PlayerConfig) - Method in interface com.castlabs.android.player.Playlist
-
Adds an item at the end of the playlist.
- addItem(PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- addItem(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- addItemLoadListener(SingleControllerPlaylist.ItemLoadListener) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- additionalAssetIds - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
Optional additional assetIds for content with tracks encrypted with different keys
- additionalAssetIds(List<String>) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
If you are using the DRMtoday-Mobile Server, you can use this method to specify a list of additional Asset Ids for content with tracks encrypted with different keys.
- addLegacyDeviceScreenResolution(String, String) - Static method in class com.castlabs.android.PlayerSDK
-
Add a device for which its screen dimensions will be read using the legacy approach.
- addLifecycleListener(PlayerViewLifecycleDelegate.LifecycleListener) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
-
Adds a lifecycle delegate listener
- addListener(AdInterface.Listener) - Method in class com.castlabs.android.player.PlayerListeners
- addListener(CustomDashEventListener) - Method in class com.castlabs.android.player.PlayerListeners
-
Register the given
CustomDashEventListener
- addListener(EventStreamListener) - Method in class com.castlabs.android.player.PlayerListeners
-
Register the given
EventStreamListener
- addListener(EventStreamListListener) - Method in class com.castlabs.android.player.PlayerListeners
-
Register the given
EventStreamListListener
- addLoadControlListener(LoadControlListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a
LoadControlListener
. - addMetadataListener(MetadataListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a new event listener to receive updates on ID3 Meta-Data tags from HLS streams.
- addPeriod(Timeline.Period) - Method in class com.castlabs.android.player.models.Timeline.Builder
- addPeriodChangedListener(PeriodChangedListener) - Method in class com.castlabs.android.player.PlayerController
-
Adds a listener to receive updates on
Timeline.Period
changes - addPeriods(Timeline.Period[]) - Method in class com.castlabs.android.player.models.Timeline.Builder
- addPeriods(Collection<? extends Timeline.Period>) - Method in class com.castlabs.android.player.models.Timeline.Builder
- addPlayerControllerListener(PlayerControllerListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a new player controller listener
- addPlayerListener(PlayerListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a
PlayerListener
. - addPlayerModelFilter(PlayerModelFilter) - Method in class com.castlabs.android.player.PlayerController
-
Adds a
PlayerModelFilter
. - addPlaylistListener(SingleControllerPlaylist.PlaylistListener) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- addPresentationTimesUs(Long[]) - Method in class com.castlabs.android.player.models.EventStream.Builder
- addPresentationTimesUs(Collection<Long>) - Method in class com.castlabs.android.player.models.EventStream.Builder
- addProvider(AdProvider) - Static method in class com.castlabs.android.adverts.Adverts
-
Register a new Ad provider.
- addQuality(VideoTrackQuality) - Method in class com.castlabs.android.player.models.MutableVideoTrack
-
Add a new quality to the set of available qualities for this track
- addQueryParameter(String, String) - Method in interface com.castlabs.android.network.DataSourceFactory
-
Adds a query parameter that will be appended to each HTTP URL.
- addQueryParameter(String, String) - Method in class com.castlabs.android.network.DefaultDataSourceFactory
- addQueryParameter(String, String) - Method in class com.castlabs.android.network.ModifierDataSourceFactory
- addReporter(CrashReporter) - Static method in class com.castlabs.analytics.Crashlog
-
Add a new reporter
- addRequestModifier(RequestModifier) - Method in class com.castlabs.android.player.PlayerController
-
Add a request modifier.
- addResponseModifier(ResponseModifier) - Method in class com.castlabs.android.player.PlayerController
-
Add a response modifier.
- addStreamingEventListener(StreamingEventListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a new event listener.
- addSubtitleTrack(SubtitleTrack) - Method in class com.castlabs.android.player.models.PlayerModel
-
Adds a subtitle track to the list of subtitle tracks
- addSubtitleTrack(SubtitleTrack) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- addSubtitleTrack(SubtitleTrack, int, int, int) - Method in class com.castlabs.android.player.models.PlayerModel
-
Adds the given subtitle track to the list of subtitle tracks
- addSubtitleTrack(String, String, String, String) - Method in class com.castlabs.android.player.PlayerController
-
Add a subtitles track to be side-loaded when content is opened.
- addThumbnailTrack(ThumbnailDataTrack) - Method in class com.castlabs.android.player.models.PlayerModel
-
Adds the given thumbnail track to the list of thumbnail tracks
- addThumbnailTrack(ThumbnailDataTrack) - Method in class com.castlabs.android.player.PlayerController
-
Adds a thumbnail track.
- addTimelineChangedListener(TimelineChangedListener) - Method in class com.castlabs.android.player.PlayerController
-
Adds a listener to receive updates on
Timeline
updates - addTimelineListener(TimelineListener) - Method in class com.castlabs.android.player.PlayerController
-
Deprecated.
- addTrackSelectionListener(TrackSelectionListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a new event listener to receive updates related to track selection.
- addTransferListener(TransferListener) - Method in class com.castlabs.android.downloader.ZipDataSource
- addTransferListener(TransferListener) - Method in class com.castlabs.android.network.ExtendedDataSource
- addVideoRendererListener(VideoRendererListener) - Method in class com.castlabs.android.player.PlayerController
-
Add a video renderer listener
- addVideoTrack(VideoTrack) - Method in class com.castlabs.android.player.models.PlayerModel
-
Adds the given video track to the list of video tracks
- addVideoTrack(VideoTrack) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- addWindow(Timeline.Window) - Method in class com.castlabs.android.player.models.Timeline.Builder
- adError(Ad, CastlabsPlayerException) - Method in class com.castlabs.analytics.AnalyticsSession
- adError(Ad, CastlabsPlayerException) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that an ad error occurred.
- adError(Ad, CastlabsPlayerException) - Method in interface com.castlabs.android.adverts.AdInterface
-
Inject the ad error side event
- adErrorInternal(Ad, CastlabsPlayerException) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- AdInterface - Interface in com.castlabs.android.adverts
-
Implementation of this interface provides access to Ad status.
- AdInterface.Listener - Interface in com.castlabs.android.adverts
- AdLoader - Interface in com.castlabs.android.adverts
-
The interface to provide SDK with the
Ad
properties The implementations are used byAdProvider.createAdLoader(AdRequest)
- AdLoader.Listener - Interface in com.castlabs.android.adverts
- adPause() - Method in class com.castlabs.analytics.AnalyticsSession
- adPause() - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that the ad is paused.
- adPaused() - Method in interface com.castlabs.android.adverts.AdInterface
-
Inject the ad paused side event
- adPod - Variable in class com.castlabs.android.adverts.Ad
-
Information related to the adPod this Ad belongs to
- AdPodData - Class in com.castlabs.android.adverts
-
Ad Pod metadata
- AdPodData() - Constructor for class com.castlabs.android.adverts.AdPodData
- adPosition - Variable in class com.castlabs.android.adverts.AdPodData
-
The position of the ad within the pod.
- AdProvider - Interface in com.castlabs.android.adverts
-
Implementation of this interface allows creating new AdsLoader instances.
- adRequest - Variable in class com.castlabs.android.player.PlayerConfig
-
The Ad request (if any)
- adRequest(AdRequest) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
AdRequest
- AdRequest - Class in com.castlabs.android.adverts
-
Container class for Ad requests.
- AdRequest(Bundle) - Constructor for class com.castlabs.android.adverts.AdRequest
-
Create ads request with ads specific parameters stored in the provided Bundle
- adResume(Ad) - Method in class com.castlabs.analytics.AnalyticsSession
- adResume(Ad) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that an ad playback resumed.
- adResumed(Ad) - Method in interface com.castlabs.android.adverts.AdInterface
-
Inject the ad paused side event
- adSchedule - Variable in class com.castlabs.android.player.PlayerConfig
-
Describes a custom ad schedule.
- adSchedule(AdSchedule) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Set the AdSchedule
- AdSchedule - Class in com.castlabs.android.adverts
-
Describes a custom ad schedule.
- AdSchedule.Builder - Class in com.castlabs.android.adverts
-
Builder for
AdSchedule
- AdSchedule.ScheduleType - Annotation Type in com.castlabs.android.adverts
- adSkipped() - Method in class com.castlabs.analytics.AnalyticsSession
- adSkipped() - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that the ad is skipped.
- adSkipped() - Method in interface com.castlabs.android.adverts.AdInterface
-
Inject the ad skipped side event
- adSkippedInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- adStart(Ad) - Method in class com.castlabs.analytics.AnalyticsSession
- adStart(Ad) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that an ad playback started.
- adStarted(Ad) - Method in interface com.castlabs.android.adverts.AdInterface
-
Inject the ad started side event.
- adStartInternal(Ad) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- adStop() - Method in class com.castlabs.analytics.AnalyticsSession
- adStop() - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that an ad playback stopped.
- adStopInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- adTagUri - Variable in class com.castlabs.android.adverts.Ad
-
Ad Tag Uri
- Adverts - Class in com.castlabs.android.adverts
-
Provides static access to Ad providers.
- adWillStart(Ad) - Method in class com.castlabs.analytics.AnalyticsSession
- adWillStart(Ad) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that an Ad begins loading
- adWillStart(Ad) - Method in interface com.castlabs.android.adverts.AdInterface
-
Inject the ad will start side event.
- adWillStartInternal(Ad) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- ageRestriction - Variable in class com.castlabs.android.cas.CasConfiguration
- ALLOW_HD_CLEAR_CONTENT - Static variable in class com.castlabs.android.SdkConsts
-
Allow HD content for unencrypted clear content
- ALLOW_HD_DRM_ROOT_OF_TRUST - Static variable in class com.castlabs.android.SdkConsts
-
Indicates that HD playback of DRM protected content is allowed only if both the DRM and the device support at least L2 "root of trust" security.
- ALLOW_HD_DRM_SECURE_MEDIA_PATH - Static variable in class com.castlabs.android.SdkConsts
-
Indicates that HD playback of DRM protected content is allowed only if both the DRM and the device support a secure media path.
- ALLOW_HD_DRM_SOFTWARE - Static variable in class com.castlabs.android.SdkConsts
-
Indicates that HD playback of DRM protected content is allowed on all DRM systems.
- ALLOW_HD_NEVER - Static variable in class com.castlabs.android.SdkConsts
-
Never allow HD content playback and always filter HD representations
- allowHlsChunklessPreparation - Variable in class com.castlabs.android.player.PlayerConfig
-
If set to true, chunk-less preparation of hls tracks are allowed
- allowHlsChunklessPreparation(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
If set to true, chunk-less preparation of hls tracks are allowed
- AmLogicPlayerPlugin - Class in com.castlabs.android.player
- AmLogicPlayerPlugin() - Constructor for class com.castlabs.android.player.AmLogicPlayerPlugin
- AmLogicPlayerPlugin(IptvAnalyticsListener.EventDispatcher) - Constructor for class com.castlabs.android.player.AmLogicPlayerPlugin
- ANALYTICS_SESSION_TYPE_OPEN - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a key to
SdkConsts.INTENT_ANALYTICS_SESSION_TYPE
to instruct the player to create and start analytics session uponPlayerController.open(Bundle)
. - ANALYTICS_SESSION_TYPE_PLAY - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a key to
SdkConsts.INTENT_ANALYTICS_SESSION_TYPE
when playback does not start automatically, i.e. - analyticsMetaData - Variable in class com.castlabs.android.player.PlayerConfig
-
The analytics meta-data
- analyticsMetaData(AnalyticsMetaData) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Set the analytics meta-data
- AnalyticsMetaData - Class in com.castlabs.analytics
-
The meta-data class wraps around mandatory and optional meta-data that are send to various analytics backends.
- AnalyticsMetaData(boolean, String) - Constructor for class com.castlabs.analytics.AnalyticsMetaData
-
Create a new instance
- AnalyticsSession - Class in com.castlabs.analytics
-
Implementation of
IAnalyticsSession
which could be enabled or disabled. - AnalyticsSession() - Constructor for class com.castlabs.analytics.AnalyticsSession
- AnalyticsSessionProxy - Class in com.castlabs.analytics
-
Proxy which extends
AnalyticsSession
that can delegate to a list of session. - AnalyticsSessionProxy(List<AnalyticsSession>) - Constructor for class com.castlabs.analytics.AnalyticsSessionProxy
- analyticsSessionType - Variable in class com.castlabs.android.player.PlayerConfig
-
Analytics session type
- analyticsSessionType(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the type of analytics session
- API_MISMATCH - Enum constant in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
- appendRequestProperties(DrmTodayConfiguration, Map<String, String>) - Static method in class com.castlabs.android.drm.DrmTodayUriFactory
-
Adds the required DRMtoday request properties to the given map.
- apply(BufferConfiguration) - Method in class com.castlabs.android.player.BufferConfiguration
-
Copies the values from the given buffer configuration to this configuration
- apply(LiveConfiguration) - Method in class com.castlabs.android.player.LiveConfiguration
-
Copies the values from the given live configuration to this configuration
- applyTo(Bundle) - Method in class com.castlabs.android.player.LowLatencyProfile
-
Apply the profile to the given Bundle
- applyTo(PlayerConfig) - Method in class com.castlabs.android.player.LowLatencyProfile
-
Apply the profile to the given PlaybackState
- areEqual(Bundle, Bundle) - Static method in class com.castlabs.utils.Validate
-
Recursively check the bundles for equality
- ArrayUtils - Class in com.castlabs.utils
-
Utilities around arrays
- assertValidContentType(int) - Static method in class com.castlabs.android.SdkConsts
-
Assert that the given content type is valid or throws an IllegalArgumentException.
- Asset(Uri, int) - Constructor for class com.castlabs.android.player.models.hls.HlsInterstitial.Asset
- ASSET_IDENTIFIER - Static variable in class com.castlabs.android.player.DashDescriptor
- assetId - Variable in class com.castlabs.analytics.AnalyticsMetaData
-
The asset ID that identifies the currently played content
- assetId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
The asset ID
- assetId(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Sets the assetId id.
- AssetLicenseLoader - Class in com.castlabs
-
Implementation of the
LicenseLoader
that will load the license file from the Applications assets. - AssetLicenseLoader() - Constructor for class com.castlabs.AssetLicenseLoader
-
Creates an instance of the loader that expects an asset of the name `license.lic`.
- AssetLicenseLoader(String) - Constructor for class com.castlabs.AssetLicenseLoader
-
Create an instance of the loader that expects an asset of the given name.
- AssetsUtils - Class in com.castlabs.android.utils
-
Asset utilities that help to copy assets from the application to a local folder.
- attachToPlayerView(PlayerView) - Method in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
-
Create any necessary Views, attach them to the given PlayerView and return them.
- attachToPlayerView(PlayerView) - Method in class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
- Audio - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
- AUDIO - Static variable in class com.castlabs.android.SdkConsts
-
Identifies the audio content
- AUDIO_ATTRIBUTES_FOCUS_DISABLED - Static variable in class com.castlabs.android.SdkConsts
-
Instance of
AudioAttributes
that represents disabled Audio Focus management. - AUDIO_ATTRIBUTES_FOCUS_ENABLED - Static variable in class com.castlabs.android.SdkConsts
-
Instance of
AudioAttributes
that enables Audio Focus management. - AUDIO_CODEC_BUFFER_MODE - Static variable in class com.castlabs.android.PlayerSDK
- AUDIO_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
-
Identifies the audio track
- audioAttributes - Variable in class com.castlabs.android.player.PlayerConfig
-
The Audio Attributes.
- audioAttributes(AudioAttributes) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Set the AudioAttributes
- AudioAttributes - Class in com.castlabs.android.player
-
Attributes for audio playback.
- AudioAttributes.Builder - Class in com.castlabs.android.player
-
Builder for
AudioAttributes
. - AudioCapabilitiesManager - Class in com.castlabs.android.player
-
Common access point to store and keep updated device audio capabilities.
- audioCodec(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the preferred audio codec for all audio types.
- audioDecoderFallback - Variable in class com.castlabs.android.player.PlayerConfig
-
If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
- audioDecoderFallback(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
- audioDrm - Variable in class com.castlabs.android.drm.DrmConfiguration
-
The DRM system used for audio tracks.
- audioDrm(Drm) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Set a dedicated DRM system for audio tracks.
- audioDrmInitData - Variable in class com.castlabs.android.drm.DrmInitDataContainer
- audioFeedYield(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
Whether to enable audio renderer stop feeding decoder when other renderers (video) are ready to start new render cycle.
- audioFeedYieldEnabled - Variable in class com.castlabs.android.player.BufferConfiguration
-
The behaviour for audio renderer when feeding decoder.
- audioFeedYieldEnabled - Variable in class com.castlabs.android.player.BufferConfiguration.Builder
- AudioRendererListener - Interface in com.castlabs.android.player
-
A listener that can be attached to the
PlayerController
to be informed about audio rendering events such as decoder initializations, format changes and frame drops. - AudioTrack - Class in com.castlabs.android.player.models
-
A Audio track.
- AudioTrack(int) - Constructor for class com.castlabs.android.player.models.AudioTrack
-
Create a new track with the given bitrate
- AudioTrack(long, Format) - Constructor for class com.castlabs.android.player.models.AudioTrack
-
Create a new track with the given duration and initialise it from the given format data
- audioTrackGroupIndex - Variable in class com.castlabs.android.player.PlayerConfig
-
The index of the selected audio track group
- audioTrackGroupIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the audio track group index
- audioTrackIndex - Variable in class com.castlabs.android.player.PlayerConfig
-
The index of the selected audio track
- audioTrackIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the audio track index
- AudioTrackListener - Class in com.castlabs.android.player
-
This is an implementation of the
MediaTrackEventListener
andAudioRendererEventListener
that is used to delegate events from the track renderer to thePlayerListener
instances that are registered with the currentPlayerController
. - AudioTrackListener(PlayerListeners) - Constructor for class com.castlabs.android.player.AudioTrackListener
- authToken - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
The DRMToday auth token
- authToken(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Set the DRMToday auth token when you are using upfront authentication.
- Auto - Enum constant in enum com.castlabs.android.player.ExternalSourceSelector.SwitchType
-
First, the seamless transition is attempted and in case of any failure, the playback restart will follow up
- autoPlay - Variable in class com.castlabs.android.player.PlayerConfig
-
Whether to autoplay or not
- autoPlay(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets whether to start playing once enough buffer is available
- availabilityStartTimeOffsetOverwriteMs - Variable in class com.castlabs.android.player.LiveConfiguration
-
Overwrite or set the availability start time offset for ultra low latency streams.
- availabilityStartTimeOffsetOverwriteMs(long) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
For ultra low latency streams, set or overwrite the availability start time offset.
B
- backBufferDuration(long, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
Maximum duration of the back buffer.
- backBufferDurationMs - Variable in class com.castlabs.android.player.BufferConfiguration
-
Maximum duration of the back buffer.
- backoffFactor - Variable in class com.castlabs.android.network.RetryConfiguration
-
The multiplication factor between retries applied after the first retry
- backoffFactor(float) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
-
Sets the backoff factor.
- backPlayers(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Sets the number of "back players".
- bandwidthFraction - Variable in class com.castlabs.android.player.AbrConfiguration
-
The fraction of the bandwidth estimation that we consider to calculate the effective bandwidth.
- bandwidthFraction(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
The fraction of the bandwidth estimation that we consider the effective bandwidth.
- BandwidthMeterWrapper - Class in com.castlabs.android.player
-
Wrapper implementation around the bandwidth meter.
- baseDelayMs - Variable in class com.castlabs.android.network.RetryConfiguration
-
The initial delay applied to the first retry
- baseDelayMs(int) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
-
Sets the base delay in milliseconds.
- BasePlayerModelBuilder - Class in com.castlabs.android.player
-
Helper class that takes care of the track renderer creation using the registered
TrackRendererPlugin
plugins. - BasePlayerModelBuilder() - Constructor for class com.castlabs.android.player.BasePlayerModelBuilder
- BestAvailable - Enum constant in enum com.castlabs.android.drm.Drm
-
Choose the best DRM available on the device
- Binder() - Constructor for class com.castlabs.android.player.PlayerService.Binder
- bitrate - Variable in class com.castlabs.android.adverts.Ad
-
The Ad bitrate in bits per second
- BlocklistException - Exception Class in com.castlabs.android.player.exceptions
- BUFFER_AHEAD - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.TimeReference
-
Will use the amount of buffer ahead as the time reference.
- bufferConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
-
The buffer configuration
- bufferConfiguration(BufferConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
BufferConfiguration
- BufferConfiguration - Class in com.castlabs.android.player
-
Container object that stores the buffer configuration.
- BufferConfiguration() - Constructor for class com.castlabs.android.player.BufferConfiguration
-
Create a new buffer configuration using the default values
- BufferConfiguration(int, long, long) - Constructor for class com.castlabs.android.player.BufferConfiguration
-
Create a new buffer configuration
- BufferConfiguration.Builder - Class in com.castlabs.android.player
- Buffering - Enum constant in enum com.castlabs.android.player.PlayerController.State
-
The player does not have enough data to start playing and is buffering now.
- bufferSegmentSize - Variable in class com.castlabs.android.player.BufferConfiguration
-
The internal buffer is divided into segment and this specifies the size of a single buffer segment.
- bufferSegmentSize(int) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
The internal buffer is divided into segment and this specifies the size of a single buffer segment.
- bufferSizeBytes - Variable in class com.castlabs.android.player.BufferConfiguration
-
The buffer size in bytes
- bufferSizeBytes(int) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
The buffer size in bytes
- build() - Method in class com.castlabs.android.subtitles.ExoSubtitlesPreviewBuilder
- build() - Method in interface com.castlabs.android.subtitles.SubtitlesPreviewBuilder
-
Create a new instance of a
SubtitlesPreview
. - Builder() - Constructor for class com.castlabs.android.adverts.AdSchedule.Builder
- Builder() - Constructor for class com.castlabs.android.network.NetworkConfiguration.Builder
- Builder() - Constructor for class com.castlabs.android.network.RetryConfiguration.Builder
- Builder() - Constructor for class com.castlabs.android.player.AbrConfiguration.Builder
- Builder() - Constructor for class com.castlabs.android.player.AudioAttributes.Builder
-
Creates a new builder for
AudioAttributes
. - Builder() - Constructor for class com.castlabs.android.player.BufferConfiguration.Builder
-
Create a new builder with default values
- Builder() - Constructor for class com.castlabs.android.player.LiveConfiguration.Builder
-
Create a new builder with default values
- Builder() - Constructor for class com.castlabs.android.player.LowLatencyProfile.Builder
-
Create a new builder with default values
- Builder() - Constructor for class com.castlabs.android.player.models.EventMessage.Builder
- Builder() - Constructor for class com.castlabs.android.player.models.Timeline.Builder
- Builder() - Constructor for class com.castlabs.android.player.models.Timeline.Period.Builder
- Builder() - Constructor for class com.castlabs.android.player.models.Timeline.Window.Builder
- Builder() - Constructor for class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
- Builder() - Constructor for class com.castlabs.android.player.TrickplayConfiguration.Builder
- Builder() - Constructor for class com.castlabs.android.player.VideoFilterConfiguration.Builder
- Builder(Context) - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Creates an instance of the Builder.
- Builder(Context, PlayerConfig, DrmLicenseLoader.Callback) - Constructor for class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Create a new builder to generate a license loader instance using the given PlayerConfig data.
- Builder(Context, String, DrmConfiguration, DrmLicenseLoader.Callback) - Constructor for class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Create a new builder to generate a license loader instance.
- Builder(Bundle) - Constructor for class com.castlabs.android.player.PlayerConfig.Builder
- Builder(DrmTodayConfiguration) - Constructor for class com.castlabs.android.drm.DrmTodayConfiguration.Builder
- Builder(NetworkConfiguration) - Constructor for class com.castlabs.android.network.NetworkConfiguration.Builder
- Builder(RetryConfiguration) - Constructor for class com.castlabs.android.network.RetryConfiguration.Builder
-
Create a new builder that will take its initial values from the given source
- Builder(AbrConfiguration) - Constructor for class com.castlabs.android.player.AbrConfiguration.Builder
- Builder(BufferConfiguration) - Constructor for class com.castlabs.android.player.BufferConfiguration.Builder
-
Create a new builder starting with the value from the given configuration
- Builder(CatchupConfiguration) - Constructor for class com.castlabs.android.player.CatchupConfiguration.Builder
-
Create a new builder starting with the value from the given configuration
- Builder(CatchupConfiguration.TimeReference) - Constructor for class com.castlabs.android.player.CatchupConfiguration.Builder
-
Create a new builder with default values
- Builder(LiveConfiguration) - Constructor for class com.castlabs.android.player.LiveConfiguration.Builder
-
Create a new builder starting with the value from the given configuration
- Builder(LowLatencyProfile) - Constructor for class com.castlabs.android.player.LowLatencyProfile.Builder
-
Create a new builder starting with the value from the given configuration
- Builder(PlayerConfig) - Constructor for class com.castlabs.android.player.PlayerConfig.Builder
- Builder(PlayerView) - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Creates an instance of the Builder.
- Builder(TrickplayConfiguration) - Constructor for class com.castlabs.android.player.TrickplayConfiguration.Builder
- Builder(VideoFilterConfiguration) - Constructor for class com.castlabs.android.player.VideoFilterConfiguration.Builder
- Builder(String) - Constructor for class com.castlabs.android.player.PlayerConfig.Builder
- Builder(String, String) - Constructor for class com.castlabs.android.player.models.EventStream.Builder
- Builder(String, String, String, String) - Constructor for class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Create a new builder with the given parameters using no explicit asset id and the best available DRM system.
- Builder(String, String, String, String, Drm) - Constructor for class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Create a new builder with the given parameters.
- Builder(String, String, String, String, String, Drm) - Constructor for class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Create a new builder with the given parameters.
- buildUpon() - Method in class com.castlabs.android.player.PlayerConfig
-
Set the
Builder
values to the stored values in theBundle
. - bundleToJSON(Bundle) - Static method in class com.castlabs.android.utils.DataUtils
- BundleUtils - Class in com.castlabs.utils
-
Utilities around Bundle
- BundleUtils() - Constructor for class com.castlabs.utils.BundleUtils
- bytesThreshold - Variable in class com.castlabs.android.player.AbrConfiguration
-
The min number of bytes before transferred bytes and times are used for ABR calculations, applicable to
AbrConfiguration.METHOD_COMMON_NBA
- bytesThreshold(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
Set the
AbrConfiguration.bytesThreshold
- bytesToString(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
-
Converts byte array to String representation, used for debugging
C
- callTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration
- casConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
-
Cas configuration (if any)
- casConfiguration(CasConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
CasConfiguration
- CasConfiguration - Class in com.castlabs.android.cas
-
Basic CAS configuration that can be used to query keys from a widevine proxy.
- CasConfiguration(String, String, int, int, int, byte[], Bundle) - Constructor for class com.castlabs.android.cas.CasConfiguration
-
Create CAS configuration
- casID - Variable in class com.castlabs.android.cas.CasConfiguration
-
The casID of the headend system, WVCAS is 0x4AD4 by default
- CastlabsMediaDrm - Class in com.castlabs.android.drm
-
Wrapper of the
FrameworkMediaDrm
allowing asynchronously close the DRM session. - CastlabsMediaDrm.CastlabsMediaDrmException - Exception Class in com.castlabs.android.drm
- CastlabsMediaDrm.CastlabsMediaDrmException.Type - Annotation Type in com.castlabs.android.drm
- CastlabsMediaDrmException(int, Throwable) - Constructor for exception class com.castlabs.android.drm.CastlabsMediaDrm.CastlabsMediaDrmException
- CastlabsPlayerException - Exception Class in com.castlabs.android.player.exceptions
-
Exception that represents a player error and wraps the cause and an optional error code.
- CastlabsPlayerException(int, int, String) - Constructor for exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- CastlabsPlayerException(int, int, String, Throwable) - Constructor for exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- CastlabsPlayerException(int, int, String, Throwable, String) - Constructor for exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- CastlabsPlayerException.Severity - Annotation Type in com.castlabs.android.player.exceptions
- CastlabsPlayerException.Type - Annotation Type in com.castlabs.android.player.exceptions
- catchupConfiguration - Variable in class com.castlabs.android.player.LiveConfiguration
-
Defines the catchup configuration
- catchupConfiguration(CatchupConfiguration) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Defines the catchup configuration
- CatchupConfiguration - Class in com.castlabs.android.player
-
Represents a catchup configuration.
- CatchupConfiguration.Builder - Class in com.castlabs.android.player
-
Builder for a
CatchupConfiguration
. - CatchupConfiguration.TimeReference - Enum in com.castlabs.android.player
-
Timing reference which will be used to calculate the thresholds of the CatchupConfiguration
- CatchupConfiguration.Type - Enum in com.castlabs.android.player
-
Represents the catchup strategy.
- CatchupListener - Interface in com.castlabs.android.player
-
Listener to get events related to the
catchup
feature. - cause - Variable in exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
- cencFromPlayreadyKID(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
-
Creates a CENC UUID from the decoded playready KeyID
- cencFromPlayreadyKID(String) - Static method in class com.castlabs.android.drm.DrmUtils
-
Creates a CENC UUID from a base 64 encoded playready key id
- Chapter - Class in com.castlabs.android.player
-
Basic chapter model that consists of the chapter position, a title, and an image URL.
- Chapter(long) - Constructor for class com.castlabs.android.player.Chapter
-
Create a new chapter
- Chapter(long, long, String, Uri) - Constructor for class com.castlabs.android.player.Chapter
-
Create a new chapter
- Chapter(long, String) - Constructor for class com.castlabs.android.player.Chapter
-
Create a new chapter
- Chapter(long, String, Uri) - Constructor for class com.castlabs.android.player.Chapter
-
Create a new chapter
- checkClientTrusted(X509Certificate[], String) - Method in class com.castlabs.android.network.CustomX509TrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class com.castlabs.android.network.CustomX509TrustManager
- ChunkSampleSourceListener - Class in com.castlabs.android.player
- ChunkSampleSourceListener(PlayerController) - Constructor for class com.castlabs.android.player.ChunkSampleSourceListener
- clear() - Method in interface com.castlabs.android.player.PlaybackStateStorage
-
Clears the storage and deletes all entries
- clearAllHeaders() - Method in class com.castlabs.android.network.ExtendedDataSource
- clearCache() - Method in class com.castlabs.android.utils.LazyImageLoader
-
Clears the in-memory bitmap cache and removed all cached files.
- clearHeader(String) - Method in class com.castlabs.android.network.ExtendedDataSource
- clearHeaderParameters() - Method in interface com.castlabs.android.network.DataSourceFactory
-
Removes all header parameters added previously with
DataSourceFactory.addHeaderParameter(String, String)
. - clearHeaderParameters() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
- clearHeaderParameters() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
- Clearkey - Enum constant in enum com.castlabs.android.drm.Drm
-
Select Clearkey drm
- ClearkeyTrackRendererBuilder - Class in com.castlabs.android.player
- ClearkeyTrackRendererBuilder() - Constructor for class com.castlabs.android.player.ClearkeyTrackRendererBuilder
- clearQueryParameters() - Method in interface com.castlabs.android.network.DataSourceFactory
-
Removes all query parameters added previously with
DataSourceFactory.addQueryParameter(String, String)
- clearQueryParameters() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
- clearQueryParameters() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
- ClearTrackRendererPlugin - Class in com.castlabs.android.player
-
A renderer plugin that supports audio and video tracks that are not encrypted
- ClearTrackRendererPlugin() - Constructor for class com.castlabs.android.player.ClearTrackRendererPlugin
- clickthrough() - Method in interface com.castlabs.android.adverts.AdApi
-
Perform the clickthrough operation on the current ad, if applicable.
- CLIP_PERIODS - Static variable in class com.castlabs.android.PlayerSDK
-
Global parameter to enable or disable audio and video components clipping to their period duration (DASH-only).
- clipPeriods - Variable in class com.castlabs.android.player.PlayerConfig
-
If true then media periods will be clipped to their durations (currently is only applicable for DASH streams)
- clipPeriods(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets whether to clip periods to their durations (DASH-only) May be necessary when the segments durations are longer than the periods or the segments durations are not-aligned, so the periods should be clipped to periods durations and don't render the segments leftovers.
- clippingEndUs - Variable in class com.castlabs.android.player.PlayerConfig
-
The clipping end position in microseconds
- clippingEndUs(long) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the clipping start position in microseconds
- clippingStartUs - Variable in class com.castlabs.android.player.PlayerConfig
-
The clipping start position in microseconds
- clippingStartUs(long) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the clipping start position in microseconds
- CLLibraryLoader - Class in com.castlabs.android.player
-
The library loader class is a class that provides static methods to register native libraries that will be loaded on request.
- CLLibraryLoader.PostLoadAction - Interface in com.castlabs.android.player
-
Register instances of this interface to call custom code triggered after all native libraries are loaded.
- close() - Method in class com.castlabs.android.downloader.ZipDataSource
- close() - Method in interface com.castlabs.android.drm.DrmLicenseManager
-
Close all sessions
- close() - Method in class com.castlabs.android.network.ExtendedDataSource
- Close - Enum constant in enum com.castlabs.android.player.CustomDashEventListener.EventType
- closeQuietly(DataSource) - Static method in class com.castlabs.utils.IOUtils
-
Quietly close the given DataSource and ignore any IO exceptions.
- closeQuietly(Closeable) - Static method in class com.castlabs.utils.IOUtils
-
Quietly close the given closable and ignore any IO exceptions.
- closeSession(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
-
Asynchronously close the session with the given ID
- closeSessionSync(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
-
Syncroniously close the session with the given ID
- CmcdConfigurationFactory - Interface in com.castlabs.android.player
- CODE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- CODEC_BUFFER_MODE_ASYNC - Static variable in class com.castlabs.android.SdkConsts
-
Force asynchronous buffer mode, only valid for API higher or equal to 23
- CODEC_BUFFER_MODE_AUTO - Static variable in class com.castlabs.android.SdkConsts
-
Asynchronous buffer mode for API higher or equal to 31, otherwise synchronous
- CODEC_BUFFER_MODE_SYNC - Static variable in class com.castlabs.android.SdkConsts
-
Force synchronous buffer mode
- CODEC_NAMES - Static variable in class com.castlabs.utils.Codecs
- CODEC_WEIGHT_IMPL_HW - Static variable in class com.castlabs.android.PlayerSDK
-
The codec normalized weight for hardware implementation
1.0f
used for the default track selection. - CODEC_WEIGHT_IMPL_SW - Static variable in class com.castlabs.android.PlayerSDK
-
The codec normalized weight for software implementation
0.5f
used for the default track selection. - CODEC_WEIGHT_MIME_H264_HW - Static variable in class com.castlabs.android.PlayerSDK
-
The hardware codec H264 (AVC) normalized weight
0.5f
used for the default video track selection. - CODEC_WEIGHT_MIME_H264_SW - Static variable in class com.castlabs.android.PlayerSDK
-
The software codec H264 (AVC) normalized weight
0.4f
used for the default video track selection. - CODEC_WEIGHT_MIME_H265_HW - Static variable in class com.castlabs.android.PlayerSDK
-
The hardware codec H265 (HEVC) normalized weight
1.0f
used for the default video track selection. - CODEC_WEIGHT_MIME_H265_SW - Static variable in class com.castlabs.android.PlayerSDK
-
The software codec H265 (HEVC) normalized weight
0.3f
used for the default video track selection. - CODEC_WEIGHT_MIME_OTHER - Static variable in class com.castlabs.android.PlayerSDK
-
The normalized weight
0.2f
of the codec other thanPlayerSDK.CODEC_WEIGHT_MIME_H265_HW
,PlayerSDK.CODEC_WEIGHT_MIME_H265_SW
,PlayerSDK.CODEC_WEIGHT_MIME_H264_HW
andPlayerSDK.CODEC_WEIGHT_MIME_H264_SW
normalized weight0.5f
used for default video track selection. - codecName - Variable in class com.castlabs.android.player.MediaCodecInfo
- Codecs - Class in com.castlabs.utils
- Codecs() - Constructor for class com.castlabs.utils.Codecs
- com.castlabs - package com.castlabs
- com.castlabs.analytics - package com.castlabs.analytics
- com.castlabs.android - package com.castlabs.android
- com.castlabs.android.adverts - package com.castlabs.android.adverts
- com.castlabs.android.cas - package com.castlabs.android.cas
- com.castlabs.android.downloader - package com.castlabs.android.downloader
- com.castlabs.android.drm - package com.castlabs.android.drm
- com.castlabs.android.network - package com.castlabs.android.network
- com.castlabs.android.player - package com.castlabs.android.player
- com.castlabs.android.player.exceptions - package com.castlabs.android.player.exceptions
- com.castlabs.android.player.filter - package com.castlabs.android.player.filter
- com.castlabs.android.player.models - package com.castlabs.android.player.models
- com.castlabs.android.player.models.hls - package com.castlabs.android.player.models.hls
- com.castlabs.android.player.playlist - package com.castlabs.android.player.playlist
- com.castlabs.android.subtitles - package com.castlabs.android.subtitles
- com.castlabs.android.utils - package com.castlabs.android.utils
- com.castlabs.android.views - package com.castlabs.android.views
- com.castlabs.utils - package com.castlabs.utils
- com.google.android.exoplayer2.text.ttml - package com.google.android.exoplayer2.text.ttml
- COMMON_PSSH_UUID - Static variable in class com.castlabs.android.SdkConsts
-
UUID for the W3C Common PSSH box.
- COMPANION_SDK_NAME - Static variable in class com.castlabs.android.PlayerSDK
-
Should be set to the companion sdk name if used.
- COMPANION_SDK_VERSION - Static variable in class com.castlabs.android.PlayerSDK
-
Should be set to the companion sdk version if used.
- compareTo(VideoTrackQuality) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- ConfigurationProvider - Interface in com.castlabs.android.player
-
Implementations of this interface allows to get updated configurations when needed.
- configurationUrl - Variable in class com.castlabs.android.player.PlayerConfig
-
Optional configuration backend url
- configurationUrl(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the configuration url
- connectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the connection timeout for both manifest and segment requests
- connectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration
- CONNECTIVITY_CHECK_PERIOD_MS - Static variable in class com.castlabs.android.PlayerSDK
-
Period in ms, used to poll the device's connectivity, when
PlayerSDK.ENABLE_CONNECTIVITY_CHECKS
is enabled - CONNECTIVITY_CHECKER - Static variable in class com.castlabs.android.PlayerSDK
-
The default connectivity check that will be used at runtime to check for internet connectivity.
- ConnectivityCheck - Interface in com.castlabs.android.network
-
Implementations of this interface allow to check for internet connectivity.
- ConnectivityRegainedException - Exception Class in com.castlabs.android.network
-
This exception is thrown as a marker when the player lost connectivity, was waiting to re-gain it, and then got it back.
- ConnectivityRegainedException() - Constructor for exception class com.castlabs.android.network.ConnectivityRegainedException
- ContainerUtils - Class in com.castlabs.android.downloader
-
Helper class that provides utilities to handle zip containers that contain DASH content.
- ContainerUtils() - Constructor for class com.castlabs.android.downloader.ContainerUtils
- containsUri(Uri) - Method in class com.castlabs.android.player.HlsClearKeyCache
-
Returns true if
uri
is present in the cache. - containsUri(Uri) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
- CONTENT_TYPE_DASH - Static variable in class com.castlabs.android.SdkConsts
-
DASH content
- CONTENT_TYPE_GSTREAMER - Static variable in class com.castlabs.android.SdkConsts
- CONTENT_TYPE_HLS - Static variable in class com.castlabs.android.SdkConsts
-
HLS content
- CONTENT_TYPE_HYBRID_AD - Static variable in class com.castlabs.android.SdkConsts
- CONTENT_TYPE_IPTV - Static variable in class com.castlabs.android.SdkConsts
-
IPTV content
- CONTENT_TYPE_MP4 - Static variable in class com.castlabs.android.SdkConsts
-
MP4 content
- CONTENT_TYPE_SMOOTHSTREAMING - Static variable in class com.castlabs.android.SdkConsts
-
SmoothStreaming content
- CONTENT_TYPE_UNKNOWN - Static variable in class com.castlabs.android.SdkConsts
-
An unknown content type
- contentParameters - Variable in class com.castlabs.android.player.PlayerConfig
-
Header params to add to content (manifest) requests
- contentParameters(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the manifest header parameters
- contentQueryParameters - Variable in class com.castlabs.android.player.PlayerConfig
-
Query params to add to content (manifest) requests
- contentQueryParameters(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the segment query parameters
- contentType - Variable in class com.castlabs.android.player.PlayerConfig
-
The content format
- contentType(int) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Explicitly set the content type.
- contentType(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the content type
- contentTypeToMimeType(int) - Static method in class com.castlabs.android.SdkConsts
-
Utility method that translates a content type to a MimeType string
- contentUrl - Variable in class com.castlabs.android.player.PlayerConfig
-
Playback url
- contentUrl(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the content url.
- convert() - Method in class com.castlabs.android.player.ExternalSourceSelector.SourceData
- convert(S) - Method in interface com.castlabs.utils.Converter
-
Takes a potentially null source value and converts it into the potentially null target value
- Converter<S,
T> - Interface in com.castlabs.utils -
Converter interface where implementation of this interface can convert one data type into another.
- convertExoTrackTypeToRendererTrackType(int) - Static method in class com.castlabs.android.utils.TrackTypeUtils
-
Converts given track type to renderer track type
- convertToLocalFilePath(Uri) - Static method in class com.castlabs.utils.FileHelper
-
Converts remote URI to local file path
- copy(File, File) - Static method in class com.castlabs.utils.FileHelper
-
Copies files and directories.
- copy(InputStream, OutputStream) - Static method in class com.castlabs.utils.IOUtils
-
Copy the content from the input to the output stream and closes both the input and the output stream
- copy(InputStream, Writer) - Static method in class com.castlabs.utils.IOUtils
-
Copy the input stream content as UTF-8 chars to the writer
- copy(Reader, Writer) - Static method in class com.castlabs.utils.IOUtils
-
Copy the content from teh given reader to the given writer and closes reader and writer
- copyAsset(Context, String, File) - Static method in class com.castlabs.android.utils.AssetsUtils
-
Copy an asset with the given asset name to the given target
- copyAssetToExternalFilesDir(Context, String) - Static method in class com.castlabs.android.utils.AssetsUtils
-
Copy the asset with the given asset name to the external storage directory of the current app.
- Crashlog - Class in com.castlabs.analytics
-
This class provides the ability to manager the crash context and connect
CrashReporter
implementations that are then used to send crash data to a backend service. - CRASHLOG_AUTO_REPORT - Static variable in class com.castlabs.android.PlayerSDK
-
Configure the exception severity that will cause the
Crashlog.report(Throwable)
to be triggered automatically. - CrashReporter - Interface in com.castlabs.analytics
-
Implementations of this interface allow connections to crash logging systems.
- create() - Method in class com.castlabs.android.player.ClearTrackRendererPlugin
- create() - Method in class com.castlabs.android.player.ExoSubtitlesRendererPlugin
- create() - Method in interface com.castlabs.android.player.PlayerViewPlugin
-
Creates and returns a new instance of the
PlayerViewPlugin.PlayerViewComponent
that is provided by this plugin - create() - Method in interface com.castlabs.android.player.TrackRendererPlugin
- create(int, int, String) - Static method in exception class com.castlabs.android.player.exceptions.FilterException
-
Create the
FilterException
object - create(int, String, Format, long) - Static method in exception class com.castlabs.android.player.exceptions.BlocklistException
- create(int, Throwable) - Static method in exception class com.castlabs.android.player.exceptions.DownloadException
- create(DrmUtils.HttpExecutorException) - Static method in exception class com.castlabs.android.drm.DrmException
- create(DrmUtils.HttpExecutorException) - Static method in exception class com.castlabs.android.drm.DrmTodayException
-
Looks at the response code, the response body, and the headers and returns a DrmToday Exception that maps to the given error.
- create(TunnelingException.Reason, String) - Static method in exception class com.castlabs.android.player.exceptions.TunnelingException
- create(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerPlugin
-
Creates and returns a new instance of the
PlayerControllerPlugin.Component
that is provided by this plugin. - create(Throwable) - Static method in exception class com.castlabs.android.player.exceptions.DownloadException
- create(Map<String, List<String>>) - Static method in class com.castlabs.android.drm.DrmTodayResponseCode
-
Parses response headers and creates corresponding
DrmTodayResponseCode
- createAdLoader(AdRequest) - Method in interface com.castlabs.android.adverts.AdProvider
- createAdLoader(AdRequest) - Method in class com.castlabs.android.adverts.HlsInterstitialPlugin
- createAudioCodecAdapterFactory() - Static method in class com.castlabs.utils.Codecs
- createCmcdConfiguration(PlayerConfig) - Method in interface com.castlabs.android.player.CmcdConfigurationFactory
-
Creates a
CmcdConfiguration
based on the provided contentId. - createContentMediaSource(PlayerConfig, boolean, PlayerPlugin) - Method in class com.castlabs.android.player.PlayerController
-
Creates a MediaSource for just one PlayerConfig.
- createContentMediaSource(PlayerConfig, boolean, PlayerPlugin) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- createDataSource() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
- createDataSource() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
- createDataSource(int) - Method in interface com.castlabs.android.network.DataSourceFactory
-
Creates a data source for the given request type
- createDataSource(int) - Method in class com.castlabs.android.network.DefaultDataSourceFactory
- createDataSource(int) - Method in class com.castlabs.android.network.ModifierDataSourceFactory
- createDrmInitDataProvider(ManifestModifier) - Method in class com.castlabs.android.player.AmLogicPlayerPlugin
- createDrmInitDataProvider(ManifestModifier) - Method in class com.castlabs.android.player.DashPlayerPlugin
- createDrmInitDataProvider(ManifestModifier) - Method in class com.castlabs.android.player.HlsPlayerPlugin
- createDrmInitDataProvider(ManifestModifier) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- createDrmInitDataProvider(ManifestModifier) - Method in interface com.castlabs.android.player.PlayerPlugin
- createError(int, String, HttpDataSource.HttpDataSourceException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- createError(int, String, HttpDataSource.InvalidResponseCodeException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- createFatal(DownloadException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- createFatal(DashPeriodNotFoundException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- createFatal(HttpDataSource.HttpDataSourceException, int) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- createLicenseUri(DrmTodayConfiguration) - Static method in class com.castlabs.android.drm.DrmTodayUriFactory
-
Utility method that builds the license request URL to DRMToday for each DRM implementation.
- createLicenseUri(DrmTodayConfiguration, String) - Static method in class com.castlabs.android.drm.DrmTodayUriFactory
-
Utility method that builds the license request URL to DRMToday for each DRM implementation.
- createMediaCrypto(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- createMediaDrm(UUID, boolean) - Static method in class com.castlabs.android.drm.DrmUtils
-
Create a new MediaDrm instance
- createMediaSource(PlayerConfig, boolean, PlayerController) - Method in class com.castlabs.android.player.AmLogicPlayerPlugin
- createMediaSource(PlayerConfig, boolean, PlayerController) - Method in class com.castlabs.android.player.DashPlayerPlugin
- createMediaSource(PlayerConfig, boolean, PlayerController) - Method in class com.castlabs.android.player.HlsPlayerPlugin
- createMediaSource(PlayerConfig, boolean, PlayerController) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- createMediaSource(PlayerConfig, boolean, PlayerController) - Method in interface com.castlabs.android.player.PlayerPlugin
-
Create the content media source based on the supplied path and the
PlayerController
- createMediaSource(PlayerConfig, PlayerPlugin, AdLoader.Listener) - Method in interface com.castlabs.android.adverts.AdLoader
-
Asynchronously create
MediaSource
to play - createMediaSource(PlayerConfig, PlayerPlugin, AdLoader.Listener) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- createModel(TrackSelectorResult) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- createRenderer(PlayerController, CasConfiguration, TrackRendererPlugin.Type) - Method in class com.castlabs.android.player.BasePlayerModelBuilder
- createRenderer(PlayerController, DrmConfiguration, TrackRendererPlugin.Type) - Method in class com.castlabs.android.player.BasePlayerModelBuilder
- createRenderer(TrackRendererPlugin.Type, PlayerController, CasConfiguration) - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
- createRenderer(TrackRendererPlugin.Type, PlayerController, CasConfiguration) - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
- createRenderer(TrackRendererPlugin.Type, PlayerController, DrmConfiguration) - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
- createRenderer(TrackRendererPlugin.Type, PlayerController, DrmConfiguration) - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
- createRendererContainers(PlayerController, DrmConfiguration) - Method in class com.castlabs.android.player.AmLogicPlayerPlugin
- createRendererContainers(PlayerController, DrmConfiguration) - Method in class com.castlabs.android.player.DashPlayerPlugin
- createRendererContainers(PlayerController, DrmConfiguration) - Method in class com.castlabs.android.player.HlsPlayerPlugin
- createRendererContainers(PlayerController, DrmConfiguration) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- createRendererContainers(PlayerController, DrmConfiguration) - Method in interface com.castlabs.android.player.PlayerPlugin
-
Create the list of renderer containers based on the supplied
DrmConfiguration
andPlayerController
- createSSLSocketFactory(KeyStore) - Static method in class com.castlabs.android.network.CustomX509TrustManager
-
Creates SSL socket factory based on the provided custom key store
- createSSLSocketFactory(TrustManager[]) - Static method in class com.castlabs.android.network.CustomX509TrustManager
-
Creates SSL socket factory based on the provided trust managers
- createTarget(Uri, File, String, boolean) - Static method in class com.castlabs.android.downloader.DownloadableResource
-
Create a path to a local file given the remote resource, the manifest URL and the base path.
- createTrustManager(KeyStore) - Static method in class com.castlabs.android.network.CustomX509TrustManager
-
Creates custom X509TrustManager based on the provided custom key store
- createUuid(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
-
Create a UUID from a byte array
- createUuid(String) - Static method in class com.castlabs.android.drm.DrmUtils
-
Create a UUID from a encoded base64 String
- createVideoCodecAdapterFactory() - Static method in class com.castlabs.utils.Codecs
- createWithoutTimingInfo(byte[]) - Static method in class com.castlabs.android.player.DrmKeyStorage
- CREATOR - Static variable in class com.castlabs.analytics.AnalyticsMetaData
- CREATOR - Static variable in class com.castlabs.android.adverts.AdRequest
- CREATOR - Static variable in class com.castlabs.android.adverts.AdSchedule
- CREATOR - Static variable in class com.castlabs.android.cas.CasConfiguration
- CREATOR - Static variable in class com.castlabs.android.drm.DrmConfiguration
- CREATOR - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
The Parcel creator
- CREATOR - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
Creator used by the Parcelable implementation
- CREATOR - Static variable in class com.castlabs.android.network.RetryConfiguration
- CREATOR - Static variable in class com.castlabs.android.player.AbrConfiguration
- CREATOR - Static variable in class com.castlabs.android.player.AudioAttributes
- CREATOR - Static variable in class com.castlabs.android.player.BufferConfiguration
- CREATOR - Static variable in class com.castlabs.android.player.CatchupConfiguration
- CREATOR - Static variable in class com.castlabs.android.player.CustomUtcTimingElement
- CREATOR - Static variable in class com.castlabs.android.player.LiveConfiguration
- CREATOR - Static variable in class com.castlabs.android.player.MediaCodecInfo
- CREATOR - Static variable in class com.castlabs.android.player.MemoryHlsClearKeyCache
- CREATOR - Static variable in class com.castlabs.android.player.models.EventMessage
- CREATOR - Static variable in class com.castlabs.android.player.models.SideloadedTrack
- CREATOR - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
- CREATOR - Static variable in class com.castlabs.android.player.models.VideoTrackQuality
- CREATOR - Static variable in class com.castlabs.android.player.PlayerConfig
- CREATOR - Static variable in class com.castlabs.android.player.TrickplayConfiguration
- CREATOR - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- cue - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
- CustomDashEventListener - Interface in com.castlabs.android.player
-
This listener provides custom DASH events which appears in DASH manifest.
- CustomDashEventListener.CustomEvent - Class in com.castlabs.android.player
-
A model for DASH custom events
- CustomDashEventListener.EventType - Enum in com.castlabs.android.player
-
Defines different types of DASH custom events
- customUtcTimingElement - Variable in class com.castlabs.android.player.LiveConfiguration
-
Custom CustomUtcTimingElement.
- customUtcTimingElement - Variable in class com.castlabs.android.player.LowLatencyProfile
-
Will override
LiveConfiguration.customUtcTimingElement
- customUtcTimingElement(CustomUtcTimingElement) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Custom CustomUtcTimingElement.
- customUtcTimingElement(CustomUtcTimingElement) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
-
Custom UTCTiming element to use.
- CustomUtcTimingElement - Class in com.castlabs.android.player
-
Represents a UTCTiming element specifying how the client should synchronize its clock with the server.
- CustomUtcTimingElement(String, String, boolean) - Constructor for class com.castlabs.android.player.CustomUtcTimingElement
-
Constructs the UTCTiming element with the specified parameters
- CustomX509TrustManager - Class in com.castlabs.android.network
-
Custom implementation of X509TrustManager uses two key stores: system default one and provided custom key store.
D
- DASH_CODEC_TO_EXOPLAYER_MIMETYPE - Static variable in class com.castlabs.utils.Codecs
- dashCallbackConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The connection timeout in milliseconds for DASH callbacks
- dashCallbackConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the connection timeout for DASH callbacks
- dashCallbackReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The read timeout in milliseconds for DASH callbacks
- dashCallbackReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the read timeout for DASH callbacks
- DashDescriptor - Class in com.castlabs.android.player
-
A Dash descriptor.
- DashDescriptor(int, String, String, String) - Constructor for class com.castlabs.android.player.DashDescriptor
- DashDescriptor.DescriptorType - Annotation Type in com.castlabs.android.player
- DashPlayerPlugin - Class in com.castlabs.android.player
- DashPlayerPlugin() - Constructor for class com.castlabs.android.player.DashPlayerPlugin
- DATA_TYPE_DASH_CALLBACK - Static variable in class com.castlabs.android.network.Request
- DATA_TYPE_DATAGRAM - Static variable in class com.castlabs.android.network.Request
-
Request type for RTP/UDP requests
- DATA_TYPE_DRM_LICENSE - Static variable in class com.castlabs.android.network.Request
-
Request type for DRM license requests
- DATA_TYPE_DRM_LICENSE - Static variable in class com.castlabs.android.network.Response
-
Request type for DRM license requests
- DATA_TYPE_DRM_PROVISION - Static variable in class com.castlabs.android.network.Request
-
Request type for DRM provisioning requests
- DATA_TYPE_DRM_PROVISION - Static variable in class com.castlabs.android.network.Response
-
Request type for DRM provisioning requests
- DATA_TYPE_MANIFEST - Static variable in class com.castlabs.android.network.Request
-
Request type for manifest requests
- DATA_TYPE_OTHER - Static variable in class com.castlabs.android.network.Request
-
Request type for other requests
- DATA_TYPE_OTHER - Static variable in class com.castlabs.android.network.Response
-
Request type for other requests, such as Manifest or Media chunks.
- DATA_TYPE_SEGMENT - Static variable in class com.castlabs.android.network.Request
-
Request type for segment requests
- DATA_TYPE_THUMBNAIL - Static variable in class com.castlabs.android.network.Request
-
Request type for thumbnail requests
- dataSourceFactory(DataSourceFactory) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Set the data source factory that is used to generate content requests.
- DataSourceFactory - Interface in com.castlabs.android.network
-
Implementations of this interface are used to create
DataSource
s to fetch remote data. - DataUtils - Class in com.castlabs.android.utils
- DateUtils - Class in com.castlabs.android.utils
- decodeApid(String) - Static method in class com.castlabs.utils.FileHelper
-
Decodes the given apid
- decodeBitmap(byte[]) - Static method in class com.castlabs.android.utils.ImageUtils
-
Creates a
Bitmap
from teh given data array - decodeHex(char[]) - Static method in class com.castlabs.utils.HashUtils
-
Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values.
- DECODER - Enum constant in enum com.castlabs.android.player.TrickplayConfiguration.SpeedupMode
-
Decoder speedup.
- DEFAULT - Static variable in class com.castlabs.android.player.CatchupConfiguration
- DEFAULT - Static variable in interface com.castlabs.android.player.CmcdConfigurationFactory
-
The default factory implementation.
- DEFAULT_AD_SCHEDULE - Static variable in class com.castlabs.android.SdkConsts
-
The default AdSchedule
- DEFAULT_AUDIO_ATTRIBUTES - Static variable in class com.castlabs.android.SdkConsts
-
The default AudioAttributes
- DEFAULT_AUDIO_FEED_YIELD - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default behaviour for audio renderer when feeding decoder.
- DEFAULT_AVAILABILITY_START_TIME_OFFSET_OVERWRITE - Static variable in class com.castlabs.android.player.LiveConfiguration
- DEFAULT_BACK_BUFFER_LENGTH_MS - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default minimum back buffer length.
- DEFAULT_BACKOFF_FACTOR_MS - Static variable in class com.castlabs.android.network.RetryConfiguration
-
The default backoff factor of 2
- DEFAULT_BANDWIDTH_FRACTION - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_BASE_DELAY_MS - Static variable in class com.castlabs.android.network.RetryConfiguration
-
The default base delay of 1 second
- DEFAULT_BUFFER_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
The default buffer configuration
- DEFAULT_BUFFER_SEGMENT_SIZE - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default buffer segment size.
- DEFAULT_BUFFER_SIZE - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default buffer size in bytes.
- DEFAULT_CACHE_SIZE - Static variable in class com.castlabs.android.player.MemoryHlsClearKeyCache
-
Default maximum cache size
- DEFAULT_CALL_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
The default read timeout, in milliseconds.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
The default connection timeout, in milliseconds.
- DEFAULT_DEGRADATION_PENALTY - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_DEGRADATION_RECOVERY - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_DEGRADATION_SAMPLES - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_DISABLE_TRICKPLAY - Static variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration
- DEFAULT_DOWNLOAD_TIME_FACTOR - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_DOWNLOADER_NETWORK_CONFIGURATION - Static variable in class com.castlabs.android.PlayerSDK
-
The default network configuration used by the downloader for both manifests and segments
- DEFAULT_DRAIN_CONNECTION_TIMEOUT_MS - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
The timeout to use while discarding a download of input data.
- DEFAULT_DRAIN_WHILE_CHARGING - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default behaviour when charging.
- DEFAULT_DRM_ACQUISITION_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
The default DRM acquisition timeout specific to DRM scheme
- DEFAULT_DRM_CONNECT_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
The default DRM connection timeout specific to DRM scheme
- DEFAULT_DRM_READ_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
The default DRM read timeout specific to DRM scheme
- DEFAULT_ENABLE_VIEWPORT_FILTER - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_FUZZY_FACTOR - Static variable in class com.castlabs.android.network.RetryConfiguration
-
The default fuzzy factor of 0.5
- DEFAULT_HIGH_MEDIA_TIME - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default value for
BufferConfiguration.highMediaTimeMs
. - DEFAULT_HLS_FORCE_PLAYLIST_UPDATE_TARGET_DURATION_COEFFICIENT - Static variable in class com.castlabs.android.player.LowLatencyProfile
- DEFAULT_HLS_LIVE_TAIL_SEGMENT_INDEX - Static variable in class com.castlabs.android.player.LowLatencyProfile
- DEFAULT_HLS_PLAYLIST_UPDATE_TARGET_DURATION_COEFFICIENT - Static variable in class com.castlabs.android.player.LowLatencyProfile
- DEFAULT_INITIAL_TRACK_SELECTION - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_INTERNAL_SOURCE_SELECTOR_FACTORY - Static variable in class com.castlabs.android.PlayerSDK
-
The default
InternalSourceSelector.Factory
used during CDN fallback e.g. - DEFAULT_ITEM_CHANGE_FLAGS - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Default behaviour when it comes to item change.
- DEFAULT_KEEP_INITIAL_TRACK_SELECTION - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_KEY_STORE - Static variable in class com.castlabs.android.PlayerSDK
-
The default key store that will be used to store and restore offline keys.
- DEFAULT_LIVE_CONFIGURATION - Static variable in class com.castlabs.android.network.RetryConfiguration
-
Default retry parameters for Live playback.
- DEFAULT_LIVE_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
The default live configuration
- DEFAULT_LIVE_EDGE_LATENCY_MS - Static variable in class com.castlabs.android.player.LowLatencyProfile
- DEFAULT_LIVE_EDGE_LATENCY_MS - Static variable in class com.castlabs.android.SdkConsts
-
For live streams, the default live edge latency in milliseconds.
- DEFAULT_LOW_MEDIA_TIME - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default value for
BufferConfiguration.lowMediaTimeMs
. - DEFAULT_MANUAL_SELECTION - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_MAX_ATTEMPTS - Static variable in class com.castlabs.android.network.RetryConfiguration
-
The default number of permitted attempts
- DEFAULT_MAX_BITRATE - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_MAX_DELAY_MS - Static variable in class com.castlabs.android.network.RetryConfiguration
-
The default maximum delay of 5 seconds.
- DEFAULT_MAX_DURATION_FOR_QUALITY_DECREASE_US - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_MAX_FRAMERATE - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_MAX_HEIGHT - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_MAX_INITIAL_BITRATE - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_MAX_PIXEL - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_MAX_WIDTH - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_METHOD - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_MIN_BITRATE - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_MIN_DURATION_FOR_QUALITY_INCREASE_US - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_MIN_DURATION_TO_RETAIN_AFTER_DISCARD_US - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_MIN_FRAMERATE - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_MIN_HEIGHT - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_MIN_PIXEL - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_MIN_PLAYBACK_START_MS - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default minimum playback start buffer.
- DEFAULT_MIN_PLAYBACK_START_MS - Static variable in class com.castlabs.android.player.LowLatencyProfile
- DEFAULT_MIN_REBUFFER_START_MS - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default minimum rebuffer start buffer.
- DEFAULT_MIN_REBUFFER_START_MS - Static variable in class com.castlabs.android.player.LowLatencyProfile
- DEFAULT_MIN_SAMPLED_BYTES - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_MIN_WIDTH - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
- DEFAULT_NO_RETRIES_CONFIGURATION - Static variable in class com.castlabs.android.network.RetryConfiguration
-
Retry parameter configuration that does not permit any retries
- DEFAULT_PAUSE - Static variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration
- DEFAULT_PERCENTILE - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_PERCENTILE_WEIGHT - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_PLAYER_NETWORK_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
The default network configuration used by the player for both manifests and segments
- DEFAULT_PLAYER_TRICKPLAY_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
The default trickplay configuration
- DEFAULT_PLAYLIST_MAX_LOADED_ITEMS - Static variable in class com.castlabs.android.player.SingleControllerPlaylist
-
The default maximum number overall of Playlist items to keep loaded at any time.
- DEFAULT_PLAYLIST_WINDOW_AFTER - Static variable in class com.castlabs.android.player.SingleControllerPlaylist
-
The default number of Playlist items to load after the current one.
- DEFAULT_PLAYLIST_WINDOW_BEFORE - Static variable in class com.castlabs.android.player.SingleControllerPlaylist
-
The default number of Playlist items to load before the current one.
- DEFAULT_POSITION - Static variable in interface com.castlabs.android.player.InitialPositionProvider
-
The default initial position.
- DEFAULT_PREF_NAME - Static variable in class com.castlabs.android.drm.SharedPreferencesKeyStore
-
Default name used for the shared preferences store
- DEFAULT_PRIORITIZE_INSTREAM_OVER_MANIFEST_DURATION - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default value indicating whether the buffered duration is evaluated based on playlist (manifest) tags like duration or based on audio and video data segments durations
- DEFAULT_PRIORITIZE_TIME_OVER_SIZE_THRESHOLDS - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default value indicating whether the buffer time constraints are prioritized over buffer size constraints
- DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
The default read timeout, in milliseconds.
- DEFAULT_RESUME_CONFIGURATION - Static variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate
- DEFAULT_SAFE_BUFFER_SIZE_US - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_SCHEDULE_TYPE - Static variable in class com.castlabs.android.adverts.AdSchedule
- DEFAULT_THRESHOLD_BYTES - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_THRESHOLD_TIME_MS - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_THUMBNAIL_CONNECT_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
The default thumbnail connection timeout, in milliseconds.
- DEFAULT_THUMBNAIL_READ_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
-
The default thumbnail read timeout, in milliseconds.
- DEFAULT_TIME_SYNC_SAFETY_MS - Static variable in class com.castlabs.android.player.LiveConfiguration
- DEFAULT_TRICKPLAY_ENABLED - Static variable in class com.castlabs.android.SdkConsts
-
The default state for trickplay playback
- DEFAULT_USE_CMSD - Static variable in class com.castlabs.android.player.AbrConfiguration
- DEFAULT_UTC_TIMING_ELEMENT - Static variable in class com.castlabs.android.player.LowLatencyProfile
- DEFAULT_VIDEO_FEED_YIELD - Static variable in class com.castlabs.android.player.BufferConfiguration
-
The default behaviour for video renderer when feeding decoder.
- DEFAULT_VOD_CONFIGURATION - Static variable in class com.castlabs.android.network.RetryConfiguration
-
Default retry parameters for VOD playback.
- DefaultConnectivityCheck - Class in com.castlabs.android.network
-
The default implementation of the connectivity checker.
- DefaultConnectivityCheck(Context) - Constructor for class com.castlabs.android.network.DefaultConnectivityCheck
-
Create a new instance of the connectivity checker to "google.com" lookup host
- DefaultConnectivityCheck(Context, String) - Constructor for class com.castlabs.android.network.DefaultConnectivityCheck
-
Create a new instance of the connectivity checker.
- DefaultDataSourceFactory - Class in com.castlabs.android.network
-
The default implementation of the
DataSourceFactory
. - DefaultDataSourceFactory(Context) - Constructor for class com.castlabs.android.network.DefaultDataSourceFactory
- DefaultDataSourceFactory(Context, TransferListener) - Constructor for class com.castlabs.android.network.DefaultDataSourceFactory
- DefaultDataSourceFactory(Context, TransferListener, HttpListener, PlayerController) - Constructor for class com.castlabs.android.network.DefaultDataSourceFactory
- DefaultHttpDataSourceBuilder - Class in com.castlabs.android.network
-
The default http data source builder.
- DefaultHttpDataSourceBuilder() - Constructor for class com.castlabs.android.network.DefaultHttpDataSourceBuilder
- DefaultMediaCodecSelector - Class in com.castlabs.android.player
-
The implementation of MediaCodecSelector allowing to find the decoder based on mimetype and secure flag as well as on codecs string.
- DefaultMediaCodecSelector() - Constructor for class com.castlabs.android.player.DefaultMediaCodecSelector
- DefaultPlayerPlugin - Class in com.castlabs.android.player
-
*Internal* plugin that registers the default player implementations
- DefaultPlayerPlugin() - Constructor for class com.castlabs.android.player.DefaultPlayerPlugin
- DefaultTrackTypeProvider - Class in com.castlabs.android.player
-
Default implementation of
TrackTypeProvider
with the video tracks separated according to the following video resolutions: SD, HD or UHD. - DefaultTrackTypeProvider() - Constructor for class com.castlabs.android.player.DefaultTrackTypeProvider
-
Default pixel values are specified as: HD = 1280x720 FHD = 1920x1080 UHD = 3840x2160
- DefaultTrackTypeProvider(Point, Point, Point) - Constructor for class com.castlabs.android.player.DefaultTrackTypeProvider
-
Specify pixels for each resolution type: HD, FHD and UHD.
- degradationPenalty - Variable in class com.castlabs.android.player.AbrConfiguration
-
A value between 0 and 1 that is used as a penalty when a buffer degradation or a download time issue us detected.
- degradationPenalty(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
- degradationRecovery - Variable in class com.castlabs.android.player.AbrConfiguration
-
The recovery that is applied on each selection after a
AbrConfiguration.degradationPenalty
was applied. - degradationRecovery(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
- delete(PlayerConfig) - Method in interface com.castlabs.android.player.PlaybackStateStorage
-
Deletes teh given entry from the storage
- delete(String) - Method in class com.castlabs.android.drm.KeyStore
-
Remove the stored key with the matching id NOTE: If you want to actually remove a key from the device, you should instead use
DrmLicenseLoader.remove()
. - deleteAll() - Method in class com.castlabs.android.drm.KeyStore
-
Remove all stored keys
- deleteRecursive(File) - Static method in class com.castlabs.utils.FileHelper
-
Recursively delete the given file or directory
- describeContents() - Method in class com.castlabs.analytics.AnalyticsMetaData
- describeContents() - Method in class com.castlabs.android.adverts.AdRequest
- describeContents() - Method in class com.castlabs.android.adverts.AdSchedule
- describeContents() - Method in class com.castlabs.android.cas.CasConfiguration
- describeContents() - Method in class com.castlabs.android.drm.DrmConfiguration
- describeContents() - Method in class com.castlabs.android.drm.DrmTodayConfiguration
- describeContents() - Method in class com.castlabs.android.network.NetworkConfiguration
- describeContents() - Method in class com.castlabs.android.network.RetryConfiguration
- describeContents() - Method in class com.castlabs.android.player.AbrConfiguration
- describeContents() - Method in class com.castlabs.android.player.AudioAttributes
- describeContents() - Method in class com.castlabs.android.player.BufferConfiguration
- describeContents() - Method in class com.castlabs.android.player.CatchupConfiguration
- describeContents() - Method in class com.castlabs.android.player.CustomUtcTimingElement
- describeContents() - Method in class com.castlabs.android.player.LiveConfiguration
- describeContents() - Method in class com.castlabs.android.player.MediaCodecInfo
- describeContents() - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
- describeContents() - Method in class com.castlabs.android.player.models.EventMessage
- describeContents() - Method in class com.castlabs.android.player.models.SideloadedTrack
- describeContents() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- describeContents() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- describeContents() - Method in class com.castlabs.android.player.PlayerConfig
- describeContents() - Method in class com.castlabs.android.player.TrickplayConfiguration
- describeContents() - Method in class com.castlabs.android.player.VideoFilterConfiguration
- destroy() - Method in class com.castlabs.android.player.PlayerController
-
Call this method when the activity that displays the video player is destroyed.
- detachFromController() - Method in class com.castlabs.analytics.AnalyticsSession
- detachFromController() - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Detach the Analytics session from the PlayerController.
- detachFromControllerInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- disableAudioFocus() - Method in class com.castlabs.android.player.PlayerController
-
Disables the audio focus for the stream regardless of the
PlayerConfig.audioAttributes
- DISABLED_TRACK - Static variable in class com.castlabs.android.SdkConsts
-
Indicate a disabled track
- disableFields(int) - Static method in class com.castlabs.android.network.UserAgent
-
Disable user-agent fields
- disableTrickplay - Variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration
-
Whether to disable any Trickplay mode (and thus setting the playback speed to 1) when
PlayerViewLifecycleDelegate.resume()
is called. - disableTrickplay(boolean) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
-
Whether to disable any Trickplay mode
- dispatchKeyEvent(KeyEvent) - Method in class com.castlabs.android.player.PlayerView
- DisplayInfo - Class in com.castlabs.android.player
-
Wraps information about currently connected displays.
- Disposable - Interface in com.castlabs.utils
- dispose() - Method in interface com.castlabs.utils.Disposable
- Downloadable - Interface in com.castlabs.android.downloader
-
Plugins can implement this interface to add new loadable resources to a download.
- DownloadableResource - Class in com.castlabs.android.downloader
-
Model that is used to add resources to a download session when implementing
Downloadable
. - DownloadableResource() - Constructor for class com.castlabs.android.downloader.DownloadableResource
- DownloadException - Exception Class in com.castlabs.android.player.exceptions
-
Exception that is raised when media download errors occur.
- downloadFolder - Variable in class com.castlabs.android.player.PlayerConfig
-
Download folder in case the content is played offline
- downloadFolder(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the download folder
- DownloadInfo - Class in com.castlabs.android.downloader
-
Utility class that can be used to read download.info files to limit the availability of tracks.
- downloadTimeFactor - Variable in class com.castlabs.android.player.AbrConfiguration
-
Safety factor that is applied to download time calculations
- downloadTimeFactor(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
Safety factor that is applied to download time calculations
- downsizeBitmap(byte[], int) - Static method in class com.castlabs.android.utils.ImageUtils
-
Scale the given bitmap data and return a new, scaled
Bitmap
if target width is specified. - drainConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The drain timeout in milliseconds.
- drainConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the drain timeout in milliseconds.
- drainWhileCharging - Variable in class com.castlabs.android.player.BufferConfiguration
-
Flag indicating whether the buffer should be drained (until
BufferConfiguration.minPlaybackStartMs
is reached) or not. - drainWhileCharging(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
Whether to enter drain state when the device is charging.
- drm - Variable in class com.castlabs.android.drm.DrmConfiguration
-
The default DRM system.
- drm(Drm) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
- Drm - Enum in com.castlabs.android.drm
-
The DRM types
- drmAcquisitionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The acquisition timeout in milliseconds for DRM requests.
- drmAcquisitionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the acquisition timeout for DRM requests.
- drmConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
-
Drm configuration (if any)
- drmConfiguration(DrmConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
DrmConfiguration
- DrmConfiguration - Class in com.castlabs.android.drm
-
Basic DRM configuration that can be used to query keys from a widevine proxy.
- DrmConfiguration(String, boolean) - Constructor for class com.castlabs.android.drm.DrmConfiguration
-
Create a new configuration with an empty offline id
- DrmConfiguration(String, boolean, Drm) - Constructor for class com.castlabs.android.drm.DrmConfiguration
-
Create a new configuration using the best available DRM on the device
- DrmConfiguration(String, boolean, Drm, Drm, String) - Constructor for class com.castlabs.android.drm.DrmConfiguration
-
Create a new configuration
- DrmConfiguration(String, boolean, Drm, Drm, String, Bundle) - Constructor for class com.castlabs.android.drm.DrmConfiguration
-
Create a new configuration
- DrmConfiguration(String, boolean, Drm, Drm, String, Bundle, boolean, boolean) - Constructor for class com.castlabs.android.drm.DrmConfiguration
-
Create a new configuration
- DrmConfiguration(String, boolean, Drm, Drm, String, Bundle, boolean, boolean, long) - Constructor for class com.castlabs.android.drm.DrmConfiguration
-
Create a new configuration
- DrmConfiguration(String, boolean, Drm, Drm, String, Bundle, boolean, boolean, long, Bundle) - Constructor for class com.castlabs.android.drm.DrmConfiguration
-
Create a new configuration
- DrmConfiguration(String, boolean, Drm, String) - Constructor for class com.castlabs.android.drm.DrmConfiguration
-
Create a new configuration
- DrmConfiguration(String, boolean, String) - Constructor for class com.castlabs.android.drm.DrmConfiguration
-
Create a new configuration using the best available DRM on the device
- drmConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The connection timeout in milliseconds for DRM requests
- drmConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the connection timeout for DRM requests
- DrmEventListener - Interface in com.castlabs.android.drm
-
A listener interface.
- DrmException - Exception Class in com.castlabs.android.drm
- DrmException(String, int) - Constructor for exception class com.castlabs.android.drm.DrmException
-
Create a new instance with the given message and error errorCode
- DrmException(String, int, String) - Constructor for exception class com.castlabs.android.drm.DrmException
-
Create a new instance with the given message and error errorCode
- DrmException(String, int, Throwable) - Constructor for exception class com.castlabs.android.drm.DrmException
-
Create a new instance with the given message and error errorCode
- DrmInitDataContainer - Class in com.castlabs.android.drm
- DrmInitDataContainer(DrmInitData, DrmInitData) - Constructor for class com.castlabs.android.drm.DrmInitDataContainer
- DrmInitDataProvider() - Constructor for class com.castlabs.android.player.PlayerPlugin.DrmInitDataProvider
- DrmInitDataProvider(ManifestModifier<T>) - Constructor for class com.castlabs.android.player.PlayerPlugin.DrmInitDataProvider
- DrmKeyStorage - Class in com.castlabs.android.player
- DrmKeyStorage(byte[]) - Constructor for class com.castlabs.android.player.DrmKeyStorage
- DrmKeyStorage(byte[], long, long, long, long, byte) - Constructor for class com.castlabs.android.player.DrmKeyStorage
- DrmLicenseLoader - Class in com.castlabs.android.player
-
Use the
DrmLicenseLoader.Builder
to create instances of the license loader. - DrmLicenseLoader.Builder - Class in com.castlabs.android.player
-
Use this builder class to generate new instances of the
DrmLicenseLoader
. - DrmLicenseLoader.Callback - Interface in com.castlabs.android.player
-
The callback interface for license loader tasks
- DrmLicenseManager<T> - Interface in com.castlabs.android.drm
-
Extension of the
DrmSessionManager
that also allows to load licenses headless and in one blocking function. - DrmLicenseManagerComponent - Interface in com.castlabs.android.drm
-
Extensions that add extra functionality to a
DrmLicenseManager
. - drmReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The read timeout in milliseconds for DRM requests
- drmReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the read timeout for DRM requests
- drmRetryConfiguration - Variable in class com.castlabs.android.network.NetworkConfiguration
- drmRetryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the retry configuration used for DRM license requests
- DRMTODAY_ONBOARD_PATHS - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
This map is used for DRMtoday Onboard to configure the paths for the different DRM systems.
- DRMTODAY_PRODUCTION - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
Base URI for the DRMToday production environment
- DRMTODAY_STAGING - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
Base URI for the DRMToday staging environment
- DRMTODAY_TEST - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
Base URI for the DRMToday test environment
- DrmTodayConfiguration - Class in com.castlabs.android.drm
-
This class contains the configuration parameters necessary to use DRMtoday with the player.
- DrmTodayConfiguration.Builder - Class in com.castlabs.android.drm
-
A builder implementation to create instances of
DrmTodayConfiguration
s - DrmTodayConfiguration.Environment - Annotation Type in com.castlabs.android.drm
- DrmTodayException - Exception Class in com.castlabs.android.drm
-
Use this Exception class to report any errors from DrmToday services.
- DrmTodayException(String, int) - Constructor for exception class com.castlabs.android.drm.DrmTodayException
-
Create a new instance with the given message and error errorCode
- DrmTodayException(String, int, String) - Constructor for exception class com.castlabs.android.drm.DrmTodayException
-
Create a new instance with the given message and error errorCode
- DrmTodayException(String, int, String, String, Throwable) - Constructor for exception class com.castlabs.android.drm.DrmTodayException
- DrmTodayException(String, int, Throwable) - Constructor for exception class com.castlabs.android.drm.DrmTodayException
-
Create a new instance with the given message and error errorCode
- DrmTodayException.ErrorCode - Annotation Type in com.castlabs.android.drm
- drmTodayMobile(boolean) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Use this method to enable support for the DRMtoday-Mobile server.
- drmTodayMobileRoapUrl - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
The DRMToday Mobile roap url
- drmTodayMobileUrl(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
If you are using DRM-today Mobile, use this method to specify the base URL for the DRM-today Mobile server.
- DrmTodayResponseCode - Class in com.castlabs.android.drm
-
DRMToday response code holder and parser
- DrmTodayResponseCode.ErrorCode - Annotation Type in com.castlabs.android.drm
- DrmTodayUriFactory - Class in com.castlabs.android.drm
-
DRMToday clients helper.
- DrmTodayUriFactory() - Constructor for class com.castlabs.android.drm.DrmTodayUriFactory
- DrmUtils - Class in com.castlabs.android.drm
-
Utility methods for the widevine applications.
- DrmUtils() - Constructor for class com.castlabs.android.drm.DrmUtils
- DrmUtils.HttpExecutorException - Exception Class in com.castlabs.android.drm
- DROPPED_VIDEO_FRAME_COUNT_TO_NOTIFY - Static variable in class com.castlabs.android.PlayerSDK
-
The maximum number of frames that can be dropped between invocations of
VideoRendererListener.onDroppedFrames(int, long)
Set to-1
to disable. - DROPPED_VIDEO_FRAME_DISABLE_DURATION_MS - Static variable in class com.castlabs.android.PlayerSDK
-
Set to
Long.MAX_VALUE
to permanently disable the video quality - DROPPED_VIDEO_FRAME_THRESHOLD_COUNT - Static variable in class com.castlabs.android.PlayerSDK
-
The number of dropped frames within
PlayerSDK.DROPPED_VIDEO_FRAME_THRESHOLD_DURATION_MS
to trigger video quality blacklisting. - DROPPED_VIDEO_FRAME_THRESHOLD_DURATION_MS - Static variable in class com.castlabs.android.PlayerSDK
-
The duration to keep frame dropped events
- DTS_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
-
Identifies the dts audio renderers
- DtsAudio - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
- DUMMY_SURFACE_AUTO - Static variable in class com.castlabs.android.SdkConsts
-
Auto detect if the dummy surface can be used on the current device
- DUMMY_SURFACE_DISABLED - Static variable in class com.castlabs.android.SdkConsts
-
Disable usage of the dummy surface
- DUMMY_SURFACE_ENABLED - Static variable in class com.castlabs.android.SdkConsts
-
Enable usage of the dummy surface
- DUMMY_SURFACE_MODE - Static variable in class com.castlabs.android.PlayerSDK
-
By default the player queries the device API version and internal API for support of the GL based dummy surface for faster and smoother transitions when the playback surface is attached/detached from the video codec.
- duration - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial.Asset
- duration - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
- durationMs - Variable in class com.castlabs.android.adverts.Ad
-
Ad duration in milliseconds or
C.TIME_UNSET
- durationMs - Variable in exception class com.castlabs.android.player.exceptions.BlocklistException
- durationMs(long) - Method in class com.castlabs.android.player.models.EventMessage.Builder
-
The duration of the event in milliseconds.
- durationSeconds - Variable in class com.castlabs.analytics.AnalyticsMetaData
-
The duration of the current asset in seconds
- durationStrToMinString(String) - Static method in class com.castlabs.utils.StringUtils
-
Convert a string formatted as "PnYnMnDTnHnMnS" (as defined by XML Schema Part 2: Datatypes, 3.2.6 duration) into a string formatted as "M" (ie.
- durationStrToTimeString(String) - Static method in class com.castlabs.utils.StringUtils
-
Convert a string formatted as "PnYnMnDTnHnMnS" (as defined by XML Schema Part 2: Datatypes, 3.2.6 duration) into a string formatted as"H+:MM:SS"
- durationUs(long) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- durationUs(long) - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
- dynamic(boolean) - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
E
- ecmDelayStart - Variable in class com.castlabs.android.cas.CasConfiguration
- EMPTY - Static variable in class com.castlabs.android.player.models.Timeline
- ENABLE_AD_SPEED_UP - Static variable in class com.castlabs.android.PlayerSDK
-
Default global value to enable or disable automatic setting of a speed to 1x when playing ads.
- ENABLE_AUDIO_CODEC_SYNC_INTERACTIONS_WITH_QUEUEING - Static variable in class com.castlabs.android.PlayerSDK
- ENABLE_AUDIO_DECODER_FALLBACK - Static variable in class com.castlabs.android.PlayerSDK
-
If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
- ENABLE_CDM_KEY_STATUS - Static variable in class com.castlabs.android.PlayerSDK
-
Key status change listener can be installed to CDM's starting API 23 and is used to get statuses of known key ids.
- ENABLE_CONNECTIVITY_CHECKS - Static variable in class com.castlabs.android.PlayerSDK
-
By default, the player will not automatically recover from loss of connectivity.
- ENABLE_DASH_EVENT_CALLBACK - Static variable in class com.castlabs.android.PlayerSDK
-
The default value to enable/disable internal handling of DASH event callbacks
- ENABLE_DRM_FALLBACK - Static variable in class com.castlabs.android.PlayerSDK
-
When multiple
Drm
systems are present on a device and one of them fails locally then the playback is automatically restarted and configured with another DRM type being available. - ENABLE_DRM_PLACEHOLDER_SESSION - Static variable in class com.castlabs.android.PlayerSDK
-
The player selects unsecure codec when starting playing clear part of the content e.g.
- ENABLE_ERROR_RESPONSE_BODY - Static variable in class com.castlabs.android.PlayerSDK
-
If set to true, the body of the HTTP response will be returned in
CastlabsPlayerException.getErrorData()
when available. - ENABLE_FATAL_RETRY_MIME_APPLICATION - Static variable in class com.castlabs.android.PlayerSDK
-
Indicates whether to consider as fatal errors the ones encountered while downloading segments with MimeType
MimeTypes.BASE_TYPE_APPLICATION
. - ENABLE_INVALIDATE_SELECTION_ON_RENDERER_CAPS_CHANGED - Static variable in class com.castlabs.android.PlayerSDK
-
Whether to allow to invalidate selections on renderer capabilities change.
- ENABLE_MAX_REF_FRAME_WORKAROUND - Static variable in class com.castlabs.android.PlayerSDK
-
Enable a codec workaround that disables codec-reconfiguration on some devices.
- ENABLE_TEXT_WITH_NO_PREFERRED_LANGUAGE - Static variable in class com.castlabs.android.PlayerSDK
-
If set to
true
and text language specified bySdkConsts.INTENT_PREFERRED_TEXT_LANGUAGE
does not match any of the available text tracks then the first available text track will still be enabled. - ENABLE_TRICK_MODE_TRACK_SWITCH - Static variable in class com.castlabs.android.PlayerSDK
-
Deprecated.Use
TrickplayConfiguration.preferTrickPlayTracks
instead - ENABLE_TRIGGER_MANIFEST_FALLBACK_MIME_APPLICATION - Static variable in class com.castlabs.android.PlayerSDK
-
Whether to trigger the alternative Manifest callback when an error occurs while downloading segments with MimeType
MimeTypes.BASE_TYPE_APPLICATION
. - ENABLE_UNSECURE_DECODER_FALLBACK - Static variable in class com.castlabs.android.PlayerSDK
-
If true (default), allows the player to fallback to unsecure decoders if it failed to initialize the primary decoder.
- ENABLE_VIDEO_CODEC_SYNC_INTERACTIONS_WITH_QUEUEING - Static variable in class com.castlabs.android.PlayerSDK
- ENABLE_VIDEO_DECODER_FALLBACK - Static variable in class com.castlabs.android.PlayerSDK
-
If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
- ENABLE_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME - Static variable in class com.castlabs.android.PlayerSDK
-
Global parameter to enable or disable the workaround whether all video frames are marked as sync frames but should not be treated as sync frames except the very first in a segment (DASH-only)
- enableAdSpeedUp - Variable in class com.castlabs.android.player.PlayerConfig
-
The flag to enable or disable automatic setting of a speed to 1x when playing ads.
- enableAdSpeedUp(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the flag to enable or disable automatic setting of a speed to 1x when playing ads.
- ENABLED - Static variable in class com.castlabs.android.player.AbrConfiguration
-
The common algorithms may be disabled.
- ENABLED - Static variable in class com.castlabs.android.player.CLLibraryLoader
-
The library loader can be disabled.
- enableDashEventCallback - Variable in class com.castlabs.android.player.PlayerConfig
-
Enable internal handling of DASH event callbacks
- enableDashEventCallback(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Whether to enable internal handling of DASH event callbacks
- enableFields(int) - Static method in class com.castlabs.android.network.UserAgent
-
Enable user-agent fields
- enableHlsInterstitials - Variable in class com.castlabs.android.PlayerSDK.ExperimentalFlags
- enableLooping - Variable in class com.castlabs.android.player.PlayerConfig
-
If set to true then the playback looping will be enabled and the player will automatically restart the playback after reaching end of content
- enableLooping(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
If set to true then the playback looping will be enabled and the player will automatically restart the playback after reaching end of content
- enableLooping(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Whether to enable Playlist looping or not.
- enableTrickplayMode - Variable in class com.castlabs.android.player.PlayerConfig
-
Enable Trickplay mode at the start of the playback.
- enableTrickplayMode(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Whether to enable Trickplay playback on start or not
- enableTrickplayMode(boolean) - Method in class com.castlabs.android.player.PlayerController
-
Enables or disables trickplay playback.
- enableTunneling - Variable in class com.castlabs.android.player.PlayerConfig
-
Enable tunneling support
- enableTunneling(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets whether to enable tunneling
- enableTunnelingWithoutAudio - Variable in class com.castlabs.android.player.PlayerConfig
-
Force using of tunneling when audio track is disabled.
- enableTunnelingWithoutAudio(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets whether to force tunneling with only video track present.
- enableViewportFilter - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Enable to filter out renditions having unnecessarily high resolution for the current display viewport.
- enableViewportFilter(boolean) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
enableViewportFilter
and returns a reference to this Builder so that the methods can be chained together. - enableWorkaroundEveryVideoFrameIsSyncFrame - Variable in class com.castlabs.android.player.PlayerConfig
-
If True, the workaround will be enabled to not treat the video frames as sync frames except the very first one.
- enableWorkaroundEveryVideoFrameIsSyncFrame(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets whether to enable or disable the workaround whether all video frames are marked as sync frames but should not be treated as sync frames except the very first in a segment (DASH-only).
- encode() - Method in class com.castlabs.android.player.DrmKeyStorage
- encodeApid(String) - Static method in class com.castlabs.utils.FileHelper
-
Encodes teh given apid
- encodeFileName(String) - Static method in class com.castlabs.utils.FileHelper
-
Remove illegal characters from file names
- equals(Bundle, Bundle) - Static method in class com.castlabs.utils.BundleUtils
-
Compares two bundles and their content recursively
- equals(Object) - Method in class com.castlabs.android.adverts.Ad
- equals(Object) - Method in class com.castlabs.android.adverts.AdPodData
- equals(Object) - Method in class com.castlabs.android.adverts.AdRequest
- equals(Object) - Method in class com.castlabs.android.adverts.AdSchedule
- equals(Object) - Method in class com.castlabs.android.drm.DrmConfiguration
- equals(Object) - Method in class com.castlabs.android.network.NetworkConfiguration
- equals(Object) - Method in class com.castlabs.android.network.RetryConfiguration
- equals(Object) - Method in class com.castlabs.android.player.AbrConfiguration
- equals(Object) - Method in class com.castlabs.android.player.AudioAttributes
- equals(Object) - Method in class com.castlabs.android.player.BufferConfiguration
- equals(Object) - Method in class com.castlabs.android.player.CatchupConfiguration
- equals(Object) - Method in class com.castlabs.android.player.CustomUtcTimingElement
- equals(Object) - Method in class com.castlabs.android.player.DisplayInfo
- equals(Object) - Method in class com.castlabs.android.player.LiveConfiguration
- equals(Object) - Method in class com.castlabs.android.player.MediaCodecInfo
- equals(Object) - Method in class com.castlabs.android.player.models.AudioTrack
- equals(Object) - Method in class com.castlabs.android.player.models.EventMessage
- equals(Object) - Method in class com.castlabs.android.player.models.PlayerModel
- equals(Object) - Method in class com.castlabs.android.player.models.SideloadedTrack
- equals(Object) - Method in class com.castlabs.android.player.models.SubtitleTrack
- equals(Object) - Method in class com.castlabs.android.player.models.Track
- equals(Object) - Method in class com.castlabs.android.player.models.VideoTrack
- equals(Object) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- equals(Object) - Method in class com.castlabs.android.player.PlayerConfig
- equals(Object) - Method in class com.castlabs.android.player.TrickplayConfiguration
- equals(Object) - Method in class com.castlabs.android.player.VideoFilterConfiguration
- ERROR_DEVICE_TIME - Static variable in exception class com.castlabs.android.drm.DrmTodayException
-
A device time error occurred
- ERROR_INVALID_REQUEST - Static variable in exception class com.castlabs.android.drm.DrmTodayException
-
Error indicating an invalid request that was rejected by the server
- ERROR_IO_ERROR - Static variable in exception class com.castlabs.android.drm.DrmTodayException
-
Error indicating that an IO error occurred during the license request.
- ERROR_KEY_NOT_FOUND - Static variable in exception class com.castlabs.android.drm.DrmTodayException
-
Error indicating that the requested content was not found
- ERROR_NOT_AUTHORIZED - Static variable in exception class com.castlabs.android.drm.DrmTodayException
-
Error indicating an unauthorized request
- ERROR_PROVISIONING_FAILED - Static variable in exception class com.castlabs.android.drm.DrmTodayException
-
Error indicating that the provisioning request failed.
- ERROR_TOO_MANY_CONCURRENT_SESSIONS - Static variable in exception class com.castlabs.android.drm.DrmTodayException
-
Error raised when DRMtoday refuses license renewal due to too many open sessions
- ERROR_UNKNOWN - Static variable in exception class com.castlabs.android.drm.DrmTodayException
-
Error indicating a general error
- ERROR_WIDEVINE_DEV_CERTIFICATE_REVOKED - Static variable in exception class com.castlabs.android.drm.DrmTodayException
-
A device's Widevine certificate was revoked
- ESSENTIAL_PROPERTY - Static variable in class com.castlabs.android.player.DashDescriptor
- EventMessage - Class in com.castlabs.android.player.models
-
An Event Message (emsg) as defined in ISO 23009-1.
- EventMessage(String, String, long, long, byte[]) - Constructor for class com.castlabs.android.player.models.EventMessage
- EventMessage.Builder - Class in com.castlabs.android.player.models
- EventMetadataListener - Class in com.castlabs.android.player
- EventMetadataListener(PlayerController) - Constructor for class com.castlabs.android.player.EventMetadataListener
- EventStream - Class in com.castlabs.android.player.models
-
A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
- EventStream(String, String, long, List<Long>, List<EventMessage>) - Constructor for class com.castlabs.android.player.models.EventStream
- EventStream.Builder - Class in com.castlabs.android.player.models
- EventStreamListener - Interface in com.castlabs.android.player
-
This listener is responsible to deliver cue-start and cue-end events corresponding to the event-streams.
- EventStreamListListener - Interface in com.castlabs.android.player
-
This listener provides all the events corresponding to the event-streams as a list.
- executeModifierPost(String, byte[], Map<String, String>, HashMap<String, List<String>>, int, int, int, SSLSocketFactory, List<ResponseModifier>, int) - Static method in class com.castlabs.android.drm.DrmUtils
- executePost(Uri, byte[], Map<String, String>) - Static method in class com.castlabs.android.drm.DrmUtils
- executePost(String, byte[], Map<String, String>) - Static method in class com.castlabs.android.drm.DrmUtils
- executePost(String, byte[], Map<String, String>, Map<String, List<String>>, int, int, int, SSLSocketFactory) - Static method in class com.castlabs.android.drm.DrmUtils
- EXO_SUBTITLE_VIEW_ID - Static variable in class com.castlabs.android.player.DefaultPlayerPlugin
- ExoSubtitleComponent() - Constructor for class com.castlabs.android.player.ExoSubtitlesRendererPlugin.ExoSubtitleComponent
- ExoSubtitlesPreviewBuilder - Class in com.castlabs.android.subtitles
-
Builds
SubtitlesPreview
instances for the Exoplayer subtitles plugin. - ExoSubtitlesPreviewBuilder() - Constructor for class com.castlabs.android.subtitles.ExoSubtitlesPreviewBuilder
- ExoSubtitlesRendererPlugin - Class in com.castlabs.android.player
-
Plugin which exposes a TrackRenderer for the default Exoplayer subtitles.
- ExoSubtitlesRendererPlugin() - Constructor for class com.castlabs.android.player.ExoSubtitlesRendererPlugin
- ExoSubtitlesRendererPlugin.ExoSubtitleComponent - Class in com.castlabs.android.player
- ExoSubtitlesStyleObserver - Class in com.castlabs.android.subtitles
-
Implementation of the
SubtitlesStyleObserver
that is used to pass the current subtitle style to the underlying ExoPlayer track renderer view. - ExoSubtitlesStyleObserver(SubtitleView) - Constructor for class com.castlabs.android.subtitles.ExoSubtitlesStyleObserver
- EXPERIMENTAL - Variable in class com.castlabs.android.player.PlayerController
- EXPERIMENTAL - Static variable in class com.castlabs.android.PlayerSDK
-
Set of feature which are catalogued as Experimental.
- ExperimentalFlags() - Constructor for class com.castlabs.android.PlayerSDK.ExperimentalFlags
- ExtendedDataSource - Class in com.castlabs.android.network
-
A
DataSource
that supports multiple URI schemes. - ExtendedDataSource(Context, TransferListener, HttpDataSource) - Constructor for class com.castlabs.android.network.ExtendedDataSource
-
Constructs a new instance, using a provided
HttpDataSource
for fetching remote data. - ExtendedDataSource(Context, TransferListener, HttpDataSource, PlayerController) - Constructor for class com.castlabs.android.network.ExtendedDataSource
-
Constructs a new instance, using a provided
HttpDataSource
for fetching remote data. - ExtendedDataSource(Context, TransferListener, String) - Constructor for class com.castlabs.android.network.ExtendedDataSource
-
Constructs a new instance.
- ExtendedDataSource(Context, TransferListener, String, boolean, SSLSocketFactory) - Constructor for class com.castlabs.android.network.ExtendedDataSource
-
Constructs a new instance, optionally configured to follow cross-protocol redirects.
- ExtendedDataSource(Context, String) - Constructor for class com.castlabs.android.network.ExtendedDataSource
-
Constructs a new instance.
- ExtendedMediaCodecVideoTrackRenderer - Class in com.castlabs.android.player
-
Extension of
MediaCodecVideoRenderer
to add customizations and extensions. - ExtendedMediaCodecVideoTrackRenderer(Context, MediaCodecAdapter.Factory, MediaCodecSelector, long, DrmSessionManager, boolean, Handler, VideoRendererEventListener, int, boolean, boolean, boolean) - Constructor for class com.castlabs.android.player.ExtendedMediaCodecVideoTrackRenderer
- ExtendedTrackSelector - Class in com.castlabs.android.player
- ExtendedTrackSelector() - Constructor for class com.castlabs.android.player.ExtendedTrackSelector
- ExtendedTrackSelector(VideoTrackSelection.Factory, ExtendedTrackSelector.PlayerInfoProvider, ExtendedTrackSelector.EventListener, PlayerConfig) - Constructor for class com.castlabs.android.player.ExtendedTrackSelector
- ExtendedTrackSelector.EventListener - Interface in com.castlabs.android.player
-
Interface which receives Track Selection-related callbacks.
- ExtendedTrackSelector.ModelSelection - Class in com.castlabs.android.player
- ExtendedTrackSelector.PlayerInfoProvider - Interface in com.castlabs.android.player
- ExternalSourceSelector - Interface in com.castlabs.android.player
-
The interface defines the source (CDN) fallback selection.
- ExternalSourceSelector.SourceData - Class in com.castlabs.android.player
-
Source (CDN) data container
- ExternalSourceSelector.SwitchType - Enum in com.castlabs.android.player
-
The type of the source (CDN) fallback
- extra - Variable in class com.castlabs.analytics.AnalyticsMetaData
-
Additional and plugin specific meta-data.
- extractDashThumbnails(DashManifest, Timeline, PlayerModel) - Static method in class com.castlabs.android.player.ExtendedTrackSelector
-
Extracts the embedded thumbnail tracks in the DASH manifest, and updates the provided player model with them.
- extractPsshData(UUID, byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
-
Extract the atom data in a given PSSH box.
F
- fallbackTimeThresholdMs - Variable in class com.castlabs.android.player.CatchupConfiguration
-
Threshold relative to the
CatchupConfiguration.timeReference
which indicates a fallback safeguard for thespeed
mode. - FAST_BITRATE_SWITCHING - Static variable in class com.castlabs.android.PlayerSDK
-
By default, the player queries the currently selected video codec if it supports fast adaptive bitrate switching (
SdkConsts.FAST_BITRATE_SWITCHING_AUTO
). - FAST_BITRATE_SWITCHING_AUTO - Static variable in class com.castlabs.android.SdkConsts
-
Query the codec for its capabilities to be reconfigured dynamically when the video resolution changes.
- FAST_BITRATE_SWITCHING_DISABLED - Static variable in class com.castlabs.android.SdkConsts
-
Enforce dynamic reconfigurations of the codec when the video resolution changes
- FAST_BITRATE_SWITCHING_ENABLED - Static variable in class com.castlabs.android.SdkConsts
-
Enforce dynamic reconfigurations of the codec when the video resolution changes
- FATAL_ERROR_ON_SECONDARY_DISPLAY_NOT_ALLOWED - Static variable in class com.castlabs.android.PlayerSDK
-
The default value is true.
- fetchLicence(Looper, Format, DrmConfiguration, boolean) - Method in interface com.castlabs.android.drm.DrmLicenseManager
-
Used for pre-fetching a DRM License.
- fetchLicense(Bundle, KeyStore) - Static method in class com.castlabs.android.player.DrmLicenseLoader
-
Fetches the license and store it in the key store
- fetchLicense(PlayerConfig, KeyStore) - Static method in class com.castlabs.android.player.DrmLicenseLoader
-
Fetches the license and store it in the key store
- FileHelper - Class in com.castlabs.utils
-
The file helper contains utility functions to work with files and folders, including recursive listings, recursive deletes and file and folder copy.
- FileHelper() - Constructor for class com.castlabs.utils.FileHelper
- FILTER_REASON_BITRATE - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: bitrate is out of specified bounds. - FILTER_REASON_BLACKLISTED - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: the track is marked as blacklisted e.g. - FILTER_REASON_CUSTOM - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: custom logic was applied through aTrackFilter
. - FILTER_REASON_EXCEED_MAX_PIXELS - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: the track resolution exceed the max pixels set e.g. - FILTER_REASON_FRAMERATE - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: framerate is out of specified bounds. - FILTER_REASON_HD_NOT_PERMITTED - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: HD playback is currently disabled. - FILTER_REASON_HEIGHT - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: height is out of specified bounds. - FILTER_REASON_NO_CODEC - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: there is no codec support for the track - FILTER_REASON_PIXELS - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: pixels i.e. - FILTER_REASON_WIDTH - Static variable in class com.castlabs.android.SdkConsts
-
Represents the reason for filtering out the track during
PlayerModel
creation: width is out of specified bounds. - FilterException - Exception Class in com.castlabs.android.player.exceptions
-
Exception that is raised when all track types of a particular type (e.g.
- FilterFormat - Class in com.castlabs.android.player.filter
-
Wrapper class around a Format, as well as any information that may be required to filter it.
- FilterFormat(Format, int, Format[], boolean) - Constructor for class com.castlabs.android.player.filter.FilterFormat
- filterReasonToString(int) - Static method in class com.castlabs.android.SdkConsts
- filterTrack(FilterFormat) - Method in interface com.castlabs.android.player.filter.TrackFilter
- filterTrack(FilterFormat) - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
- Finished - Enum constant in enum com.castlabs.android.player.PlayerController.State
-
Playback finished successfully and the end of the data stream was reached.
- fireError(CastlabsPlayerException) - Method in class com.castlabs.android.player.PlayerListeners
-
Iterates the registered listeners and delegates to
PlayerListener.onError(CastlabsPlayerException)
. - fireFatalErrorOccurred(CastlabsPlayerException) - Method in class com.castlabs.android.player.PlayerListeners
-
Iterates the registered listeners and delegates to
PlayerListener.onFatalErrorOccurred(CastlabsPlayerException)
. - fireLicenseKeysChanged() - Method in class com.castlabs.android.player.PlayerListeners
-
INTERNAL: Fire an license keys changed event to all registered listeners.
- fireLicenseKeysLoaded() - Method in class com.castlabs.android.player.PlayerListeners
-
INTERNAL: Fire an license keys loaded event to all registered listeners.
- fireLicenseLoadError(int, int, DownloadException) - Method in class com.castlabs.android.player.PlayerListeners
- fireOnAdClicked(String) - Method in class com.castlabs.android.player.PlayerListeners
- fireOnAdPaused() - Method in class com.castlabs.android.player.PlayerListeners
- fireOnAdResumed(Ad) - Method in class com.castlabs.android.player.PlayerListeners
- FLAG_ENABLE_API_LEVEL - Static variable in class com.castlabs.android.network.UserAgent
-
Flag to include the Android API level in the user-agent.
- FLAG_ENABLE_DEVICE_ID - Static variable in class com.castlabs.android.network.UserAgent
-
Flag to include the device ID in the user-agent.
- FLAG_ENABLE_EXO_VERSION - Static variable in class com.castlabs.android.network.UserAgent
-
Flag to include the Exoplayer version in the user-agent.
- FLAG_ENABLE_MODEL - Static variable in class com.castlabs.android.network.UserAgent
-
Flag to include the device model in the user-agent.
- flags - Variable in class com.castlabs.android.player.DrmKeyStorage
- force - Variable in class com.castlabs.android.player.CustomUtcTimingElement
- FORCE_DRM_LICENSE_PREFETCH - Static variable in class com.castlabs.android.PlayerSDK
-
By default the player pre-fetches the license as soon as tracks are selected and segments are ready to be downloaded.
- FORCE_HDCP_EXCEPTION - Static variable in class com.castlabs.android.PlayerSDK
-
If set to true, the behavior of the sdk on HDMI disconnect/hdcp disconnects would be to throw a fatal exception to indicate a crypto error as well as an info exception to indicate HDMI disconnection.
- FORCE_IN_STREAM_DRM_INIT_DATA - Static variable in class com.castlabs.android.PlayerSDK
-
Global parameter whether to prefer DRM init data in segments over the manifest's data (DASH-only).
- FORCE_REOPEN_ON_HDCP_STATE_CHANGE - Static variable in class com.castlabs.android.PlayerSDK
-
Sets the behaviour when
PlayerSDK.FORCE_HDCP_EXCEPTION
isfalse
, otherwise the option is ignored. - FORCE_SINGLE_DRM_SESSION - Static variable in class com.castlabs.android.PlayerSDK
-
By default the player creates two DRM sessions, one for Audio, and one for Video.
- FORCE_UNSECURED_DECODER - Static variable in class com.castlabs.android.PlayerSDK
-
Disable the usage of the secure decoder pipeline.
- FORCE_VIDEO_CODEC_MAX_INPUT_SIZE_UNKNOWN - Static variable in class com.castlabs.android.PlayerSDK
-
By default the player will deduce the maximum input size that is used to configure the video codec via
MediaFormat
and theMediaFormat.KEY_MAX_INPUT_SIZE
key. - FORCE_WIDEVINE_L3 - Static variable in class com.castlabs.android.PlayerSDK
-
Deprecated.use
DrmConfiguration.forceWidevineL3
instead, orDrmTodayConfiguration.Builder.forceWidevineL3(boolean)
if using DrmTodayConfiguration. - forceInStreamDrmInitData - Variable in class com.castlabs.android.player.PlayerConfig
-
If true then DRM init data from segments will be used instead of the one from manifest (currently is only applicable for DASH streams)
- forceInStreamDrmInitData(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets whether to use DRM init data coming from segments or from the manifest (DASH-only).
- forceUnreferencedTrickPlayTracks - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
If enabled, and the content contains a Trickplay (usually I-frame only) tracks, the first one will be selected even no trick play track can be related to the currently selected main video.
- forceUnreferencedTrickPlayTracks(boolean) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.forceUnreferencedTrickPlayTracks
and returns a reference to this Builder so that the methods can be chained together. - forceWidevineL3 - Variable in class com.castlabs.android.drm.DrmConfiguration
-
If set to true, Widevine L3 will be enforced.
- forceWidevineL3(boolean) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
If set to true, Widevine L3 will be enforced.
- format - Variable in exception class com.castlabs.android.player.exceptions.BlocklistException
- format(Locale, String, Object...) - Static method in class com.castlabs.utils.StringUtils
-
Tries safely to format the string using the provided locale and format.
- FormatChangeListener - Interface in com.castlabs.android.player
-
This interface will receive events whenever the downstream
Format
s change. - forwardPlayers(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Sets the number of "forward players".
- fromBundle(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
Builder
fields according to the stored keys in the givenBundle
. - fromConfig(PlayerConfig) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
Builder
fields according to the values from the givenPlayerConfig
- fromString(String) - Static method in class com.castlabs.utils.LanguageUtils
-
Translates simple language tags like "en" or "en-EN" into
Locale
s. - fuzzFactor - Variable in class com.castlabs.android.network.RetryConfiguration
-
The fuzzy factor applied to each retry delay
- fuzzFactor(float) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
-
Sets the fuzzy factor.
G
- generatePlayreadyHeader(byte[], String) - Static method in class com.castlabs.android.drm.DrmUtils
-
Takes the raw bytes from a Widevine CENC header and generates a Playready Header Object
- generateWidvineCencHeader(byte[], String, byte[], String) - Static method in class com.castlabs.android.drm.DrmUtils
-
Generates a Widevine CENC header
- generateWidvineCencHeader(UUID, byte[], String, String) - Static method in class com.castlabs.android.drm.DrmUtils
-
Generates a Widevine Header from a CENC UUID and a merchant.
- generateWiseplayHeader(byte[], String) - Static method in class com.castlabs.android.drm.DrmUtils
-
Takes the raw bytes from a Widevine CENC header and generates a Wiseplay init data
- get() - Method in class com.castlabs.android.adverts.AdSchedule.Builder
- get() - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Create the configuration.
- get() - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Get the network configuration
- get() - Method in class com.castlabs.android.network.RetryConfiguration.Builder
-
Create the configuration instance
- get() - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
Get the ABR configuration created by this builder
- get() - Method in class com.castlabs.android.player.AudioAttributes.Builder
-
Creates an
AudioAttributes
instance from this builder. - get() - Method in class com.castlabs.android.player.BufferConfiguration.Builder
- get() - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
-
Builds the instance
- get() - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Creates the license loader.
- get() - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Builds the instance
- get() - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
-
Builds the instance
- get() - Method in class com.castlabs.android.player.models.EventMessage.Builder
- get() - Method in class com.castlabs.android.player.models.EventStream.Builder
- get() - Method in class com.castlabs.android.player.models.SideloadedTrack.Builder
- get() - Method in class com.castlabs.android.player.models.Timeline.Builder
- get() - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- get() - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
- get() - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Builds the PlayerConfig object
- get() - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
-
Builds and returns the
PlayerViewLifecycleDelegate.ResumeConfiguration
- get() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Constructs the
MultiControllerPlaylist
. - get() - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Returns a
TrickplayConfiguration
built from the parameters previously set. - get() - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Returns a
VideoFilterConfiguration
built from the parameters previously set. - get(Uri) - Method in class com.castlabs.android.player.HlsClearKeyCache
-
Returns the
encryptionKey
cached against thisuri
, or null ifuri
is null or not present in the cache. - get(Uri) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
- get(String) - Method in class com.castlabs.android.drm.KeyStore
-
Get a DrmKeyStorage
- get(String, Map<String, String>, TransferListener, NetworkConfiguration, int) - Method in class com.castlabs.android.network.DefaultHttpDataSourceBuilder
- get(String, Map<String, String>, TransferListener, NetworkConfiguration, int) - Method in interface com.castlabs.android.network.HttpDataSourceBuilder
-
Create a new data source
- get(String, Map<String, String>, TransferListener, NetworkConfiguration, int, SSLSocketFactory) - Method in class com.castlabs.android.network.DefaultHttpDataSourceBuilder
- get(String, Map<String, String>, TransferListener, NetworkConfiguration, int, SSLSocketFactory) - Method in interface com.castlabs.android.network.HttpDataSourceBuilder
-
Create a new data source
- getAbrConfiguration() - Method in class com.castlabs.android.player.PlayerController
-
Returns the current ABR configuration
- getAbsoluteUrl(String) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Returns the absolute URL of the thumbnail source.
- getAcceptedIssuers() - Method in class com.castlabs.android.network.CustomX509TrustManager
- getAdApi() - Method in interface com.castlabs.android.adverts.AdInterface
-
Get an
AdApi
to issue custom operations to the ad provider - getAdApi() - Method in interface com.castlabs.android.adverts.AdLoader
-
Get an
AdApi
to issue custom operations to the ad provider - getAdApi() - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- getAdClientInterface() - Method in class com.castlabs.android.player.PlayerController
-
Gets access to
AdClientInterface
APIs - getAdContainer() - Method in interface com.castlabs.android.adverts.AdLoader
-
Returns ad UI container
- getAdContainer() - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- getAdInterface() - Method in class com.castlabs.android.player.PlayerController
-
Gets access to
AdInterface
APIs - getAdsConfiguration() - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
- getAll() - Method in class com.castlabs.android.drm.KeyStore
-
Get all stored keys
- getAnalyticsMetaData() - Method in class com.castlabs.android.player.PlayerController
- getAnalyticsSession() - Method in class com.castlabs.android.player.PlayerController
-
Get the current analytics session if there is one.
- getAudioAttributes() - Method in class com.castlabs.android.player.PlayerController
- getAudioCapabilities() - Method in class com.castlabs.android.player.AudioCapabilitiesManager
- getAudioChannels() - Method in class com.castlabs.android.player.models.AudioTrack
- getAudioFocusCallback() - Method in class com.castlabs.android.player.PlayerController
- getAudioSamplingRate() - Method in class com.castlabs.android.player.models.AudioTrack
- getAudioTrack() - Method in class com.castlabs.android.player.PlayerController
-
Returns the current audio track.
- getAudioTrack(int) - Method in class com.castlabs.android.player.models.PlayerModel
- getAudioTracks() - Method in class com.castlabs.android.downloader.DownloadInfo
- getAudioTracks() - Method in class com.castlabs.android.player.models.PlayerModel
- getAudioTracks() - Method in class com.castlabs.android.player.models.Timeline.Period
- getAudioTracks() - Method in class com.castlabs.android.player.PlayerController
-
Returns a list of audio track assets found in the opened movie meta data.
- getBackBufferTime() - Method in class com.castlabs.android.player.PlayerController
-
Returns the oldest position that still has buffered content, in microseconds.
- getBandwidthMeterWrapper() - Method in class com.castlabs.android.player.PlayerController
-
The bandwidth meter wrapper
- getBitrate() - Method in class com.castlabs.android.player.models.AudioTrack
- getBitrate() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getBitrate() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getBitrateEstimate() - Method in class com.castlabs.android.player.BandwidthMeterWrapper
- getBitrateEstimate() - Method in class com.castlabs.android.player.PlayerController
-
Returns the estimated bandwidth in bits/sec.
- getBufferConfiguration() - Method in class com.castlabs.android.player.PlayerController
-
Returns the buffer configuration of this controller
- getBufferedPercentage() - Method in class com.castlabs.android.player.PlayerController
-
Returns an estimate of the percentage in the current content window or ad up to which data is buffered, or 0 if no estimate is available.
- getBufferedPosition() - Method in class com.castlabs.android.player.PlayerController
-
Returns an estimate of the position in the current content window or ad up to which data is buffered, in microseconds.
- getBufferSizeBytes() - Method in class com.castlabs.android.player.PlayerController
-
Return the current buffer size in bytes
- getBufferSizeTime() - Method in class com.castlabs.android.player.PlayerController
-
Return the current buffer size ahead of the playhead in media time microseconds
- getBytes(UUID) - Static method in class com.castlabs.android.drm.DrmUtils
-
Converts a UUID to bytes
- getCauseMessage() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- getClientListener() - Method in interface com.castlabs.android.adverts.AdClientInterface
-
Gets the client listener.
- getCmcdConfigurationFactory() - Method in class com.castlabs.android.player.PlayerController
- getCodecName(String) - Static method in class com.castlabs.utils.Codecs
- getCodecs() - Method in class com.castlabs.android.player.models.AudioTrack
- getCodecs() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getComponent(Class<T>) - Method in class com.castlabs.android.player.PlayerController
-
Returns the player component of the given type if it exists.
- getComponent(Class<T>) - Method in class com.castlabs.android.player.PlayerView
-
Returns the player view component of the given type if it exists.
- getComponentView(int) - Method in class com.castlabs.android.player.PlayerController
-
Returns a View previously set through
PlayerController.setComponentView(int, View)
and indexed with a view id. - getComponentView(int) - Method in class com.castlabs.android.player.PlayerView
-
Returns the component View linked to the provided id
- getConfiguration(boolean) - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
-
Returns the configuration.
- getContentConfiguration() - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
- getContentType() - Method in class com.castlabs.android.player.AudioAttributes
- getContext() - Method in class com.castlabs.android.player.PlayerController
- getContext() - Static method in class com.castlabs.android.PlayerSDK
-
Access the globally configured application context used by the SDK.
- getCurrentAd() - Method in interface com.castlabs.android.adverts.AdLoader
-
Get the currently loaded and prepared for playing Ad
- getCurrentAd() - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- getCurrentController() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Returns the current underlying
PlayerController
. - getCurrentItem() - Method in interface com.castlabs.android.player.Playlist
-
Returns the currently playing item
- getCurrentItem() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Returns the currently playing item
- getCurrentItem() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- getCurrentItemIndex() - Method in interface com.castlabs.android.player.Playlist
-
Returns current item index
- getCurrentItemIndex() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- getCurrentItemIndex() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- getCurrentPeriodIndexInCurrentWindow() - Method in interface com.castlabs.android.player.ExtendedTrackSelector.PlayerInfoProvider
- getCurrentPeriodIndexInCurrentWindow(ExoPlayer) - Static method in class com.castlabs.android.player.PlayerController
- getCurrentVideoQuality() - Method in class com.castlabs.android.player.models.PlayerModel
- getCustomCode() - Method in exception class com.castlabs.android.drm.DrmTodayException
- getCustomDataJSON() - Method in class com.castlabs.android.drm.DrmTodayConfiguration
- getCustomMessage() - Method in exception class com.castlabs.android.drm.DrmTodayException
- getData() - Method in class com.castlabs.android.network.Request
-
Get the data that will be send with a post request
- getData() - Method in class com.castlabs.android.network.Response
-
Get the data that was returned by the request
- getDataSourceFactory() - Method in class com.castlabs.android.player.PlayerController
-
Provides access to the
DataSourceFactory
. - getDecoderInfos(String, Format, boolean, boolean) - Method in class com.castlabs.android.player.DefaultMediaCodecSelector
- getDelegate() - Method in class com.castlabs.android.player.BandwidthMeterWrapper
- getDescriptors() - Method in class com.castlabs.android.player.models.Timeline.Period
- getDescriptors() - Method in class com.castlabs.android.player.models.Track
- getDeviceSecurityLevel(Drm) - Static method in class com.castlabs.android.drm.DrmUtils
-
Returns the security level supported by the current device and the given DRM if the devices supports the DRM.
- getDownloadablePlugins() - Static method in class com.castlabs.android.PlayerSDK
- getDrm() - Method in class com.castlabs.android.player.models.AudioTrack
-
Get
Drm
of the current track - getDrm() - Method in class com.castlabs.android.player.models.VideoTrackQuality
-
Get
Drm
of the current quality - getDrmConfiguration(DrmConfiguration) - Method in interface com.castlabs.android.player.ConfigurationProvider
-
Provides updated
DrmConfiguration
ornull
if no updates needed - getDrmInitData() - Method in class com.castlabs.android.player.models.AudioTrack
- getDrmInitData() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getDrmKeyStatus() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getDrmKeyStatus(VideoTrackQuality, Format) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.PlayerInfoProvider
- getDrmLicenseManagerComponents() - Static method in class com.castlabs.android.PlayerSDK
- getDuration() - Method in class com.castlabs.android.player.PlayerController
-
Get the duration in microseconds of a region of media currently available for playback (including both live and static streams) or -1 if no duration is available for the current stream.
- getDurationMs() - Method in class com.castlabs.android.player.models.EventMessage
-
The duration of the event in milliseconds.
- getDurationMs() - Method in class com.castlabs.android.player.models.Timeline.Period
- getDurationUs() - Method in class com.castlabs.android.player.models.AudioTrack
-
The duration in microseconds, or
SdkConsts.UNKNOWN_TIME_US
if the duration is unknown, orSdkConsts.MATCH_LONGEST_US
if the duration should match the duration of the longest track whose duration is known. - getDurationUs() - Method in class com.castlabs.android.player.models.Timeline.Period
- getDurationUs() - Method in class com.castlabs.android.player.models.Timeline.Window
- getDurationUs() - Method in class com.castlabs.android.player.models.VideoTrack
-
The duration in microseconds, or
SdkConsts.UNKNOWN_TIME_US
if the duration is unknown, orSdkConsts.MATCH_LONGEST_US
if the duration should match the duration of the longest track whose duration is known. - getDurationUs(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Gets the segment's duration in microseconds
- getEmbeddedTrackGroupIndex() - Method in class com.castlabs.android.player.models.SubtitleTrack
- getEnabled() - Method in class com.castlabs.analytics.AnalyticsSession
-
Returns true if the session is enabled, otherwise false.
- getEnabledFields() - Static method in class com.castlabs.android.network.UserAgent
-
Returns the currently enabled fields to include in the user-agent
- getEncodingForMimeType(String) - Static method in class com.castlabs.utils.Codecs
- getEndPositionMs() - Method in class com.castlabs.android.player.Chapter
- getErrorCode() - Method in exception class com.castlabs.android.drm.DrmTodayException
- getErrorData() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Returns a
Bundle
with error-specific error data. - getEvent() - Method in class com.castlabs.android.player.CustomDashEventListener.CustomEvent
- getEvents() - Method in class com.castlabs.android.player.models.EventStream
-
EventMessage
s in the event stream. - getEventStreams() - Method in class com.castlabs.android.player.models.Timeline.Period
- getExoTrackTypeString(int) - Static method in class com.castlabs.android.utils.TrackTypeUtils
-
Translates the track types to human readable strings
- getFilterReason() - Method in class com.castlabs.android.player.filter.FilterFormat
- getFlags() - Method in class com.castlabs.android.player.AudioAttributes
- getFormat() - Method in class com.castlabs.android.player.filter.FilterFormat
- getFormat() - Method in class com.castlabs.android.player.models.SubtitleTrack
- getFormat() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getFrameRate() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getGridHeight() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
The grid height (if a thumbnail grid is used)
- getGridWidth() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
The grid with (if a thumbnail grid is used)
- getGroupFormats() - Method in class com.castlabs.android.player.filter.FilterFormat
- getGroupType(int, int) - Method in class com.castlabs.android.player.DefaultTrackTypeProvider
- getGroupType(int, int) - Method in class com.castlabs.android.player.TrackTypeProvider
-
Gets the track group type by provided track or track group types.
- getHeaderParameter() - Method in interface com.castlabs.android.network.DataSourceFactory
- getHeaderParameter() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
- getHeaderParameter() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
- getHeight() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getHlsKeyCache() - Method in class com.castlabs.android.player.PlayerController
-
Returns the current
HlsClearKeyCache
used for HLS Clearkey requests. - getId() - Method in class com.castlabs.android.adverts.HlsInterstitialPlugin
- getId() - Method in class com.castlabs.android.player.CustomDashEventListener.CustomEvent
- getId() - Method in class com.castlabs.android.player.DashDescriptor
- getId() - Method in class com.castlabs.android.player.DefaultPlayerPlugin
- getId() - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the id of this track
- getId() - Method in class com.castlabs.android.player.models.EventMessage
-
The instance identifier.
- getId() - Method in class com.castlabs.android.player.models.SubtitleTrack
- getId() - Method in class com.castlabs.android.player.models.Timeline.Period
- getId() - Method in class com.castlabs.android.player.models.VideoTrack
-
Set the id of this track
- getId() - Method in class com.castlabs.android.player.models.VideoTrackQuality
-
Set the id of this track
- getId() - Method in class com.castlabs.android.Plugin
- getInitialPositionUs(Timeline) - Method in interface com.castlabs.android.player.InitialPositionProvider
-
Return the desired initial position in microseconds.
- getInstance(Context) - Static method in class com.castlabs.android.player.AudioCapabilitiesManager
- getInteger(String) - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Returns the value for the given key out of the
errorData
Map. - getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- getKeyStore() - Static method in class com.castlabs.android.player.PlayerController
-
Returns the
KeyStore
that will be used to store offline IDs or null if no store is configured. - getKIDFromPlayreadySchemeData(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
-
Takes a Playready Header Object and extracts the KID converted to CENC or null.
- getKIDFromPlayreadySchemeData(DrmInitData.SchemeData) - Static method in class com.castlabs.android.drm.DrmUtils
- getKIDFromPlayreadySchemeData(String) - Static method in class com.castlabs.android.drm.DrmUtils
-
Takes a Base64 encoded string representation of a Playready Header Object and extracts the KID converted to CENC or null.
- getKIDFromWidevineHeader(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
- getKIDFromWidevineSchemeData(DrmInitData.SchemeData) - Static method in class com.castlabs.android.drm.DrmUtils
- getLabel() - Method in class com.castlabs.android.player.models.AudioTrack
-
Returns the default label for this track.
- getLabel() - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Returns the default label for this track.
- getLabel() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getLanguage() - Method in class com.castlabs.android.player.models.AudioTrack
-
The language of the format.
- getLanguage() - Method in class com.castlabs.android.player.models.SubtitleTrack
-
The language of the format.
- getLastUri() - Method in class com.castlabs.android.network.ExtendedDataSource
- getLca(Uri, Uri) - Static method in class com.castlabs.utils.UriUtils
-
Returns the least common ancestor of th two Uri's.
- getLicenseData() - Method in class com.castlabs.AssetLicenseLoader
- getLicenseData() - Method in interface com.castlabs.LicenseLoader
-
This method must find the license file and return its bytes or throw an Exception if the license data could not be loaded.
- getLicenseData() - Method in class com.castlabs.ManifestLicenseLoader
- getLicenseData() - Method in class com.castlabs.SimpleLicenseLoader
- getLicenseKeysCount() - Method in class com.castlabs.android.drm.KeyStore
-
Get count of stored license keys
- getLicenseKeysCount() - Method in class com.castlabs.android.drm.MemoryKeyStore
- getLicenseKeysCount() - Method in class com.castlabs.android.drm.SharedPreferencesKeyStore
- getLicenseRemainingDurationSec() - Method in class com.castlabs.android.player.PlayerController
-
Returns the remaining license duration for the current DRM session.
- getLicenseRemainingDurationSec(TrackRendererPlugin.Type) - Method in class com.castlabs.android.player.PlayerController
-
Returns the remaining license duration for the current DRM session.
- getLifecycleDelegate() - Method in interface com.castlabs.android.player.IPlayerView
-
This method must return an instance of the
PlayerViewLifecycleDelegate
. - getLifecycleDelegate() - Method in class com.castlabs.android.player.PlayerView
- getLiveConfiguration() - Method in class com.castlabs.android.player.PlayerController
-
Returns the live configuration of this controller
- getLiveEdgeLatency() - Method in class com.castlabs.android.player.PlayerController
-
For live streams, the number of milliseconds that the playback should lag behind the "live edge" (i.e.
- getLiveEdgeUs() - Method in class com.castlabs.android.player.PlayerController
-
Returns the live edge time in microseconds, or
C.TIME_UNSET
if unknown or not applicable. - getLiveEdgeUs(boolean) - Method in class com.castlabs.android.player.PlayerController
-
Returns the live edge time in microseconds, or
C.TIME_UNSET
if unknown or not applicable. - getLiveStartTime() - Method in class com.castlabs.android.player.PlayerController
-
Get the live start time in microseconds since the epoch or -1 if unknown or not applicable.
- getLoadedConfigs() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- getLocalizedLanguageName(String) - Static method in class com.castlabs.android.player.models.Track
-
Returns the given language code's name, in the
Locale
determined byTrack.LABEL_LOCALE
. - getMainHandler() - Method in class com.castlabs.android.player.PlayerController
- getManifestUrl(File) - Static method in class com.castlabs.android.downloader.ContainerUtils
-
Reads the zip files
meta.json
file and returns aUri
to that Manifest. - getManifestUrl(File, JSONObject) - Static method in class com.castlabs.android.downloader.ContainerUtils
-
Takes the zip files
meta.json
content and returns aUri
to that Manifest. - getMaxBufferSizeBytes() - Method in class com.castlabs.android.player.PlayerController
-
Return the maximum buffer size in bytes
- getMaximumLoadedItems() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- getMaxIndex() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getMaxPlayoutRate() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getMaxSegment() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Get's the segment's max index
- getMediaCodecSelector() - Method in class com.castlabs.android.player.PlayerController
- getMediaMimeType() - Method in class com.castlabs.android.player.models.AudioTrack
- getMediaMimeType() - Method in class com.castlabs.android.player.models.SubtitleTrack
- getMediaMimeType() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getMediaType() - Method in class com.castlabs.android.player.filter.FilterFormat
- getMessage() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
- getMessageData() - Method in class com.castlabs.android.player.models.EventMessage
-
The body of the message.
- getMimeType() - Method in class com.castlabs.android.player.models.AudioTrack
- getMimeType() - Method in class com.castlabs.android.player.models.SubtitleTrack
- getMimeType() - Method in class com.castlabs.android.player.models.VideoTrack
- getMimeType() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getMinSegment() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Get's the segment's min index
- getModifierDataSourceFactory(int) - Method in class com.castlabs.android.player.PlayerController
-
Provides access to the
DataSourceFactory
that will be for the specific request type. - getName() - Method in interface com.castlabs.android.adverts.AdProvider
-
Return a unique name to identify the session provider.
- getName() - Method in class com.castlabs.android.adverts.HlsInterstitialPlugin
- getName() - Method in class com.castlabs.android.player.models.AudioTrack
-
The name associated with this track.
- getName() - Method in class com.castlabs.android.player.models.SubtitleTrack
-
The name associated with this track.
- getNetworkConfiguration() - Method in class com.castlabs.android.player.PlayerController
- getNextItemIndex() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- getOfflinePath() - Method in class com.castlabs.android.player.PlayerController
-
Gets the local path to the currently played content if it is played offline, otherwise
null
- getOmaActivationServerUrl() - Method in class com.castlabs.android.drm.DrmTodayConfiguration
-
This returns a custom OMA activation server URL if DRMtoday Onboard is used and a custom URL is configured.
- getOriginalGroupIndex() - Method in class com.castlabs.android.player.models.Track
- getOriginalGroupIndex() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getOriginalLanguage() - Method in class com.castlabs.android.player.models.AudioTrack
-
The language tag as present in the manifest.
- getOriginalLanguage() - Method in class com.castlabs.android.player.models.SubtitleTrack
-
The language tag as present in the manifest.
- getOriginalTrackIndex() - Method in class com.castlabs.android.player.models.Track
- getOriginalTrackIndex() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getPassthroughDecoderInfo() - Method in class com.castlabs.android.player.DefaultMediaCodecSelector
- getPath() - Method in class com.castlabs.android.player.PlayerController
-
Returns the path set in this controller or null
- getPeriod(int) - Method in class com.castlabs.android.player.models.Timeline
-
Returns the requested Period
- getPeriodCount() - Method in class com.castlabs.android.player.models.Timeline
-
Returns the number of Period in the Timeline
- getPeriodDurationUs() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getPeriodInfo(Timeline.Period) - Method in interface com.castlabs.android.player.PeriodInfoProvider
-
Gets the
PeriodInfoProvider.PeriodInfo
for the specified period - getPeriods() - Method in class com.castlabs.android.player.models.Timeline
-
Returns the List of
Timeline.Period
s - getPeriodStartMs() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getPictureWidthHeightRatio() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getPixelWidthHeightRatio() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getPlayer() - Method in class com.castlabs.android.player.PlayerController
-
Access the player API instance.
- getPlayerConfig() - Method in class com.castlabs.android.player.PlayerController
- getPlayerConfig(PlayerConfig) - Method in interface com.castlabs.android.player.ConfigurationProvider
-
Provides updated
PlayerConfig
ornull
if no updates needed - getPlayerConfig(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Gets the internal PlayerConfig from the user config added to the playlist.
- getPlayerController() - Method in interface com.castlabs.android.player.IPlayerView
-
Returns the current instance of the
PlayerController
that is used by this view. - getPlayerController() - Method in class com.castlabs.android.player.PlayerView
-
Access the
PlayerController
that can be used to interact with this view. - getPlayerControllerPlugins() - Static method in class com.castlabs.android.PlayerSDK
- getPlayerListeners() - Method in class com.castlabs.android.player.PlayerController
- getPlayerPlugins() - Static method in class com.castlabs.android.PlayerSDK
- getPlayerState() - Method in class com.castlabs.android.player.PlayerController
-
Returns the current player state.
- getPlayerView() - Method in class com.castlabs.android.player.PlayerController
- getPlayerView() - Method in interface com.castlabs.android.views.PlayerViewProvider
- getPlayerViewPlugins() - Static method in class com.castlabs.android.PlayerSDK
- getPlaylist() - Method in interface com.castlabs.android.player.Playlist
-
Returns the current Playlist as a List of
PlayerConfig
items. - getPlaylist() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Returns the current Playlist as a List of
PlayerConfig
items. - getPlaylist() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- getPlaylistWindowAfter() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- getPlaylistWindowBefore() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- getPlugin(Class<T>) - Static method in class com.castlabs.android.PlayerSDK
-
Returns the instance of the registered plugin or null if no plugin was found
- getPlugins() - Static method in class com.castlabs.android.PlayerSDK
- getPosition() - Method in interface com.castlabs.android.adverts.AdInterface
-
Get the Ad position in microseconds.
- getPosition() - Method in class com.castlabs.android.player.PlayerController
-
Get the position in microseconds which is the playback position within the region of media currently available for playback.
- getPositionInFirstPeriodUs() - Method in class com.castlabs.android.player.models.Timeline.Window
- getPositionInPeriod() - Method in class com.castlabs.android.player.PlayerController
-
Get the position in microseconds which is the playback position within the period of media currently available for playback.
- getPositionInWindowMs() - Method in class com.castlabs.android.player.models.Timeline.Period
- getPositionInWindowUs() - Method in class com.castlabs.android.player.models.Timeline.Period
- getPreBufferTime() - Method in class com.castlabs.android.player.PlayerController
-
Gets an estimate of the absolute position in microseconds up to which data is buffered.
- getPreferredAudioLanguage() - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Get the preferred audio language
- getPreferredSubtitleLanguage() - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Get the preferred subtitles language
- getPresentationTimesUs() - Method in class com.castlabs.android.player.models.EventStream
-
Presentation time of the events in microsecond, sorted in ascending order.
- getPreviousItemIndex() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- getPropertyByteArray(String) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- getPropertyString(String) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- getProviders() - Static method in class com.castlabs.android.adverts.Adverts
- getProvisionRequest() - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- getQualities() - Method in class com.castlabs.android.player.models.MutableVideoTrack
-
Returns an unmodifiable view on the currently registered qualities sorted in decreasing bitrate order.
- getQualities() - Method in class com.castlabs.android.player.models.VideoTrack
-
Returns an unmodifiable view on the currently registered qualities sorted in decreasing bitrate order.
- getQueryParameter() - Method in interface com.castlabs.android.network.DataSourceFactory
- getQueryParameter() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
- getQueryParameter() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
- getRendererCapabilities(Context, DrmConfiguration) - Method in class com.castlabs.android.player.AmLogicPlayerPlugin
- getRendererCapabilities(Context, DrmConfiguration) - Method in class com.castlabs.android.player.DashPlayerPlugin
- getRendererCapabilities(Context, DrmConfiguration) - Method in class com.castlabs.android.player.HlsPlayerPlugin
- getRendererCapabilities(Context, DrmConfiguration) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- getRendererCapabilities(Context, DrmConfiguration) - Method in interface com.castlabs.android.player.PlayerPlugin
-
Retrieve array of supported RendererCapabilities.
- getRendererCapabilities(Context, TrackRendererPlugin.Type, DrmConfiguration) - Method in class com.castlabs.android.player.BasePlayerModelBuilder
- getRendererCapabilities(Context, TrackRendererPlugin.Type, DrmConfiguration) - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
- getRendererCapabilities(Context, TrackRendererPlugin.Type, DrmConfiguration) - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
- getRendererCapabilitiesListener() - Method in class com.castlabs.android.player.ExtendedTrackSelector
- getRendererTrackTypeString(int) - Static method in class com.castlabs.android.utils.TrackTypeUtils
-
Translates the track types to human readable strings
- getRequestModifiers() - Method in class com.castlabs.android.player.PlayerController
-
Access the list of currently registered request modifier plugins
- getResources(String, File, Bundle) - Method in interface com.castlabs.android.downloader.Downloadable
-
Takes the URL to the remove manifest, the one that started the download, the base path to the target folder and the Bundle that was used to start the download.
- getResponseBody() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
- getResponseCode() - Method in class com.castlabs.android.downloader.ZipDataSource
- getResponseCode() - Method in class com.castlabs.android.network.ExtendedDataSource
- getResponseHeaders() - Method in class com.castlabs.android.downloader.ZipDataSource
- getResponseHeaders() - Method in class com.castlabs.android.network.ExtendedDataSource
- getResponseModifiers() - Method in class com.castlabs.android.player.PlayerController
-
Access the list of currently registered response modifier plugins
- getRootView() - Method in interface com.castlabs.android.player.IPlayerView
-
Retrieve the root view of the current
IPlayerView
implementation. - getRootView() - Method in class com.castlabs.android.player.PlayerView
- getScalingMode() - Method in interface com.castlabs.android.player.IPlayerView
- getScalingMode() - Method in class com.castlabs.android.player.PlayerView
- getSchemeIdUri() - Method in class com.castlabs.android.player.DashDescriptor
- getSchemeIdUri() - Method in class com.castlabs.android.player.models.EventMessage
-
The message scheme.
- getSchemeIdUri() - Method in class com.castlabs.android.player.models.EventStream
-
The scheme URI.
- getScreenSize(Context) - Static method in class com.castlabs.android.utils.ScreenUtils
-
Returns the dimensions of the device screen in pixel.
- getSecondaryDisplay() - Method in class com.castlabs.android.player.PlayerController
-
The secondary display setting, which is a bitmap of
SdkConsts.SECONDARY_DISPLAY_NEVER
,SdkConsts.SECONDARY_DISPLAY_ALLOW_UNPROTECTED_CONTENT
,SdkConsts.SECONDARY_DISPLAY_ALLOW_SECURE_DISPLAY
, andSdkConsts.SECONDARY_DISPLAY_ALLOW_ALWAYS
. - getSecurityLevel() - Method in class com.castlabs.android.drm.DrmConfiguration
- getSeekRangeEndUs() - Method in class com.castlabs.android.player.PlayerController
-
Get the end of the current seek range in microseconds or
C.TIME_UNSET
. - getSegmentCount() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Get's the segment count
- getSegmentUrl(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Builds the Uri to locate the corresponding file according to the segment and the previously set
Representation.MultiSegmentRepresentation
. - getSelectionFlags() - Method in class com.castlabs.android.player.models.AudioTrack
- getServerDateForLastRequest() - Method in interface com.castlabs.android.drm.LicenseServerTimeProvider
-
Return the server time in milliseconds.
- getSessions() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- getSeverity() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- getSideloaded() - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Check if the subtitle is of side-loaded type.
- getSideloadedSubtitleTracks() - Method in class com.castlabs.android.player.models.PlayerModel
- getSideloadedTracks() - Method in class com.castlabs.android.downloader.DownloadInfo
- getSize() - Method in interface com.castlabs.android.player.Playlist
-
Returns the number of Configs in the playlist.
- getSize() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- getSize() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- getSpeed() - Method in class com.castlabs.android.player.PlayerController
- getSslSocketFactory(PlayerController) - Static method in class com.castlabs.android.utils.SslUtils
-
Unified way to get
SSLSocketFactory
- getSSLSocketFactory() - Method in class com.castlabs.android.player.PlayerController
-
Provides access to previously set
SSLSocketFactory
- getStartSegmentNumber() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getStatusCode() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
- getString(String) - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Returns the value for the given key out of the
errorData
Map. - getSubtitlesStyle() - Method in class com.castlabs.android.player.PlayerController
- getSubtitleTrack() - Method in class com.castlabs.android.player.PlayerController
- getSubtitleTrack(int) - Method in class com.castlabs.android.player.models.PlayerModel
- getSubtitleTracks() - Method in class com.castlabs.android.downloader.DownloadInfo
- getSubtitleTracks() - Method in class com.castlabs.android.player.models.PlayerModel
- getSubtitleTracks() - Method in class com.castlabs.android.player.models.Timeline.Period
- getSubtitleTracks() - Method in class com.castlabs.android.player.PlayerController
- getSupportedDRM() - Static method in class com.castlabs.android.drm.DrmUtils
- getThumbnailDataTracks() - Method in class com.castlabs.android.player.models.PlayerModel
- getThumbnailHeight() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getThumbnailTracks() - Method in class com.castlabs.android.player.PlayerController
-
Returns a list of thumbnail track assets found in the opened DASH manifest.
- getThumbnailWidth() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getTimeline() - Method in class com.castlabs.android.player.PlayerController
-
Returns the current
Timeline
. - getTimeMs() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getTimescale() - Method in class com.castlabs.android.player.models.EventStream
-
The timescale in units per seconds, as defined in the manifest.
- getTimeUs(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Gets the segment's timestamp in microseconds
- getTrackIndex() - Method in class com.castlabs.android.player.models.Track
- getTrackIndex() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getTrackRendererPlugins() - Static method in class com.castlabs.android.PlayerSDK
- getTrackType() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
- getTrackType(Format) - Method in class com.castlabs.android.player.DefaultTrackTypeProvider
- getTrackType(Format) - Method in class com.castlabs.android.player.TrackTypeProvider
-
Defines the type of the track with the provided format.
- getTrackTypeWeight(int) - Method in class com.castlabs.android.player.DefaultTrackTypeProvider
- getTrackTypeWeight(int) - Method in class com.castlabs.android.player.TrackTypeProvider
-
Defines the weight of the provided track.
- getTransferListener() - Method in class com.castlabs.android.player.BandwidthMeterWrapper
-
Return the transfer listener that will delegate to a sub meter if the transfer listener support is enabled.
- getTrickplayConfiguration() - Method in class com.castlabs.android.player.PlayerController
-
Returns the current
TrickplayConfiguration
- getType() - Method in class com.castlabs.android.player.DashDescriptor
- getType() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- getType() - Method in class com.castlabs.android.player.models.AudioTrack
- getType() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getUri() - Method in class com.castlabs.android.downloader.ZipDataSource
- getUri() - Method in class com.castlabs.android.network.ExtendedDataSource
- getUri() - Method in class com.castlabs.android.network.Request
-
Get the request URI.
- getUri() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
-
The underlying URI that caused the error.
- getUrl() - Method in class com.castlabs.android.drm.DrmTodayConfiguration
- getUrl() - Method in class com.castlabs.android.player.CustomDashEventListener.CustomEvent
- getUrl() - Method in class com.castlabs.android.player.models.SubtitleTrack
- getUrl() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- getUsage() - Method in class com.castlabs.android.player.AudioAttributes
- getValue() - Method in class com.castlabs.android.player.DashDescriptor
- getValue() - Method in class com.castlabs.android.player.models.EventMessage
-
The value for the event.
- getValue() - Method in class com.castlabs.android.player.models.EventStream
-
The value of the event stream.
- getVersion() - Static method in class com.castlabs.android.PlayerSDK
-
Exposes the SDK version
- getVideoFilterConfiguration() - Method in class com.castlabs.android.player.PlayerController
- getVideoQualities() - Method in class com.castlabs.android.player.PlayerController
- getVideoQuality() - Method in class com.castlabs.android.player.PlayerController
- getVideoQualityMode() - Method in class com.castlabs.android.player.PlayerController
- getVideoSizeFilter() - Method in class com.castlabs.android.player.PlayerController
-
Deprecated.
- getVideoTrack() - Method in class com.castlabs.android.player.PlayerController
-
Returns the current video track.
- getVideoTrack(int) - Method in class com.castlabs.android.player.models.PlayerModel
- getVideoTracks() - Method in class com.castlabs.android.player.models.PlayerModel
- getVideoTracks() - Method in class com.castlabs.android.player.models.Timeline.Period
- getVideoTracks() - Method in class com.castlabs.android.player.PlayerController
-
Returns a list of video tracks.
- getVideoView() - Method in interface com.castlabs.android.player.IPlayerView
-
Retrieve the video container view of the current
IPlayerView
implementation. - getVideoView() - Method in class com.castlabs.android.player.PlayerView
- getView() - Method in class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
- getView(Context) - Method in interface com.castlabs.android.subtitles.SubtitlesPreview
-
A view component that will render the subtitle text
- getViewElevation() - Method in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
-
Will be used by the
IPlayerView
to decide in which order the different Components willattach
their Views. - getVolume() - Method in class com.castlabs.android.player.PlayerController
- getWidth() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- getWindow(int) - Method in class com.castlabs.android.player.models.Timeline
-
Returns the requested Window
- getWindowCount() - Method in class com.castlabs.android.player.models.Timeline
-
Returns the number of Window in the Timeline
- getWindowIndex() - Method in class com.castlabs.android.player.models.Timeline.Period
- getWindowPositionInFirstPeriod() - Method in class com.castlabs.android.player.PlayerController
-
The position of the start of the current window relative to the start of the first period belonging to it, in microseconds.
- getWindows() - Method in class com.castlabs.android.player.models.Timeline
-
Returns the List of
Timeline.Period
s - Global configuration - Search tag in class com.castlabs.android.PlayerSDK
- Section
- GoogleDNSConnectivityCheck - Class in com.castlabs.android.network
- GoogleDNSConnectivityCheck(Context) - Constructor for class com.castlabs.android.network.GoogleDNSConnectivityCheck
-
Check the connectivity by establishing a connection to "8.8.8.8:53", which is a Google DNS, with the connection timeout of 5000ms
- GoogleDNSConnectivityCheck(Context, int) - Constructor for class com.castlabs.android.network.GoogleDNSConnectivityCheck
-
Check the connectivity by establishing a connection to "8.8.8.8:53", which is a Google DNS, with specified connection timeout in ms
- googleProvisionURL - Variable in class com.castlabs.android.cas.CasConfiguration
-
The Google WVCAS Provision URL
- gridHeight - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
The grid height as number of thumbnails per column.
- gridHeight(long) - Method in class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
-
Set grid height
- gridWidth - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
The grid width as number of thumbnails per row.
- gridWidth(long) - Method in class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
-
Set grid width
- guessFormat(String) - Static method in class com.castlabs.android.player.PlayerConfig
-
Guess the format of the or return
SdkConsts.CONTENT_TYPE_UNKNOWN
.
H
- hashCode() - Method in class com.castlabs.android.adverts.Ad
- hashCode() - Method in class com.castlabs.android.adverts.AdPodData
- hashCode() - Method in class com.castlabs.android.adverts.AdSchedule
- hashCode() - Method in class com.castlabs.android.drm.DrmConfiguration
- hashCode() - Method in class com.castlabs.android.network.NetworkConfiguration
- hashCode() - Method in class com.castlabs.android.network.RetryConfiguration
- hashCode() - Method in class com.castlabs.android.player.AbrConfiguration
- hashCode() - Method in class com.castlabs.android.player.AudioAttributes
- hashCode() - Method in class com.castlabs.android.player.BufferConfiguration
- hashCode() - Method in class com.castlabs.android.player.CatchupConfiguration
- hashCode() - Method in class com.castlabs.android.player.CustomUtcTimingElement
- hashCode() - Method in class com.castlabs.android.player.DisplayInfo
- hashCode() - Method in class com.castlabs.android.player.LiveConfiguration
- hashCode() - Method in class com.castlabs.android.player.MediaCodecInfo
- hashCode() - Method in class com.castlabs.android.player.models.AudioTrack
- hashCode() - Method in class com.castlabs.android.player.models.EventMessage
- hashCode() - Method in class com.castlabs.android.player.models.PlayerModel
- hashCode() - Method in class com.castlabs.android.player.models.SideloadedTrack
- hashCode() - Method in class com.castlabs.android.player.models.SubtitleTrack
- hashCode() - Method in class com.castlabs.android.player.models.Track
- hashCode() - Method in class com.castlabs.android.player.models.VideoTrack
- hashCode() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- hashCode() - Method in class com.castlabs.android.player.PlayerConfig
- hashCode() - Method in class com.castlabs.android.player.TrickplayConfiguration
- HashUtils - Class in com.castlabs.utils
-
Utility hash functions
- HashUtils() - Constructor for class com.castlabs.utils.HashUtils
- hasTrickModeId(int) - Method in class com.castlabs.android.player.models.Track
- HDCP_EXCEPTION_TIMEOUT_MS - Static variable in class com.castlabs.android.PlayerSDK
-
This is the time in milliseconds to wait for DRM key to change its status from
KeyStatus.OutputNotAllowed
toKeyStatus.Usable
before throwing an exception. - HDMI_CONNECTION_DELAY_MS - Static variable in class com.castlabs.android.PlayerSDK
-
This is the time in milliseconds to delay the HDMI connection event.
- headerParameter(String, String) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Add a header parameter to each content data request
- headers - Variable in class com.castlabs.android.network.Request
-
The header parameters that will be applied to the request.
- headers - Variable in class com.castlabs.android.network.Response
-
The response headers
- highMediaTime(int, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
Time in milliseconds that will be used by the buffer controls to determine if the buffer can be drained.
- highMediaTimeMs - Variable in class com.castlabs.android.player.BufferConfiguration
-
Time in milliseconds that will be used by the buffer controls to determine if the buffer can be drained.
- HlsClearKeyCache - Class in com.castlabs.android.player
-
Cache for
Drm.Clearkey
. - HlsClearKeyCache() - Constructor for class com.castlabs.android.player.HlsClearKeyCache
- hlsForcePlaylistUpdateTargetDuration - Variable in class com.castlabs.android.player.LiveConfiguration
-
Whether the
LiveConfiguration.hlsPlaylistUpdateTargetDurationCoefficient
should also be applied when the currently loaded manifest is renewed. - hlsForcePlaylistUpdateTargetDuration - Variable in class com.castlabs.android.player.LowLatencyProfile
-
Will override
LiveConfiguration.hlsForcePlaylistUpdateTargetDuration
- HlsInterstitial - Class in com.castlabs.android.player.models.hls
- HlsInterstitial(Uri, String, String, int, int, long) - Constructor for class com.castlabs.android.player.models.hls.HlsInterstitial
- HlsInterstitial.Asset - Class in com.castlabs.android.player.models.hls
- HlsInterstitialAdLoader - Class in com.castlabs.android.adverts
- HlsInterstitialAdLoader() - Constructor for class com.castlabs.android.adverts.HlsInterstitialAdLoader
- HlsInterstitialListener - Class in com.castlabs.android.player
- HlsInterstitialListener() - Constructor for class com.castlabs.android.player.HlsInterstitialListener
- HlsInterstitialPlugin - Class in com.castlabs.android.adverts
- HlsInterstitialPlugin() - Constructor for class com.castlabs.android.adverts.HlsInterstitialPlugin
- hlsLiveTailSegmentIndex - Variable in class com.castlabs.android.player.LiveConfiguration
-
Defines the HLS segment index counting from the tail from which the live playback should start.
- hlsLiveTailSegmentIndex - Variable in class com.castlabs.android.player.LowLatencyProfile
-
Will override
LiveConfiguration.hlsLiveTailSegmentIndex
- hlsLiveTailSegmentIndex(int) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Defines the HLS segment index counting from the tail from which the live playback should start.
- hlsLiveTailSegmentIndex(int) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
-
Defines the HLS segment index counting from the tail from which the live playback should start.
- HlsPlayerPlugin - Class in com.castlabs.android.player
- HlsPlayerPlugin() - Constructor for class com.castlabs.android.player.HlsPlayerPlugin
- hlsPlaylistUpdateTargetDurationCoefficient - Variable in class com.castlabs.android.player.LiveConfiguration
-
The default coefficient applied to playlist update interval when calculating the playlist update interval.
- hlsPlaylistUpdateTargetDurationCoefficient - Variable in class com.castlabs.android.player.LowLatencyProfile
- hlsPlaylistUpdateTargetDurationCoefficient(float, boolean) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Defines the default coefficient applied to playlist update interval when calculating the playlist update interval.
- hlsPlaylistUpdateTargetDurationCoefficient(float, boolean) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
-
Defines the default coefficient applied to playlist update interval when calculating the playlist update interval.
- HTTP_CODE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- HTTP_DATASOURCE_BUILDER - Static variable in class com.castlabs.android.PlayerSDK
-
The HTTP data source factory that is used to create http data sources.
- HttpDataSourceBuilder - Interface in com.castlabs.android.network
-
Implementations of this interface are responsible for creating http data source instances.
- HttpExecutorException(int, String, Map<String, List<String>>, Throwable) - Constructor for exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
- HttpListener - Interface in com.castlabs.android.network
-
Listener related to HTTP events.
I
- IAnalyticsSession - Interface in com.castlabs.analytics
-
Base interface for analytics plugins.
- id - Variable in class com.castlabs.android.adverts.Ad
-
Ad Id
- id - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
- id - Variable in class com.castlabs.android.player.PlayerConfig
-
ID for this content
- id() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- id() - Method in class com.castlabs.android.player.ExoSubtitlesRendererPlugin.ExoSubtitleComponent
- id() - Method in class com.castlabs.android.player.models.EventStream
-
A constructed id of this
EventStream
. - id() - Method in interface com.castlabs.android.player.PlayerControllerPlugin.Component
-
Returns the class that is used to identify this component when it is registered with the player controller.
- id() - Method in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
-
Returns the class that is used to identify this component when it is registered with the player view.
- id() - Method in class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
- id(long) - Method in class com.castlabs.android.player.models.EventMessage.Builder
-
The instance identifier.
- id(Object) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- id(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the configuration id
- Idle - Enum constant in enum com.castlabs.android.player.PlayerController.State
-
The player controller is not prepared or preparing and no content is loaded This is the initial player state and the state the player returns to after it is destroyed.
- Image - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
- imageUrl - Variable in class com.castlabs.android.player.Chapter
-
(Optional) URI to an image
- ImageUtils - Class in com.castlabs.android.utils
-
Image utilities that offers helper functions to decode and scale bitmap images.
- INBAND_EVENT_STREAM - Static variable in class com.castlabs.android.player.DashDescriptor
- indexOf(Object[], Object) - Static method in class com.castlabs.utils.ArrayUtils
- init(Context) - Static method in class com.castlabs.android.PlayerSDK
-
Initializes the SDK using the given context and the default
ManifestLicenseLoader
to find a meta-data entry with the keycastlabs-license
in your Applications Manifest. - init(Context) - Method in class com.castlabs.android.Plugin
-
This method is called on registered plugins after the player SDK was successfully initialized.
- init(Context, LicenseLoader) - Static method in class com.castlabs.android.PlayerSDK
-
Initializes the SDK using the given context and
LicenseLoader
to find and load a license file. - init(Context, String) - Static method in class com.castlabs.android.PlayerSDK
-
Initializes the SDK using the given context and the license specified here.
- init(DrmLicenseManager, DrmConfiguration, PlayerController) - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
-
Called upon
DrmLicenseManager
creation - init(IPlayerView) - Method in class com.castlabs.android.player.PlayerService.Binder
-
Initialises the service binder and eventually restores the PlayerController from the background.
- InitialPositionProvider - Interface in com.castlabs.android.player
-
Callback to define an initial playing position right after the
Timeline
is ready. - initialTrackSelection - Variable in class com.castlabs.android.player.AbrConfiguration
-
The initial track selection can be used to manually select a track by index initially, in combination with
AbrConfiguration.keepInitialSelection
. - initialTrackSelection(int, boolean) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
The initial track selection can be used to manually select a track by index initially, in combination with
AbrConfiguration.Builder.keepInitialSelection
. - instanceOf(Throwable, Class<T>) - Static method in class com.castlabs.utils.Validate
-
Search for the specific cause recursively
- INTENT_ABR_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
Provide an instance of
AbrConfiguration
when opening playback. - INTENT_AD_SCHEDULE - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to inform an instance of
AudioAttributes
in an intent. - INTENT_ADVERTS_DATA - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store
AdRequest
in an intent. - INTENT_ALLOW_HLS_CHUNKLESS_PREPARATION - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
to configurePlayerConfig.allowHlsChunklessPreparation
- INTENT_ANALYTICS_DATA - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an instance of
AnalyticsMetaData
in an intent. - INTENT_ANALYTICS_SESSION_TYPE - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to create and start analytics session upon
PlayerController.play()
orPlayerController.open(Bundle)
. - INTENT_AUDIO_ATTRIBUTES - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to inform an instance of
AudioAttributes
in an intent. - INTENT_AUDIO_DECODER_FALLBACK - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
to configurePlayerConfig.audioDecoderFallback
- INTENT_AUDIO_TRACK_GROUP_IDX - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set an int value that indicates the audio track group that should be used.
- INTENT_AUDIO_TRACK_IDX - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set an int value that indicates the audio track that should be used.
- INTENT_AUDIO_VOLUME - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set an float value that indicates the audio track volume.
- INTENT_BUFFER_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store a
BufferConfiguration
that will be used by the player - INTENT_CAS_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set a
CasConfiguration
as a value. - INTENT_CLIP_PERIODS - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store a
boolean
and enable clipping periods to their duration (DASH-only) - INTENT_CLIPPING_END - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify a media time to end playback prematurely.
- INTENT_CLIPPING_START - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify a media time from which playback should start.
- INTENT_CONFIGURATION_ID - Static variable in class com.castlabs.android.player.PlayerConfig
-
A unique ID for the configuration
- INTENT_CONFIGURATION_URL - Static variable in class com.castlabs.android.player.PlayerConfig
-
Intent key to specify an optional URL to an API endpoint that can be used to refresh the configuration.
- INTENT_CONTENT_PARAMETERS - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify a
Bundle
containing key-value String pairs to add as header parameters for manifest requests. - INTENT_CONTENT_QUERY_PARAMETERS - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify a
Bundle
containing key-value String pairs to add as query parameters for manifest requests. - INTENT_CONTENT_TYPE - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set an int value which has to be one of
SdkConsts.CONTENT_TYPE_DASH
,SdkConsts.CONTENT_TYPE_HLS
,SdkConsts.CONTENT_TYPE_SMOOTHSTREAMING
,SdkConsts.CONTENT_TYPE_MP4
, orSdkConsts.CONTENT_TYPE_UNKNOWN
to indicate the stream format - INTENT_DOWNLOAD_FOLDER - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key to indicate the download folder
- INTENT_DOWNLOAD_ID - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key to indicate the download ID
- INTENT_DRM_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set a
DrmConfiguration
as a value. - INTENT_ENABLE_AD_SPEED_UP - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to enable or disable automatic setting of a speed to 1x when playing ads.
- INTENT_ENABLE_DASH_EVENT_CALLBACK - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify whether the internal handling of DASH event callbacks should be enabled or not
- INTENT_ENABLE_LOOPING - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
and enable playback looping - INTENT_ENABLE_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
and enable or disable the workaround whether all video frames are marked as sync frames but should not be treated as sync frames except the very first in a segment (DASH-only) - INTENT_FORCE_IN_STREAM_DRM_INIT_DATA - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store a
boolean
and prefer DRM init data in segments over the manifest's data (DASH-only). - INTENT_HD_CONTENT_FILTER - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
int
that will be used to configure the HD content filter. - INTENT_HEADER_PARAMS_BUNDLE - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.Use
SdkConsts.INTENT_CONTENT_PARAMETERS
orSdkConsts.INTENT_SEGMENT_PARAMETERS
, or use the newPlayerConfig
class. - INTENT_LIVE - Static variable in class com.castlabs.android.player.PlayerConfig
-
Indicates live content
- INTENT_LIVE_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify the Live Configuration.
- INTENT_MERGE_VIDEO_TRACKS - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
and enable merging of video tracks (e.g. - INTENT_METADATA - Static variable in class com.castlabs.android.player.PlayerConfig
-
Additional Bundle-formatted meta-data such as poster images, titles, byline and any custom meta-data
- INTENT_NETWORK_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify the
NetworkConfiguration
used by the player - INTENT_PAUSE_ON_HDMI_DISCONNECTED - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to enable or disable automatic playback pausing when HDMI is disconnected.
- INTENT_POSITION_TO_PLAY - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key with a long value to specify the playback start position in microseconds.
- INTENT_PREFER_LATENCY_OVER_BUFFER_SAFETY - Static variable in class com.castlabs.android.SdkConsts
-
If set to true, will instruct ExoPlayer to drop startup buffers to start closer to the live edge.
- INTENT_PREFERRED_AUDIO_LANGUAGE - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify a preferred audio language using a two letter language code.
- INTENT_PREFERRED_CODEC_INFOS - Static variable in class com.castlabs.android.player.PlayerConfig
-
Preferred media codec infos
- INTENT_PREFERRED_TEXT_LANGUAGE - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify a preferred text language using a two letter language code.
- INTENT_PRESERVE_PLAYER_VIEW_SURFACE - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
to set to true and thePlayerView
is used, the playback surface be kept on screen and preserved when the player player is released. - INTENT_PUSH_BLACK_SCREEN_ON_DISPOSE - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
that indicates if the decoder should push a black screen to the surface when disposed. - INTENT_QUERY_PARAMS_BUNDLE - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.Use
SdkConsts.INTENT_SEGMENT_QUERY_PARAMETERS
orSdkConsts.INTENT_CONTENT_QUERY_PARAMETERS
, or use the newPlayerConfig
class. - INTENT_RESTORE_SPEED - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to enable or disable automatic restoring of a speed after playing ads.
- INTENT_SECONDARY_DISPLAY - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
int
that will be used as the secondary display configuration for a player controller - INTENT_SEGMENT_PARAMETERS - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify a
Bundle
containing key-value String pairs to add as header parameters for segment requests. - INTENT_SEGMENT_QUERY_PARAMETERS - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify a
Bundle
containing key-value String pairs to add as query parameters for segment requests. - INTENT_SIDELOADED_TRACKS_ARRAYLIST - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
ArrayList
ofSideloadedTrack
- INTENT_START_PLAYING - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set a boolean value to indicate that playback should start automatically
- INTENT_SUBTITLE_BUNDLE_ARRAYLIST - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.Use
SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST
, or use the newPlayerConfig
class. - INTENT_SUBTITLE_LANGUAGE - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.Use
SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST
, or use the newPlayerConfig
class. - INTENT_SUBTITLE_MIME_TYPE - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.Use
SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST
, or use the newPlayerConfig
class. - INTENT_SUBTITLE_NAME - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.Use
SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST
, or use the newPlayerConfig
class. - INTENT_SUBTITLE_SUB_SAMPLE_TYPE - Static variable in class com.castlabs.android.SdkConsts
-
Defines whether the subtitle times are absolute or relative.
- INTENT_SUBTITLE_TRACK_GROUP_IDX - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set an int value that indicates the subtitle track group that should be used.
- INTENT_SUBTITLE_TRACK_IDX - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set an int value that indicates the subtitle track that should be used.
- INTENT_SUBTITLE_URL - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.Use
SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST
, or use the newPlayerConfig
class. - INTENT_THREESIXTY - Static variable in class com.castlabs.android.player.PlayerConfig
-
Indicates 360 degree content
- INTENT_THUMBNAILS_DATA - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.in favour of
SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST
andSideloadedTrack.ThumbnailBuilder
. - INTENT_TITLE - Static variable in class com.castlabs.android.SdkConsts
-
(optional) Use this as a bundle key to indicate a title for the currently played content
- INTENT_TRICKPLAY_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify the initial
TrickplayConfiguration
used by the player - INTENT_TRICKPLAY_ENABLED - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify whether the
Trickplay
mode should be enabled or not. - INTENT_TUNNELING_ENABLED - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store a
Boolean
and enable tunneling. - INTENT_TUNNELING_WITHOUT_AUDIO_ENABLED - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store a
Boolean
and force tunneling usage with audio track being disabled - INTENT_UNSECURE_DECODER_FALLBACK - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
to configurePlayerConfig.unsecureDecoderFallback
- INTENT_URL - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key to indicate the playback URL
- INTENT_USE_ETH0 - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
and use ETH0 for network multicast - INTENT_USE_STANDALONE_MEDIA_CLOCK - Static variable in class com.castlabs.android.SdkConsts
-
If set to true, will use Exoplayer's
StandaloneMediaClock
instead of the Renderer Clock. - INTENT_USER_ID - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to specify the User ID.
- INTENT_VIDEO_CODEC_FILTER - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
int
that will be used to configure the video codec filtering. - INTENT_VIDEO_DECODER_FALLBACK - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store an
boolean
to configurePlayerConfig.videoDecoderFallback
- INTENT_VIDEO_FILTER - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store a
VideoFilterConfiguration
that will be used to configure the video tracks filtering. - INTENT_VIDEO_SIZE_FILTER - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.
- INTENT_VIDEO_TRACK_GROUP_IDX - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a bundle key and set an int value that indicates the video track group that should be used.
- INTENT_VIISIGHTS_DATA - Static variable in class com.castlabs.android.SdkConsts
-
Use this key to store ViisightData in an intent.
- intervalMs - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
The interval per-thumbnail for THUMBNAILS tracks.
- intervalMs(long) - Method in class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
-
Set the interval in ms
- Invalid - Enum constant in enum com.castlabs.android.drm.KeyStatus
-
Key response is received and the key is not-usable for playback
- IOUtils - Class in com.castlabs.utils
-
Utility functions for IO operations
- IOUtils() - Constructor for class com.castlabs.utils.IOUtils
- IPlayerView - Interface in com.castlabs.android.player
-
This interface describes the visual component of the video player.
- IPTVPlayerPlugin - Class in com.castlabs.android.player
- IPTVPlayerPlugin() - Constructor for class com.castlabs.android.player.IPTVPlayerPlugin
- IPTVPlayerPlugin(boolean) - Constructor for class com.castlabs.android.player.IPTVPlayerPlugin
- IPTVPlayerPlugin(IptvAnalyticsListener.EventDispatcher) - Constructor for class com.castlabs.android.player.IPTVPlayerPlugin
- iptvReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The acquisition timeout in milliseconds for IPTV-UDP/RTP requests.
- iptvReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the read timeout for DRM requests
- isAd - Variable in class com.castlabs.android.player.PeriodInfoProvider.PeriodInfo
-
true
if this is a period-based ad - isAd() - Method in class com.castlabs.android.player.filter.FilterFormat
- isAudio() - Method in class com.castlabs.android.drm.DrmInitDataContainer
- isAudioCodec(String) - Static method in class com.castlabs.utils.Codecs
- isBackgrounded() - Method in class com.castlabs.android.player.PlayerController
- isCatchingUp() - Method in class com.castlabs.android.player.PlayerController
- isConnected() - Method in interface com.castlabs.android.network.ConnectivityCheck
-
Returns true if an internet connection is available
- isConnected() - Method in class com.castlabs.android.network.DefaultConnectivityCheck
- isConnected() - Method in class com.castlabs.android.network.SocketConnectivityCheck
- isDefault() - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
- isDefault() - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
- isDeniedByServerException(Exception) - Static method in class com.castlabs.android.drm.DrmUtils
- isDisabled() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- isDisabled(Drm, KeyStatus) - Static method in class com.castlabs.android.drm.DrmUtils
- isDisabled(KeyStatus) - Static method in class com.castlabs.android.drm.DrmUtils
- isDrmSupported(Drm) - Static method in class com.castlabs.android.drm.DrmUtils
-
Helper function.
- isDRMTodayMobile - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
Set to true for DRMToday Mobile configurations
- isDynamic() - Method in class com.castlabs.android.player.models.Timeline.Window
- isEmbedded() - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Returns whether this track is embedded in another TrackGroup.
- isEmpty() - Method in class com.castlabs.android.player.models.Timeline
- isEnableCache() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
If true, caching thumbnails will be enabled if the default loader implementation is used.
- isFiltered() - Method in class com.castlabs.android.player.filter.FilterFormat
- isFormatSupported(int, DrmConfiguration) - Method in class com.castlabs.android.player.AmLogicPlayerPlugin
- isFormatSupported(int, DrmConfiguration) - Method in class com.castlabs.android.player.DashPlayerPlugin
- isFormatSupported(int, DrmConfiguration) - Method in class com.castlabs.android.player.HlsPlayerPlugin
- isFormatSupported(int, DrmConfiguration) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- isFormatSupported(int, DrmConfiguration) - Method in interface com.castlabs.android.player.PlayerPlugin
- isHdPlaybackEnabled() - Method in class com.castlabs.android.player.PlayerController
-
Returns true if this controllers filter setting allows HD content playback.
- isHdPlaybackEnabled(int, DrmConfiguration) - Static method in class com.castlabs.android.utils.SelectorUtils
-
Returns true if this controllers filter setting allows HD content playback.
- isHighlighted() - Method in class com.castlabs.android.player.Chapter
- isLive() - Method in class com.castlabs.android.player.PlayerController
-
Returns true if the live stream is currently played otherwise false
- isLoopingEnabled() - Method in class com.castlabs.android.player.PlayerController
-
Returns true if looping is enables and the player will automatically restart the playback on finish.
- isNotProvisionedException(Exception) - Static method in class com.castlabs.android.drm.DrmUtils
- isOutputAllowed() - Method in class com.castlabs.android.player.models.VideoTrack
- isPlaying() - Method in interface com.castlabs.android.adverts.AdInterface
-
Check the Ad is currently playing.
- isPlaying() - Method in class com.castlabs.android.player.PlayerController
-
Returns true if the player is currently playing
- isPlayreadyHeader(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
- isPlayWhenReady() - Method in class com.castlabs.android.player.PlayerController
-
Returns true if the player will start playing as soon as it fills enough buffer.
- isPluginRegistered(Drm) - Static method in class com.castlabs.android.PlayerSDK
-
INTERNAL! This is an internal method and you will not need to call this method explicitly.
- isPreserveCache() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
If true, caching is enabled, and the default loader implementation is used, the cache will be preserved and cached files will not be removed after a playback session.
- isRelativeUrl() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- isSeeking() - Method in class com.castlabs.android.player.PlayerController
- isShown(long) - Method in class com.castlabs.android.player.Chapter
- isSideloaded() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- isSkippable - Variable in class com.castlabs.android.adverts.Ad
- isSupportedAudioCodec(String) - Static method in class com.castlabs.android.player.PlayerController
- isSupportedCodec() - Method in class com.castlabs.android.player.models.AudioTrack
-
Based on the manifest mime type returns if it is possible to play this audio track either on the device querying the available decoders or via passthrough using HDMI information.
- isTrickModeTrack() - Method in class com.castlabs.android.player.models.Track
- isTrickplayMode() - Method in class com.castlabs.android.player.PlayerController
- isTrue(boolean, String) - Static method in class com.castlabs.utils.Validate
-
Validate that the argument condition is
true
; otherwise throwing an exception with the specified message. - isTypeSupported(TrackRendererPlugin.Type, CasConfiguration) - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
- isTypeSupported(TrackRendererPlugin.Type, CasConfiguration) - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
- isTypeSupported(TrackRendererPlugin.Type, DrmConfiguration) - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
- isTypeSupported(TrackRendererPlugin.Type, DrmConfiguration) - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
- isUiDisabled - Variable in class com.castlabs.android.adverts.Ad
- isUnsupportedSchemeException(Exception) - Static method in class com.castlabs.android.drm.DrmUtils
- isValid(TrackGroupArray) - Method in class com.castlabs.android.player.TrackIndexOverride
- isVideo() - Method in class com.castlabs.android.drm.DrmInitDataContainer
- isWidevineHeader(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
- ITEM_THRESHOLD_FULLY_BUFFERED - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Default value for
MultiControllerPlaylist.setNextItemThreshold(int)
. - ITEM_THRESHOLD_UPON_START - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
The value to be set in
MultiControllerPlaylist.setNextItemThreshold(int)
indicating the next stream should be prepared together with the current stream - itemChangeFlags(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Sets the behaviour that will be applied when a new playlist item is about to be played.
J
- join(Collection<String>, String) - Static method in class com.castlabs.utils.StringUtils
-
Join a list of token using teh given delimiter
- JSONtoBundle(JSONObject) - Static method in class com.castlabs.android.utils.DataUtils
- justEnableAnalyticsForCurrentItem(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
If set to true the analytics sessions are just enabled for current item in the playlist.
K
- keep() - Method in class com.castlabs.android.player.filter.FilterFormat
-
Marks this track to be kept by clearing the filter reason.
- keep() - Method in interface com.castlabs.utils.Disposable
- KEEP_ALL - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Flag which indicates to carry all the track selections and bandwidth estimate from one PlayerController onto the next one, as well as the
TrickplayConfiguration
. - KEEP_AUDIO_TRACK - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Flag which indicates to carry the selected
AudioTrack
from one PlayerController onto the next one. - KEEP_BANDWIDTH_ESTIMATE - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Flag which indicates to carry the last available bitrate estimate from one PlayerController onto the next one.
- KEEP_SUBTITLE_TRACK - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Flag which indicates to carry the selected
SubtitleTrack
from one PlayerController onto the next one. - KEEP_TRICKPLAY_CONFIG - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Flag which indicates to carry the current
TrickplayConfiguration
from one PlayerController onto the next one. - KEEP_VIDEO_QUALITY - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Flag which indicates to carry the selected
VideoTrackQuality
from one PlayerController onto the next one. - keepAudioEnabled - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
Whether to keep audio renderer enabled during trickplay.
- keepAudioEnabled(boolean) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.keepAudioEnabled
and returns a reference to this Builder so that the methods can be chained together. - keepDashEventCallbackEnabled - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
Whether to keep
PlayerConfig.enableDashEventCallback
enabled during trickplay. - keepDashEventCallbackEnabled(boolean) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.keepDashEventCallbackEnabled
and returns a reference to this Builder so that the methods can be chained together. - keepInitialSelection - Variable in class com.castlabs.android.player.AbrConfiguration
-
True if the first selection should be kept.
- KEY_ASSET_ID - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the last used asset ID
- KEY_AUDIO_BITRATE - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the current audio bitrate
- KEY_AUDIO_DRM - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the last used DRM type
- KEY_DEVICE_SECURITY_LEVEL - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the last required security level
- KEY_DISPLAY_COUNT - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the current number of reported displays
- KEY_DISPLAY_REMOTE - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store a boolean that indicates if the connected display is a remote display
- KEY_DISPLAY_SECURE - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store a boolean that indicates if the connected display is a secure display
- KEY_DISPLAY_SETTING - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the current display configuration
- KEY_DRM - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the last used DRM type
- KEY_DRM_URL - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the DRM backend URL for the last request
- KEY_OFFLINE_ID - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the Offline ID in case offline key storage is enabled
- KEY_POSITION - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the current playback position.
- KEY_PRESENTATION_DISPLAY_COUNT - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the current number of reported presentation displays
- KEY_REQUEST_ID - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the last used DRMToday request ID
- KEY_STATE - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the current playback state
- KEY_URL - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the current playback URL
- KEY_VARIANT_ID - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the last used variant ID
- KEY_VERSION - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the castlabs SDK version
- KEY_VIDEO_BITRATE - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the current video bitrate
- KEY_VIDEO_SIZE - Static variable in class com.castlabs.analytics.Crashlog
-
Key used to store the current video dimensions
- keyRotation - Variable in class com.castlabs.android.drm.DrmConfiguration
-
Enforce Key-Rotation support also on older devices before Android M.
- keyRotation(boolean) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Enforce Key-Rotation support also on older devices before Android M.
- keySetId - Variable in class com.castlabs.android.player.DrmKeyStorage
- KeyStatus - Enum in com.castlabs.android.drm
-
DRM key status types
- KeyStore - Class in com.castlabs.android.drm
-
Implementations of this interface are used by the DRM Session to store and retrieve keySetIds that are used to store offline licenses.
- KeyStore() - Constructor for class com.castlabs.android.drm.KeyStore
- keyValidUntilMs - Variable in class com.castlabs.android.player.DrmKeyStorage
- killBackgroundPlayer(boolean) - Method in class com.castlabs.android.player.PlayerService.Binder
-
Utility method that can be used to dispose an existing background player without connecting a
PlayerView
. - kind - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
The kind attribute for text tracks
- kind(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.SubtitleBuilder
-
Set the kind
L
- label - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
The label for text tracks
- label(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.SubtitleBuilder
-
Set the label
- LABEL_LOCALE - Static variable in class com.castlabs.android.player.models.Track
-
For Tracks that display a language, this Locale will be used.
- language - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
Two latter language code for text tracks
- language(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.SubtitleBuilder
-
Set the language
- LanguageUtils - Class in com.castlabs.utils
-
This object contains enums and utilities for working with language tags.
- LanguageUtils() - Constructor for class com.castlabs.utils.LanguageUtils
- LazyImageLoader - Class in com.castlabs.android.utils
-
An instance of this class can be used to load images from a given URL as Bitmaps lazily and apply them to a given
ImageView
once loaded. - LazyImageLoader(Context) - Constructor for class com.castlabs.android.utils.LazyImageLoader
-
Create a new lazy image loader for a given context
- LazyImageLoader(Context, int) - Constructor for class com.castlabs.android.utils.LazyImageLoader
-
Create a new lazy image loader for a give context with a default image id that is applied to all image views
- LazyImageLoader(Context, String, int) - Constructor for class com.castlabs.android.utils.LazyImageLoader
-
Create a new lazy image loader for a give context with a default image id that is applied to all image views.
- length - Variable in class com.castlabs.android.downloader.DownloadableResource
-
The length in bytes or
SdkConsts.LENGTH_UNBOUNDED
if unknown - LENGTH_UNBOUNDED - Static variable in class com.castlabs.android.SdkConsts
-
Represents an unbounded length of data.
- licenseLoader - Static variable in class com.castlabs.android.PlayerSDK
-
The license loader
- LicenseLoader - Interface in com.castlabs
-
An implementation of this interface is used to fetch the castlabs license file and return its data.
- LicenseServerTimeProvider - Interface in com.castlabs.android.drm
- listener(MultiControllerPlaylist.PlaylistListener) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
- listFiles(File, FileFilter, boolean) - Static method in class com.castlabs.utils.FileHelper
-
List all the files in a given folder.
- live - Variable in class com.castlabs.analytics.AnalyticsMetaData
-
True if the current asset is a live stream
- live - Variable in class com.castlabs.android.player.PlayerConfig
-
Content live or VoD
- live(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets whether this is live content
- LIVE_EDGE_LATENCY_MS_UNINFORMED - Static variable in class com.castlabs.android.SdkConsts
-
Indicates that live edge latency has not been informed
- liveConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
-
The Live configuration
- liveConfiguration(LiveConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
LiveConfiguration
- LiveConfiguration - Class in com.castlabs.android.player
-
Configuration object that groups all relevant parameters related to live streaming.
- LiveConfiguration() - Constructor for class com.castlabs.android.player.LiveConfiguration
-
Create a new live configuration using the default values
- LiveConfiguration(CustomUtcTimingElement, int, int, float, boolean, CatchupConfiguration, long, boolean, long, long, int, boolean) - Constructor for class com.castlabs.android.player.LiveConfiguration
-
Create a new live configuration
- LiveConfiguration.Builder - Class in com.castlabs.android.player
- liveEdgeLatencyMs - Variable in class com.castlabs.android.player.LiveConfiguration
-
Defines the number of milliseconds that the playback should lag behind the "live edge" (i.e.
- liveEdgeLatencyMs - Variable in class com.castlabs.android.player.LowLatencyProfile
-
Will override
LiveConfiguration.liveEdgeLatencyMs
- liveEdgeLatencyMs(int) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Defines the number of milliseconds that the playback should lag behind the "live edge" (i.e.
- liveEdgeLatencyMs(int) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
-
Defines the number of milliseconds that the playback should lag behind the "live edge"
- load() - Static method in class com.castlabs.android.player.CLLibraryLoader
-
Call this method to load the registered native libraries and execute the post load actions.
- load() - Method in class com.castlabs.android.player.DrmLicenseLoader
-
Triggers an asynchronous license loading.
- load(DrmInitData, DrmInitData) - Method in interface com.castlabs.android.drm.DrmLicenseManager
-
Pass in video and audio init data and trigger a license load.
- load(String) - Static method in class com.castlabs.android.downloader.DownloadInfo
-
Takes a path to a Manifest and checks if next to the manifest file, a download info file exists.
- load(String) - Method in interface com.castlabs.android.player.PlaybackStateStorage
-
Loads and returns the playback state for the given given url.
- LoadControlListener - Interface in com.castlabs.android.player
-
Interface definition for a callback to be notified of
CastlabsLoadControl
events. - loadImage(String, ImageView, int) - Method in class com.castlabs.android.utils.LazyImageLoader
-
Asynchronously download the image from the given image URL and display the resulting bitmap on the corresponding
ImageView
. - loadImage(String, String, ImageView, int) - Method in class com.castlabs.android.utils.LazyImageLoader
-
Asynchronously download the image from the given image URL and display the resulting bitmap on the corresponding
ImageView
. - log() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Logs this exception using its severity to choose the log level
- log(String, String) - Static method in class com.castlabs.analytics.Crashlog
-
Adds a log line to the crash context
- log(String, String) - Method in interface com.castlabs.analytics.CrashReporter
-
Adds a log line to the crash context
- logTransferInfo(boolean) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
- loop(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Sets the
loop
flag - lowerTimeThresholdMs - Variable in class com.castlabs.android.player.CatchupConfiguration
-
Threshold relative to the
CatchupConfiguration.timeReference
which indicates the end or destination of the Catchup. - LowLatencyProfile - Class in com.castlabs.android.player
-
Profile that groups all the relevant parameters related to low latency live streaming.
- LowLatencyProfile() - Constructor for class com.castlabs.android.player.LowLatencyProfile
-
Create a new low latency profile with the default params
- LowLatencyProfile(CustomUtcTimingElement, int, int, float, boolean, int, int) - Constructor for class com.castlabs.android.player.LowLatencyProfile
-
Create a low latency profile
- LowLatencyProfile.Builder - Class in com.castlabs.android.player
- lowMediaTime(int, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
Time in milliseconds that will be used by the buffer controls to determine if the buffer needs to be filled.
- lowMediaTimeMs - Variable in class com.castlabs.android.player.BufferConfiguration
-
Time in milliseconds that will be used by the buffer controls to determine if the buffer needs to be filled.
M
- manifest - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
- manifestConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The connection timeout in milliseconds for manifest requests
- manifestConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the connection timeout for manifest requests
- ManifestLicenseLoader - Class in com.castlabs
-
Implementation of the
LicenseLoader
that will return license data from the Manifest meta-data. - ManifestLicenseLoader(Context) - Constructor for class com.castlabs.ManifestLicenseLoader
- manifestModifier(ManifestModifier) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Add a
ManifestModifier
to optionally trim tracks out of it. - ManifestModifier<T> - Interface in com.castlabs.android.player
-
Allows to modify a manifest before it's used for extracting track info.
- manifestReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The read timeout in milliseconds for manifest requests
- manifestReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the read timeout for manifest requests
- manifestRetryConfiguration - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The
RetryConfiguration
for manifest requests that will be to determine how often to retry after loading errors - manifestRetryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the retry configuration used for manifests
- manifestUrl - Variable in class com.castlabs.android.player.ExternalSourceSelector.SourceData
- mapISO6392BtoISO6392T(String) - Static method in class com.castlabs.utils.LanguageUtils
-
Locale supports only ISO 639-2/T and not ISO 639-2/B thus failing for languages whose two codes differ, e.g.
- MATCH_LONGEST_US - Static variable in class com.castlabs.android.SdkConsts
-
Represents a microsecond duration whose exact value is unknown, but which should match the longest of some other known durations.
- matchesFormat(Format) - Method in class com.castlabs.android.player.models.VideoTrackQuality
-
Returns true if this quality matches the given formats width, height, frameRate, codecs, bitrate, max playout rate and mimetype
- maxAttempts - Variable in class com.castlabs.android.network.RetryConfiguration
-
The maximum number of requests before the request will fail.
- maxAttempts(int) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
-
Sets the number of total attempts permitted by the configuration.
- maxBitrate - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Max bitrate of the rendition in bits per second In case rendition's bitrate is not specified in the manifest then the filtering is not enabled
- maxBitrate(long) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
maxBitrate
and returns a reference to this Builder so that the methods can be chained together. - maxDelayMs - Variable in class com.castlabs.android.network.RetryConfiguration
-
The upper bound for delays.
- maxDelayMs(long) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
-
Sets the maximum delay permitted by the configuration
- maxDuration - Variable in class com.castlabs.android.adverts.AdPodData
-
Returns the maximum duration of the pod in seconds.
- maxDurationForQualityDecrease(long, TimeUnit) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
The maximum amount of data that is expected to be buffered before a quality decrease is permitted.
- maxDurationForQualityDecreaseUs - Variable in class com.castlabs.android.player.AbrConfiguration
-
The maximum amount of data that is expected to be buffered before a quality decrease is permitted.
- maxFramerate - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Max framerate of the rendition In case rendition's framerate is not specified in the manifest then the filtering is not enabled
- maxFramerate(float) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
maxFramerate
and returns a reference to this Builder so that the methods can be chained together. - maxHeight - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Max height of the rendition in pixels, ignored if
VideoFilterConfiguration.enableViewportFilter
is set. - maxHeight(int) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
maxHeight
and returns a reference to this Builder so that the methods can be chained together. - maxInitialBitrate - Variable in class com.castlabs.android.player.AbrConfiguration
-
The bandwidth estimation in bits per second that is used when the bandwidth estimator reports that it can not estimate due to lack of information.
- maxInitialBitrate(long) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
The bandwidth estimation in bits per second that is used when the bandwidth estimator reports that it can not estimate due to lack of information.
- maxPixel - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Max number of pixels (width * height) of the rendition In case rendition's resolution is not specified in the manifest then the filtering is not enabled
- maxPixel(long) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
maxPixel
and returns a reference to this Builder so that the methods can be chained together. - maxSeekFps - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
Maximum amount of frames per second to show during
seek
mode. - maxSeekFps(double) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.maxSeekFps
and returns a reference to this Builder so that the methods can be chained together. - maxTrackBitrate - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
Defines the maximum bitrate for Trickplay track selection, if
TrickplayConfiguration.preferTrickPlayTracks
is set to true. - maxTrackBitrate(int) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.maxTrackBitrate
and returns a reference to this Builder so that the methods can be chained together. - maxWidth - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Max width of the rendition in pixels, ignored if
VideoFilterConfiguration.enableViewportFilter
is set. - maxWidth(int) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
maxWidth
and returns a reference to this Builder so that the methods can be chained together. - maybeWrapMediaSource(MediaSource, PlayerConfig) - Method in interface com.castlabs.android.adverts.AdLoader
- maybeWrapMediaSource(MediaSource, PlayerConfig) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- md5(String) - Static method in class com.castlabs.utils.HashUtils
-
Takes a string and returns the HEX representation of the MD5 sum for the given string.
- measureSize(int, int) - Method in class com.castlabs.android.player.PlayerView
- MEDIA_END - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.TimeReference
-
Wil use the media end as the time reference.
- MediaCodecInfo - Class in com.castlabs.android.player
-
Container class holding the media codec name associated with the mimetype
- MediaCodecInfo(String, String) - Constructor for class com.castlabs.android.player.MediaCodecInfo
-
Creates the container class.
- mediaCodecInfos(ArrayList<MediaCodecInfo>) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the preferred codecs for specified mimetypes.
- mediaDrmProperties - Variable in class com.castlabs.android.drm.DrmConfiguration
-
This bundle contains key-value pairs as the properties of Widevine mediaDrm.
- mediaDrmProperties(Bundle) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Sets the mediaDrmProperties bundle
- MediaTrackEventListener - Interface in com.castlabs.android.player
- mediaTypeToString(int) - Static method in class com.castlabs.android.SdkConsts
-
Utility method that translates a media type to a string
- MemoryHlsClearKeyCache - Class in com.castlabs.android.player
-
Cache for
Drm.Clearkey
which stores keys in memory. - MemoryHlsClearKeyCache() - Constructor for class com.castlabs.android.player.MemoryHlsClearKeyCache
-
Create an empty cache with a size of
MemoryHlsClearKeyCache.DEFAULT_CACHE_SIZE
- MemoryHlsClearKeyCache(int, Map<Uri, byte[]>) - Constructor for class com.castlabs.android.player.MemoryHlsClearKeyCache
-
Creates a cache with a size of maxCacheSize and pre-filled with the provided Map.
- MemoryHlsClearKeyCache(Map<Uri, byte[]>) - Constructor for class com.castlabs.android.player.MemoryHlsClearKeyCache
-
Create a cache with a size of
MemoryHlsClearKeyCache.DEFAULT_CACHE_SIZE
and pre-filled with the provided Map. - MemoryKeyStore - Class in com.castlabs.android.drm
-
Simple implementation of
KeyStore
that stores all keys in memory. - MemoryKeyStore() - Constructor for class com.castlabs.android.drm.MemoryKeyStore
- merchant - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
The merchant
- MERGE_VIDEO_TRACKS - Static variable in class com.castlabs.android.PlayerSDK
-
Global parameter to enable or disable the video merging option, default is
true
- mergeVideoTracks - Variable in class com.castlabs.android.player.PlayerConfig
-
If True, the video tracks will be merged into a single video track
- mergeVideoTracks(boolean) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Explicitly set the merge video tracks flag.
- mergeVideoTracks(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets whether to merge video tracks
- messageData(byte[]) - Method in class com.castlabs.android.player.models.EventMessage.Builder
-
The body of the message.
- metaData - Variable in class com.castlabs.android.player.PlayerConfig
-
Optional metadata
- metaData(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the Bundle metadata
- METADATA_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
-
Identifies the metadata renderers for HLS ID3 metadata
- MetadataListener - Interface in com.castlabs.android.player
-
You can use this listener to get callbacks about timed Meta-Data attached to a stream.
- method - Variable in class com.castlabs.android.player.AbrConfiguration
-
The ABR method
- method(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
Select the underlying ABR method as one of
AbrConfiguration.METHOD_COMMON_NBA
,AbrConfiguration.METHOD_EXO
,AbrConfiguration.METHOD_ITERATE
, orAbrConfiguration.METHOD_FLIP
. - METHOD_COMMON_NBA - Static variable in class com.castlabs.android.player.AbrConfiguration
-
Common across platforms implementation of network based adaptation
- METHOD_EXO - Static variable in class com.castlabs.android.player.AbrConfiguration
-
Exo implementation of network based adaptation
- METHOD_FLIP - Static variable in class com.castlabs.android.player.AbrConfiguration
-
Flip between lowest and highest quality (FOR DEBUGGING)
- METHOD_ITERATE - Static variable in class com.castlabs.android.player.AbrConfiguration
-
Iterate through renditions (FOR DEBUGGING)
- migratePlayerListeners(PlayerController, PlayerController) - Static method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Deprecated.
- MIME_TYPE_CEA608 - Static variable in class com.castlabs.android.SdkConsts
-
Mime type for CEA608
- MIME_TYPE_DVBSUBS - Static variable in class com.castlabs.android.SdkConsts
-
Mime type for DVB subtitles
- MIME_TYPE_DVBTTX - Static variable in class com.castlabs.android.SdkConsts
-
Mime type for DVB Teletext
- MIME_TYPE_JPEG - Static variable in class com.castlabs.android.SdkConsts
-
Mime type for Dash embedded thumbnails
- MIME_TYPE_MP4_VTT - Static variable in class com.castlabs.android.SdkConsts
-
Mime type for MP4 embedded VTT
- MIME_TYPE_SRT - Static variable in class com.castlabs.android.SdkConsts
-
Mime type for SRT
- MIME_TYPE_TTML - Static variable in class com.castlabs.android.SdkConsts
-
Mime type for TTML
- MIME_TYPE_VTT - Static variable in class com.castlabs.android.SdkConsts
-
Mime type for VTT
- mimeType - Variable in class com.castlabs.android.player.MediaCodecInfo
- mimeType - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
The MIME type of the track.
- mimeType(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.Builder
-
Set the mime type
- minBitrate - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Min bitrate of the rendition in bits per second In case rendition's bitrate is not specified in the manifest then the filtering is not enabled
- minBitrate(long) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
minBitrate
and returns a reference to this Builder so that the methods can be chained together. - minDegradationSamples - Variable in class com.castlabs.android.player.AbrConfiguration
-
The minium number of segments observed before buffer degradation detection is permitted.
- minDegradationSamples(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
- minDurationForQualityIncrease(long, TimeUnit) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
The minimum amount of that data is expected to be buffered before a quality increase is permitted.
- minDurationForQualityIncreaseUs - Variable in class com.castlabs.android.player.AbrConfiguration
-
The minimum amount of that data is expected to be buffered before a quality increase is permitted.
- minDurationToRetainAfterDiscard(long, TimeUnit) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
The minimum duration of the buffer to retain after discarding the segments when switching to significantly higher quality (i.e.
- minDurationToRetainAfterDiscardUs - Variable in class com.castlabs.android.player.AbrConfiguration
-
Duration of the buffer to retain after discarding chunks e.g.
- minFramerate - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Min framerate of the rendition In case rendition's framerate is not specified in the manifest then the filtering is not enabled
- minFramerate(float) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
minFramerate
and returns a reference to this Builder so that the methods can be chained together. - minHeight - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Min height of the rendition in pixels In case rendition's height is not specified in the manifest then the filtering is not enabled
- minHeight(int) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
minHeight
and returns a reference to this Builder so that the methods can be chained together. - minManifestUpdatePeriodMs - Variable in class com.castlabs.android.player.LiveConfiguration
-
By default the manifest update period is defined by the manifest.
- minManifestUpdatePeriodMs(long) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Set a forced manifest update period for DASH Manifests and ignore the default value specified in the manifest.
- minPixel - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Min number of pixels (width * height) of the rendition In case rendition's resolution is not specified in the manifest then the filtering is not enabled
- minPixel(long) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
minPixel
and returns a reference to this Builder so that the methods can be chained together. - minPlaybackStart(int, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
The minimum duration of data that must be buffered for playback to start or resume following a user action such as a seek.
- minPlaybackStartMs - Variable in class com.castlabs.android.player.BufferConfiguration
-
The minimum duration of data that must be buffered for playback to start or resume following a user action such as a seek.
- minPlaybackStartMs - Variable in class com.castlabs.android.player.LowLatencyProfile
-
Will override
BufferConfiguration.minPlaybackStartMs
- minPlaybackStartMs(int) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
-
The minimum duration of data that must be buffered for playback to start or resume following a user action such as a seek
- minRebufferStart(int, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
The minimum duration of data that must be buffered for playback to resume after a player invoked rebuffer (i.e.
- minRebufferStartMs - Variable in class com.castlabs.android.player.BufferConfiguration
-
The minimum duration of data that must be buffered for playback to resume after a player invoked rebuffer (i.e.
- minRebufferStartMs - Variable in class com.castlabs.android.player.LowLatencyProfile
-
Will override
BufferConfiguration.minRebufferStartMs
- minRebufferStartMs(int) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
-
The minimum duration of data that must be buffered for playback to resume after a player invoked rebuffer
- minSampledBytes - Variable in class com.castlabs.android.player.AbrConfiguration
-
The min number of totally transferred bytes before the ABR calculations are considered reliable, applicable to
AbrConfiguration.METHOD_COMMON_NBA
- minSampledBytes(long) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
Set the
AbrConfiguration.minSampledBytes
- minWidth - Variable in class com.castlabs.android.player.VideoFilterConfiguration
-
Min width of the rendition in pixels
- minWidth(int) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
-
Sets the
minWidth
and returns a reference to this Builder so that the methods can be chained together. - ModelSelection() - Constructor for class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
- ModifierDataSourceFactory - Class in com.castlabs.android.network
-
Delegating data source factory that will trigger all
RequestModifier
s registered with the player controller. - ModifierDataSourceFactory(DataSourceFactory, int, List<RequestModifier>, List<ResponseModifier>) - Constructor for class com.castlabs.android.network.ModifierDataSourceFactory
-
Create a new instance of this data source factory
- ModifierDataSourceFactory(DataSourceFactory, int, List<RequestModifier>, List<ResponseModifier>, NetworkConfiguration) - Constructor for class com.castlabs.android.network.ModifierDataSourceFactory
-
Create a new instance of this data source factory
- movePlayerListeners(PlayerController) - Method in class com.castlabs.android.player.PlayerController
-
Migrates all the listeners from this PlayerController to the given one.
- MPDParser - Class in com.castlabs.android.player
-
Extends the default ExoPlayer DASH Manifest parsers.
- MPDParser(boolean, boolean) - Constructor for class com.castlabs.android.player.MPDParser
- MPDParser(boolean, boolean, long, long) - Constructor for class com.castlabs.android.player.MPDParser
- MPDParser(boolean, boolean, long, long, long) - Constructor for class com.castlabs.android.player.MPDParser
- ms2s(long) - Static method in class com.castlabs.utils.TimeUtils
-
Converts Milliseconds to Seconds
- ms2us(long) - Static method in class com.castlabs.utils.TimeUtils
-
Converts Milliseconds to Microseconds
- MSG_MANIFEST_LOADING_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Message reported by exceptions of type
CastlabsPlayerException.TYPE_MANIFEST_LOADING_FAILED
- MSG_VIDEO_DECODER_INITIALIZATION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Message reported by exceptions of type
CastlabsPlayerException.TYPE_VIDEO_DECODER_INITIALIZATION
- MultiControllerPlaylist - Class in com.castlabs.android.player.playlist
-
Playlist management.
- MultiControllerPlaylist(Context, MultiControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Deprecated.Use the
Builder
. - MultiControllerPlaylist(PlayerView, MultiControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Deprecated.Use the
Builder
. - MultiControllerPlaylist.AbstractPlaylistListener - Class in com.castlabs.android.player.playlist
-
Abstract implementation of the
MultiControllerPlaylist.PlaylistListener
. - MultiControllerPlaylist.Builder - Class in com.castlabs.android.player.playlist
-
Builder for
MultiControllerPlaylist
- MultiControllerPlaylist.ItemChangeFlags - Annotation Type in com.castlabs.android.player.playlist
- MultiControllerPlaylist.PlaylistListener - Interface in com.castlabs.android.player.playlist
-
Playlist-related events listener.
- MutableVideoTrack - Class in com.castlabs.android.player.models
- MutableVideoTrack() - Constructor for class com.castlabs.android.player.models.MutableVideoTrack
- MutableVideoTrack(long) - Constructor for class com.castlabs.android.player.models.MutableVideoTrack
N
- networkConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
-
The network configuration
- networkConfiguration(NetworkConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
NetworkConfiguration
- NetworkConfiguration - Class in com.castlabs.android.network
- NetworkConfiguration() - Constructor for class com.castlabs.android.network.NetworkConfiguration
- NetworkConfiguration.Builder - Class in com.castlabs.android.network
- newInstance(UUID) - Static method in class com.castlabs.android.drm.CastlabsMediaDrm
- nextItem() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Advances playback to the next Playlist item.
- nextItem() - Method in interface com.castlabs.android.player.Playlist
-
Advances playback to the next Playlist item.
- nextItem() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- nextItemThresholdMs(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Sets the
nextItemThreshold
in milliseconds. - NO_AUDIO_CODEC - Enum constant in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
- NO_VIDEO_CODEC - Enum constant in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
- none() - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
-
Configure the none catchup mode
- NONE - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.Type
-
Do nothing.
- NotFound - Enum constant in enum com.castlabs.android.drm.KeyStatus
-
Key response is received but the key was not found and therefore not-usable for playback
- notifyManifestIntervalMs - Variable in class com.castlabs.android.player.LiveConfiguration
-
Sets the manifest notify interval in milliseconds.
- notifyManifestIntervalMs(int) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Set the manifest notify interval in milliseconds.
- notNull(Object) - Static method in class com.castlabs.utils.Validate
-
Validate that the specified argument is not
null
; otherwise throwing an exception. - notNull(Object, String) - Static method in class com.castlabs.utils.Validate
-
Validate that the specified argument is not
null
; otherwise throwing an exception with the specified message. - ns2ms(long) - Static method in class com.castlabs.utils.TimeUtils
-
Converts Nanoseconds to Milliseconds
- numberOfPresentationDisplays - Variable in class com.castlabs.android.player.DisplayInfo
-
The number of presentation displays.
- numberOfTotalDisplays - Variable in class com.castlabs.android.player.DisplayInfo
-
The total number of displays
O
- offlineId - Variable in class com.castlabs.android.drm.DrmConfiguration
-
This is used to identify this DRM Configuration and its asset when storing offline keys.
- offlineId(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Set the ID that will be used to store the offline key for this DRM configuration.
- Oma - Enum constant in enum com.castlabs.android.drm.Drm
-
Select OMA drm
- omaActivationServerUrl(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Set a dedicated Activation Server URL for OMA when using DRMtoday mobile.
- onAdClicked(String) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
-
Fired when the ad is clicked
- onAdCompleted() - Method in interface com.castlabs.android.adverts.AdInterface.Listener
-
This callback is fired right after the Ad playback has finished.
- onAdError(Ad, CastlabsPlayerException) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
-
This callback is fired if there is an error on loading or during the Ad playback.
- onAdPaused() - Method in interface com.castlabs.android.adverts.AdInterface.Listener
-
Fired when playback is paused while playing an ad
- onAdPlaybackPositionChanged(long) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
-
Event triggered when the Ad playback position changed.
- onAdResumed(Ad) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
-
Fired when playback is paused while playing an ad
- onAdSkipped() - Method in interface com.castlabs.android.adverts.AdInterface.Listener
-
This callback is fired if the user skip the Ad
- onAdStarted(Ad) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
-
This callback is fired right before the Ad is about to start playing.
- onAdWillStart(Ad) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
-
This callback is fired when the Ad begins loading.
- onAudioCapabilitiesChanged(AudioCapabilities) - Method in class com.castlabs.android.player.AudioCapabilitiesManager
- onAudioDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
- onAudioDecoderInitialized(String, long, long) - Method in interface com.castlabs.android.player.AudioRendererListener
-
Called when a decoder is created.
- onAudioDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.AudioTrackListener
- onAudioDisabled(DecoderCounters) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
- onAudioDisabled(DecoderCounters) - Method in interface com.castlabs.android.player.AudioRendererListener
-
Called when the renderer is disabled.
- onAudioDisabled(DecoderCounters) - Method in class com.castlabs.android.player.AudioTrackListener
- onAudioEnabled(DecoderCounters) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
- onAudioEnabled(DecoderCounters) - Method in interface com.castlabs.android.player.AudioRendererListener
-
Called when the renderer is enabled.
- onAudioEnabled(DecoderCounters) - Method in class com.castlabs.android.player.AudioTrackListener
- onAudioFormatChange(Format, int, long) - Method in interface com.castlabs.android.player.FormatChangeListener
-
Invoked when the downstream audio format changed.
- onAudioInputFormatChanged(Format) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
- onAudioInputFormatChanged(Format) - Method in interface com.castlabs.android.player.AudioRendererListener
-
Called when the format of the media being consumed by the renderer changes.
- onAudioInputFormatChanged(Format) - Method in class com.castlabs.android.player.AudioTrackListener
- onAudioSessionId(int) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
- onAudioSessionId(int) - Method in interface com.castlabs.android.player.AudioRendererListener
-
Called when the audio session is set.
- onAudioSessionId(int) - Method in class com.castlabs.android.player.AudioTrackListener
- onAudioSinkUnderrun(int, long, long) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
- onAudioSinkUnderrun(int, long, long) - Method in interface com.castlabs.android.player.AudioRendererListener
-
Called when an
AudioSink
underrun occurs. - onAudioSinkUnderrun(int, long, long) - Method in class com.castlabs.android.player.AudioTrackListener
- onAudioTrackChanged(AudioTrack) - Method in interface com.castlabs.android.player.TrackSelectionListener
-
Called when the selected audio track changes.
- onAudioTrackConfigurationError(AudioSink.ConfigurationException) - Method in class com.castlabs.android.player.AudioTrackListener
- onAudioTrackInitializationError(AudioSink.InitializationException) - Method in class com.castlabs.android.player.AudioTrackListener
- onAudioTracks(Collection<AudioTrack>) - Method in class com.castlabs.android.player.filter.AbstractPlayerModelFilter
- onAudioTracks(Collection<AudioTrack>) - Method in interface com.castlabs.android.player.filter.PlayerModelFilter
-
Apply custom filter logic on AudioTracks.
- onAudioTrackWriteError(AudioSink.WriteException) - Method in class com.castlabs.android.player.AudioTrackListener
- onBeforeRelease(boolean) - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
- onBeforeRelease(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onBind(Intent) - Method in class com.castlabs.android.player.PlayerService
- onBytesTransferred(DataSource, DataSpec, boolean, int) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
- onCatchupEnded() - Method in class com.castlabs.android.player.AbstractCatchupListener
-
Catchup has ended.
- onCatchupEnded() - Method in interface com.castlabs.android.player.CatchupListener
-
Catchup has ended.
- onCatchupSeek(CatchupConfiguration.Type) - Method in class com.castlabs.android.player.AbstractCatchupListener
-
A seek operation was triggered.
- onCatchupSeek(CatchupConfiguration.Type) - Method in interface com.castlabs.android.player.CatchupListener
-
A seek operation was triggered.
- onCatchupStarted(float) - Method in class com.castlabs.android.player.AbstractCatchupListener
-
Catchup has started.
- onCatchupStarted(float) - Method in interface com.castlabs.android.player.CatchupListener
-
Catchup has started.
- onComponentError(DrmLicenseManagerComponent, Exception) - Method in interface com.castlabs.android.drm.DrmLicenseManager
-
Called when a
DrmLicenseManagerComponent
tiggers an error - onComponentViewsChanged(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.ComponentViewListener
-
Called whenever the list of ComponentViews in the
PlayerController
has changed. - onComponentViewsChanged(PlayerController) - Method in class com.castlabs.android.player.VisualComponentProxy
- onControllerCreate(PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
- onControllerCreate(PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
-
Called when a
PlayerController
is created. - onControllerDestroy(PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
- onControllerDestroy(PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
-
Player controller is destroyed.
- onControllerError(PlayerController, CastlabsPlayerException, PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
- onControllerError(PlayerController, CastlabsPlayerException, PlayerConfig) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
-
Called if a
PlayerController
fires an error. - onControllerLoad(PlayerConfig, PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
- onControllerLoad(PlayerConfig, PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
-
Called right before starting to load an item into the given
PlayerController
. - onControllerRelease(PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
- onControllerRelease(PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
-
Player controller is released.
- onCreate() - Method in class com.castlabs.android.player.PlayerService
- onCryptoError(MediaCodec.CryptoException) - Method in class com.castlabs.android.player.AudioTrackListener
- onCryptoError(MediaCodec.CryptoException) - Method in interface com.castlabs.android.player.MediaTrackEventListener
-
Invoked when a decoder operation raises a
DecryptionException
. - onCryptoError(MediaCodec.CryptoException) - Method in class com.castlabs.android.player.VideoTrackListener
- onCueEnd(EventMessage) - Method in interface com.castlabs.android.player.EventStreamListener
-
Callback method that will be triggered on cue-end
- onCueStart(EventMessage) - Method in interface com.castlabs.android.player.EventStreamListener
-
Callback method that will be triggered on cue-start
- onCustomDashEvent(CustomDashEventListener.CustomEvent) - Method in interface com.castlabs.android.player.CustomDashEventListener
-
Callback method that will be triggered on custom DASH events
- onDecoderInitializationError(MediaCodecRenderer.DecoderInitializationException) - Method in class com.castlabs.android.player.AudioTrackListener
- onDecoderInitializationError(MediaCodecRenderer.DecoderInitializationException) - Method in interface com.castlabs.android.player.MediaTrackEventListener
-
Invoked when a decoder fails to initialize.
- onDecoderInitializationError(MediaCodecRenderer.DecoderInitializationException) - Method in class com.castlabs.android.player.VideoTrackListener
- onDestroy() - Method in class com.castlabs.android.player.PlayerService
- onDestroy(PlayerController) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- onDestroy(PlayerController) - Method in class com.castlabs.android.player.AbstractPlayerControllerListener
- onDestroy(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerListener
-
Called when the controller is destroyed
- onDestroy(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.Component
-
Called when the controller is destroyed.
- onDestroy(PlayerController) - Method in class com.castlabs.android.player.VisualComponentProxy
- onDisplayChanged(DisplayInfo, boolean) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onDisplayChanged(DisplayInfo, boolean) - Method in interface com.castlabs.android.player.PlayerListener
-
Callback triggered when the underlying screen information changes.
- onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
- onDroppedFrames(int, long) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
- onDroppedFrames(int, long) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onDroppedFrames(int, long) - Method in interface com.castlabs.android.player.VideoRendererListener
-
Called to report the number of frames dropped by the renderer.
- onDroppedFrames(int, long) - Method in class com.castlabs.android.player.VideoTrackListener
- onDurationChanged(long) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onDurationChanged(long) - Method in interface com.castlabs.android.player.PlayerListener
-
Callback triggered when the stream duration has been refreshed.
- onError(ProvisioningManager.ProvisionException) - Method in interface com.castlabs.android.drm.ProvisioningManager.ProvisionedCallback
-
Triggered when the provisioning request failed.
- onError(CastlabsPlayerException) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onError(CastlabsPlayerException) - Method in interface com.castlabs.android.player.DrmLicenseLoader.Callback
-
Called when an error occurs during license loading
- onError(CastlabsPlayerException) - Method in interface com.castlabs.android.player.PlayerListener
-
Error callback that is called when exceptions are raised on background threads.
- onError(CastlabsPlayerException) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onError(Exception) - Method in interface com.castlabs.android.adverts.AdLoader.Listener
-
Called when an error occurs e.g.
- onError(String, Exception) - Method in interface com.castlabs.android.player.ExternalSourceSelector
-
Called when error occurs during manifest or chunk download.
- onEventsUpdated(List<EventStream>, Timeline.Period) - Method in interface com.castlabs.android.player.EventStreamListListener
-
Returns the list of event-streams in the period.
- onExoPlayerStateChanged(boolean, int) - Method in class com.castlabs.analytics.AnalyticsSession
- onExoPlayerStateChanged(boolean, int) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Lets the Analytics Sessions know of any state changes in ExoPlayer.
- onExoPlayerStateChangedInternal(boolean, int) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- onFatalErrorOccurred(CastlabsPlayerException) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onFatalErrorOccurred(CastlabsPlayerException) - Method in interface com.castlabs.android.player.PlayerListener
-
Error callback that is called when a fatal exception is raised on background threads.
- onFatalErrorOccurred(CastlabsPlayerException) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onFullyBuffered() - Method in class com.castlabs.android.player.AbstractPlayerListener
- onFullyBuffered() - Method in interface com.castlabs.android.player.PlayerListener
-
Invoked when all the remaining content has been buffered.
- onFullyBuffered() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onGetMetadata(Ad) - Method in interface com.castlabs.android.adverts.AdClientInterface.Listener
-
Provides bundled Ad metadata.
- onIntent(Intent) - Method in interface com.castlabs.android.player.PlayerService.NotificationHandler
-
Receive notification intent to handle
- onInterstitialResolved(HlsInterstitial, Collection<HlsInterstitial.Asset>) - Method in class com.castlabs.android.player.HlsInterstitialListener
- onInterstitials(Collection<HlsInterstitial>) - Method in class com.castlabs.android.player.HlsInterstitialListener
- onItemChange(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist.AbstractPlaylistListener
- onItemChange(PlayerConfig) - Method in interface com.castlabs.android.player.SingleControllerPlaylist.PlaylistListener
-
Called every time a new item, defined by a
PlayerConfig
starts playing. - onItemChange(PlayerConfig, PlayerController, PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
- onItemChange(PlayerConfig, PlayerController, PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
-
Called every time a new playlist item is about to start.
- onItemLoad(PlayerConfig) - Method in interface com.castlabs.android.player.SingleControllerPlaylist.ItemLoadListener
-
The provided config has been loaded onto the playlist
- onItemUnload(PlayerConfig) - Method in interface com.castlabs.android.player.SingleControllerPlaylist.ItemLoadListener
-
The provided config has been unloaded from the playlist
- onLicenseKeysChanged() - Method in interface com.castlabs.android.drm.DrmEventListener
-
Called when keys are changed e.g.
- onLicenseKeysChanged() - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onLicenseKeysLoaded() - Method in interface com.castlabs.android.drm.DrmEventListener
-
Called when a key was loaded successfully
- onLicenseKeysLoaded() - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onLicenseLoaded() - Method in interface com.castlabs.android.player.DrmLicenseLoader.Callback
-
Called when the license was loaded successfully
- onLicenseLoadError(int, int, DownloadException) - Method in interface com.castlabs.android.drm.DrmEventListener
-
Called when license load error occurred
- onLicenseLoadError(int, int, DownloadException) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onLicenseRemoved() - Method in interface com.castlabs.android.player.DrmLicenseLoader.Callback
-
Called when the license was removed from internal storage successfully
- onLoadCanceled(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
- onLoadCanceled(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
- onLoadCanceled(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>) - Method in interface com.castlabs.android.player.StreamingEventListener
-
Invoked when the current upstream load operation is canceled.
- onLoadCompleted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
- onLoadCompleted(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
- onLoadCompleted(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>) - Method in interface com.castlabs.android.player.StreamingEventListener
-
Invoked when a load operation completes.
- onLoadError(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
- onLoadError(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>, DownloadException) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
- onLoadError(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>, DownloadException) - Method in interface com.castlabs.android.player.StreamingEventListener
-
Invoked when the current upstream load operation fails.
- onLoadingChanged(boolean, long, long, long, boolean, float) - Method in interface com.castlabs.android.player.LoadControlListener
-
Invoked each time the loading result is changed.
- onLoadStarted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
- onLoadStarted(DataSpec, int, int, int, Format, long, long, int, int, Map<String, List<String>>) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
- onLoadStarted(DataSpec, int, int, int, Format, long, long, int, int, Map<String, List<String>>) - Method in interface com.castlabs.android.player.StreamingEventListener
-
Invoked when an upstream load is started.
- onManifest(T) - Method in interface com.castlabs.android.player.ManifestModifier
- onMediaPeriodCreated(int, MediaSource.MediaPeriodId) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
- onMediaPeriodReleased(int, MediaSource.MediaPeriodId) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
- onMediaSource(MediaSource) - Method in interface com.castlabs.android.adverts.AdLoader.Listener
-
Called when media source is successfully created
- onMetadata(List<Metadata.Entry>) - Method in class com.castlabs.android.player.EventMetadataListener
- onMetadata(List<Metadata.Entry>) - Method in interface com.castlabs.android.player.MetadataListener
-
Callback method that will be triggered with newly available meta-data.
- onNoRendererFound(int) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
-
Informs that no active Renderer has been found for the given mediaType.
- onOpenBundle(PlayerController, Bundle) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- onOpenBundle(PlayerController, Bundle) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.Component
-
Called when the player controller is opened with a bundle.
- onOpenBundle(PlayerController, Bundle) - Method in class com.castlabs.android.player.VisualComponentProxy
- onOpenState(PlayerController, PlayerConfig) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- onOpenState(PlayerController, PlayerConfig) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.Component
-
Called when the player controller is opened with a config.
- onOpenState(PlayerController, PlayerConfig) - Method in class com.castlabs.android.player.VisualComponentProxy
- onPeriodChanged(Timeline.Period) - Method in interface com.castlabs.android.player.PeriodChangedListener
-
Invoked whenever the current playing
Timeline.Period
changes - onPeriodChanged(Timeline.Period) - Method in interface com.castlabs.android.player.TimelineListener
-
Deprecated.Called whenever the period being currently played is changed.
- onPlaybackPositionChanged(long) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onPlaybackPositionChanged(long) - Method in interface com.castlabs.android.player.PlayerListener
-
Event triggered when the playback position changed.
- onPlaybackPositionChanged(long) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onPlayerModelChanged() - Method in class com.castlabs.android.player.AbstractPlayerListener
- onPlayerModelChanged() - Method in interface com.castlabs.android.player.PlayerListener
-
Callback triggered when the player model has been changed and the
PlayerController
can now be queried for available and selected video tracks and qualities, audio tracks and subtitle tracks and the duration. - onPlayerStateChanged(boolean, int) - Method in interface com.castlabs.android.adverts.AdLoader
-
Called when the player state is changed
- onPlayerStateChanged(boolean, int) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- onPlaylistEnded() - Method in class com.castlabs.android.player.SingleControllerPlaylist.AbstractPlaylistListener
- onPlaylistEnded() - Method in interface com.castlabs.android.player.SingleControllerPlaylist.PlaylistListener
-
Called when the playlist reaches the end.
- onPlaylistEndReached(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
- onPlaylistEndReached(boolean) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
-
Called whenever the MultiControllerPlaylist has played the last item in the playlist.
- onPositionDiscontinuity(int) - Method in interface com.castlabs.android.adverts.AdLoader
-
Called when the playback discontinuity occurs
- onPositionDiscontinuity(int) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- onPositionFramesMismatch(long, long, long, long) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
- onPositionFramesMismatch(long, long, long, long) - Method in interface com.castlabs.android.player.AudioRendererListener
-
Called when the frame position is too far from the expected frame position.
- onPostDestroy() - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
- onPostDestroy() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onPostLoad() - Method in interface com.castlabs.android.player.CLLibraryLoader.PostLoadAction
-
Method that is called after all libraries are loaded
- onPostRelease(boolean) - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
- onPostRelease(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onPostResume(PlayerController) - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
- onPostResume(PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onPostStart() - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
- onPostStart() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onReadingStarted(int, MediaSource.MediaPeriodId) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
- onRedirect(int, int, URL, URL) - Method in interface com.castlabs.android.network.HttpListener
-
An HTTP redirection (status code 3XX) has occurred.
- onRelease(PlayerController) - Method in class com.castlabs.android.player.AbstractPlayerControllerListener
- onRelease(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerListener
-
Called when the controller is released
- onRemotePlay(Bundle, JSONObject) - Method in class com.castlabs.android.Plugin
-
Invoked whenever starting remote play (ie.
- onRenderedFirstFrame(Surface) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
- onRenderedFirstFrame(Surface) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onRenderedFirstFrame(Surface) - Method in interface com.castlabs.android.player.VideoRendererListener
-
Called when a frame is rendered for the first time since setting the surface, and when a frame is rendered for the first time since the renderer was reset.
- onRenderedFirstFrame(Surface) - Method in class com.castlabs.android.player.VideoTrackListener
- onRendererCapabilitiesChanged(Renderer) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onRequest(Request) - Method in interface com.castlabs.android.network.RequestModifier
-
Called with the current request object.
- onResponse(Response) - Method in interface com.castlabs.android.network.ResponseModifier
-
Called with the current response object.
- onRestart(String, PlayerConfig) - Method in interface com.castlabs.android.player.ExternalSourceSelector
-
Called when the restart is needed for the specified manifest URL.
- onSeekCompleted() - Method in class com.castlabs.android.player.AbstractPlayerListener
- onSeekCompleted() - Method in interface com.castlabs.android.player.PlayerListener
- onSeekRangeChanged(long, long) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onSeekRangeChanged(long, long) - Method in interface com.castlabs.android.player.PlayerListener
-
Event triggered when the seek range changed
- onSeekRangeChanged(long, long) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onSeekTo(long) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onSeekTo(long) - Method in interface com.castlabs.android.player.PlayerListener
-
This callback is invoked when the position of the video playback is actively changed by the
PlayerController
. - onSeekTo(long) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onSelectionActivated(Object) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onSetPosition(long) - Method in interface com.castlabs.android.adverts.AdLoader
-
Called just before the
PlayerController
start seeking or setting a new position. - onSetPosition(long) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- onSpeedChanged(float) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onSpeedChanged(float) - Method in interface com.castlabs.android.player.PlayerListener
-
Callback triggered when the playback speed is changed.
- onStartCommand(Intent, int, int) - Method in class com.castlabs.android.player.PlayerService
- onStateChanged(PlayerController.State) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onStateChanged(PlayerController.State) - Method in interface com.castlabs.android.player.PlayerListener
-
State change event triggered when the player state changed
- onStateChanged(PlayerController.State) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onStyleChange(SubtitlesStyle) - Method in class com.castlabs.android.subtitles.ExoSubtitlesStyleObserver
- onStyleChange(SubtitlesStyle) - Method in interface com.castlabs.android.subtitles.SubtitlesStyleObserver
-
Called when a new style needs to be applied.
- onSubtitleFormatChange(Format, int, long) - Method in interface com.castlabs.android.player.FormatChangeListener
-
Invoked when the downstream subtitle format changed.
- onSubtitleTrackChanged(SubtitleTrack) - Method in interface com.castlabs.android.player.TrackSelectionListener
-
Called when the selected subtitle track changes.
- onSubtitleTracks(Collection<SubtitleTrack>) - Method in class com.castlabs.android.player.filter.AbstractPlayerModelFilter
- onSubtitleTracks(Collection<SubtitleTrack>) - Method in interface com.castlabs.android.player.filter.PlayerModelFilter
-
Apply custom filter logic on SubtitleTracks.
- onSuccess(Object) - Method in interface com.castlabs.android.drm.ProvisioningManager.ProvisionedCallback
-
Triggered when the provisioning request succeeded.
- onSystemStatusCheck(boolean) - Method in interface com.castlabs.android.PlayerSDK.SystemStatusCallback
-
Triggered when an internal system status check is performed.
- onSystemTimeUsMismatch(long, long, long, long) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
- onSystemTimeUsMismatch(long, long, long, long) - Method in interface com.castlabs.android.player.AudioRendererListener
-
Called when the system time associated with the last known audio track timestamp is unexpectedly far from the current time.
- onTimelineChanged(Timeline) - Method in interface com.castlabs.android.player.TimelineChangedListener
- onTimelineChanged(Timeline, Object) - Method in interface com.castlabs.android.player.TimelineListener
-
Deprecated.Called whenever the timeline is changed
- onTrackSelection(ExtendedTrackSelector.ModelSelection) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
-
Track selection was triggered but not activated yet
- onTrackSelectionActivated(ExtendedTrackSelector.ModelSelection) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
-
Track selection has changed
- onTransferEnd(DataSource, DataSpec, boolean) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
- onTransferInitializing(DataSource, DataSpec, boolean) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
- onTransferStart(DataSource, DataSpec, boolean) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
- onTunnelingError(TunnelingException) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
-
Informs that tunneling mode can not be enabled for the current playback
- onUnsupportedContent(int, int) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
-
The indicated mediaType cannot be played with the current configuration and / or on the current device.
- onUpstreamDiscarded(int, long, long) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
- onUpstreamDiscarded(int, long, long) - Method in interface com.castlabs.android.player.StreamingEventListener
-
Invoked when data is removed from the back of the buffer, typically so that it can be re-buffered using a different representation.
- onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
- onVideoBlocklistError(BlocklistException) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
-
Informs that the video quality blacklisting failed
- onVideoDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
- onVideoDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onVideoDecoderInitialized(String, long, long) - Method in interface com.castlabs.android.player.VideoRendererListener
-
Called when a decoder is created.
- onVideoDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.VideoTrackListener
- onVideoDisabled(DecoderCounters) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
- onVideoDisabled(DecoderCounters) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onVideoDisabled(DecoderCounters) - Method in interface com.castlabs.android.player.VideoRendererListener
-
Called when the renderer is disabled.
- onVideoDisabled(DecoderCounters) - Method in class com.castlabs.android.player.VideoTrackListener
- onVideoEnabled(DecoderCounters) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
- onVideoEnabled(DecoderCounters) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onVideoEnabled(DecoderCounters) - Method in interface com.castlabs.android.player.VideoRendererListener
-
Called when the renderer is enabled.
- onVideoEnabled(DecoderCounters) - Method in class com.castlabs.android.player.VideoTrackListener
- onVideoFormatChange(Format, int, long, VideoTrackQuality) - Method in interface com.castlabs.android.player.FormatChangeListener
-
Invoked when the downstream video format changed.
- onVideoInputFormatChanged(Format) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
- onVideoInputFormatChanged(Format) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- onVideoInputFormatChanged(Format) - Method in interface com.castlabs.android.player.VideoRendererListener
-
Called when the format of the media being consumed by the renderer changes.
- onVideoInputFormatChanged(Format) - Method in class com.castlabs.android.player.VideoTrackListener
- onVideoKeyStatusChanged(List<VideoTrackQuality>) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onVideoKeyStatusChanged(List<VideoTrackQuality>) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
-
Video track key status has changed
- onVideoKeyStatusChanged(List<VideoTrackQuality>) - Method in interface com.castlabs.android.player.PlayerListener
-
Callback triggered when video track's DRM-key status is changed
- onVideoQualitySelectionChanged(VideoTrackQuality, int, String, long, long) - Method in interface com.castlabs.android.player.TrackSelectionListener
-
Called each time when starting to load a new media chunk.
- onVideoSizeChanged(int, int, float) - Method in class com.castlabs.android.player.AbstractPlayerListener
- onVideoSizeChanged(int, int, float) - Method in interface com.castlabs.android.player.PlayerListener
-
Invoked each time there's a change in the size of the video being rendered.
- onVideoSizeChanged(int, int, float) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- onVideoSizeChanged(int, int, int, float) - Method in class com.castlabs.android.player.VideoTrackListener
- onVideoTrackChanged(VideoTrack) - Method in interface com.castlabs.android.player.TrackSelectionListener
-
Called when the selected video track changes.
- onVideoTracks(Collection<MutableVideoTrack>) - Method in class com.castlabs.android.player.filter.AbstractPlayerModelFilter
- onVideoTracks(Collection<MutableVideoTrack>) - Method in interface com.castlabs.android.player.filter.PlayerModelFilter
-
Apply custom filter logic on VideoTracks.
- open(int, Parcelable...) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- open(int, Parcelable...) - Method in interface com.castlabs.android.player.Playlist
-
Start playback with the specified index and with an Array of
PlayerConfigs
orBundles
. - open(int, Parcelable...) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- open(int, List<? extends Parcelable>) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- open(int, List<? extends Parcelable>) - Method in interface com.castlabs.android.player.Playlist
-
Start playback with the specified index and player configs
- open(int, List<? extends Parcelable>) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- open(Bundle) - Method in class com.castlabs.android.player.PlayerController
-
This method takes a
Bundle
and extracts the information to create aPlayerConfig
from the bundle. - open(Bundle) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- open(Bundle...) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Starts playback with an Array of Bundles.
- open(Parcelable...) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- open(Parcelable...) - Method in interface com.castlabs.android.player.Playlist
-
Starts playback with an Array of
PlayerConfigs
orBundles
. - open(Parcelable...) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- open(PlayerConfig) - Method in class com.castlabs.android.player.PlayerController
-
Opens the given URL to the video.
- open(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- open(PlayerConfig...) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Starts playback with an Array of
PlayerConfigs
. - open(DataSpec) - Method in class com.castlabs.android.downloader.ZipDataSource
- open(DataSpec) - Method in class com.castlabs.android.network.ExtendedDataSource
- open(List<? extends Parcelable>) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- open(List<? extends Parcelable>) - Method in interface com.castlabs.android.player.Playlist
-
Starts playback with a List of
PlayerConfigs
orBundles
. - open(List<? extends Parcelable>) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- OPEN_SESSION_FAILED - Static variable in exception class com.castlabs.android.drm.CastlabsMediaDrm.CastlabsMediaDrmException
- openSession() - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- openState(Bundle) - Method in class com.castlabs.android.player.PlayerController
-
Opens the {link PlayerController} with the given
Bundle
which is the saved state obtained withPlayerController.saveState(Bundle)
- openState(Bundle) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- Other - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
- OTHER - Static variable in class com.castlabs.android.SdkConsts
-
Identifies the other content, i.e.
- OutputNotAllowed - Enum constant in enum com.castlabs.android.drm.KeyStatus
-
Key response is received but the key can not be used due to digital output protection settings
P
- ParameterNotSetException - Exception Class in com.castlabs.android.player.exceptions
- ParameterNotSetException() - Constructor for exception class com.castlabs.android.player.exceptions.ParameterNotSetException
- parent(Uri) - Static method in class com.castlabs.utils.UriUtils
-
Get the parent of the given Uri by walking up the path segments one element.
- parse(Uri, InputStream) - Method in class com.castlabs.android.player.MPDParser
- parseServerDate(String) - Static method in class com.castlabs.android.utils.DateUtils
-
Parses a server-formatted Date String and returns the equivalent time
- pause - Variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration
-
Whether to start the player in a paused state when
PlayerViewLifecycleDelegate.resume()
is called. - pause() - Method in class com.castlabs.android.player.PlayerController
-
Stop player
- pause(boolean) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
-
Whether to start the player in a paused state.
- Pause - Enum constant in enum com.castlabs.android.player.CustomDashEventListener.EventType
- PAUSE_ON_HDMI_DISCONNECTED - Static variable in class com.castlabs.android.PlayerSDK
-
Default global value to enable or disable automatic playback pausing when HDMI is disconnected.
- pauseOnHdmiDisconnected - Variable in class com.castlabs.android.player.PlayerConfig
-
Enable or disable automatic pausing on HDMI disconnected
- pauseOnHdmiDisconnected(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Enable or disable automatic playback pause on HDMI disconnect Only for API higher or equal to 21
- Pausing - Enum constant in enum com.castlabs.android.player.PlayerController.State
-
The player is prepared and has enough data to start playback immediately but is currently paused
- percentile - Variable in class com.castlabs.android.player.AbrConfiguration
-
The percentile, applicable to
AbrConfiguration.METHOD_COMMON_NBA
- percentile(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
Set the
AbrConfiguration.percentile
- percentileWeight - Variable in class com.castlabs.android.player.AbrConfiguration
-
The weight used for the sliding percentile bandwidth estimator
- percentileWeight(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
Set the weight used for the sliding percentile bandwidth estimator
- Period(List<VideoTrack>, List<AudioTrack>, List<SubtitleTrack>, List<DashDescriptor>, List<EventStream>, Object, int, long, long) - Constructor for class com.castlabs.android.player.models.Timeline.Period
- PeriodChangedListener - Interface in com.castlabs.android.player
-
PeriodChangedListener
- PeriodInfo(boolean) - Constructor for class com.castlabs.android.player.PeriodInfoProvider.PeriodInfo
-
Constructs the
PeriodInfoProvider.PeriodInfo
- PeriodInfoProvider - Interface in com.castlabs.android.player
-
Implementations of this interface allows to get additional information on the period being played.
- PeriodInfoProvider.PeriodInfo - Class in com.castlabs.android.player
- play() - Method in class com.castlabs.android.player.PlayerController
-
Start player
- PLAYBACK_HD_CONTENT - Static variable in class com.castlabs.android.PlayerSDK
-
The default setting for HD content filter.
- PLAYBACK_POSITION_PERIOD_MS - Static variable in class com.castlabs.android.PlayerSDK
-
Interval in ms used to post playback position updates Default is
1000L
- playBackground(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Sets the flag indicating whether or not to immediately start playing the background PlayerControllers.
- PlaybackStateStorage - Interface in com.castlabs.android.player
-
Implementations of this interface offer the basic infrastructure to load and save instances of
PlayerConfig
- playClearSamplesWithoutKeys - Variable in class com.castlabs.android.drm.DrmConfiguration
-
If true, clear samples will be played while the key is fetched
- playClearSamplesWithoutKeys(boolean) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
If enabled and the stream contains clean samples at the beginning, the player will start playing while fetching the license key in background.
- PLAYER_NAME - Static variable in class com.castlabs.android.SdkConsts
-
Player name
- PLAYER_RELEASE_TIMEOUT_MS - Static variable in class com.castlabs.android.PlayerSDK
-
Timeout in milliseconds to release the underlying Player.
- PLAYER_TYPE - Static variable in class com.castlabs.android.SdkConsts
-
Represents the player type.
- PlayerConfig - Class in com.castlabs.android.player
-
Object which represents a specific Player configuration.
- PlayerConfig.Builder - Class in com.castlabs.android.player
-
A Builder for
PlayerConfig
. - PlayerController - Class in com.castlabs.android.player
-
This class allows you to control and manage the video player instance and receive feedback during playback.
- PlayerController(Context) - Constructor for class com.castlabs.android.player.PlayerController
-
Create a new player controller using the given context
- PlayerController.ExperimentalApi - Class in com.castlabs.android.player
- PlayerController.State - Enum in com.castlabs.android.player
-
Represents states of the player backend.
- PlayerController.TrackType - Annotation Type in com.castlabs.android.player
- PlayerControllerListener - Interface in com.castlabs.android.player
-
This is a high level listener interface that provides callbacks for lifecycle events of the player controller.
- PlayerControllerPlugin - Interface in com.castlabs.android.player
-
A plugin interface that can be used to create plugins that need access to the
PlayerController
. - PlayerControllerPlugin.Component - Interface in com.castlabs.android.player
-
Implementations of this component can be used to gain controlled access to a
PlayerController
. - PlayerControllerPlugin.ComponentViewListener - Interface in com.castlabs.android.player
-
Interface which allows
Components
to work with their Views. - PlayerControllerPlugin.VisualComponent - Interface in com.castlabs.android.player
-
Special type of
PlayerControllerPlugin.Component
which also happens to depend on a View. - PlayerListener - Interface in com.castlabs.android.player
-
This is a high level listener interface that provides callbacks for events from a video player.
- PlayerListeners - Class in com.castlabs.android.player
-
This class helps to manage a set of
PlayerListener
s and delegates to the listener methods. - playerModel - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
- PlayerModel - Class in com.castlabs.android.player.models
-
General player model that contains information about tracks.
- PlayerModel() - Constructor for class com.castlabs.android.player.models.PlayerModel
- PlayerModelFilter - Interface in com.castlabs.android.player.filter
-
Interface which allows to filter
Tracks
, before thePlayerModel
is built. - PlayerPlugin - Interface in com.castlabs.android.player
-
A plugin interface that is used to initialize player instances for different content formats such as HLS, DASH, or SmoothStreaming.
- PlayerPlugin.DrmInitDataProvider<T> - Class in com.castlabs.android.player
- PlayerSDK - Class in com.castlabs.android
-
This class provides the required methods to initialize the castLabs SDK and register additional components and plugins.
- PlayerSDK.ExperimentalFlags - Class in com.castlabs.android
- PlayerSDK.SystemStatusCallback - Interface in com.castlabs.android
-
Callback interface that can be used to detect rooted devices.
- PlayerService - Class in com.castlabs.android.player
-
This class implements a bounded Android Service that can be used to start a
PlayerController
in a service, send the player to background to continue audio playback, and resume video playback from a background session. - PlayerService() - Constructor for class com.castlabs.android.player.PlayerService
- PlayerService.Binder - Class in com.castlabs.android.player
-
This is the binder that will be returned by when a service connection is bound to the player service.
- PlayerService.NotificationHandler - Interface in com.castlabs.android.player
-
Implementation of the interface can receive notification intents from the
PlayerService
. - playerType - Variable in class com.castlabs.android.adverts.Ad
- PlayerView - Class in com.castlabs.android.player
-
The CastLabs PlayerView is a custom view that provides the video playback surface.
- PlayerView(Context) - Constructor for class com.castlabs.android.player.PlayerView
- PlayerView(Context, AttributeSet) - Constructor for class com.castlabs.android.player.PlayerView
- PlayerView(Context, AttributeSet, int) - Constructor for class com.castlabs.android.player.PlayerView
- PlayerView(Context, AttributeSet, int, boolean) - Constructor for class com.castlabs.android.player.PlayerView
- PlayerView.ScalingMode - Annotation Type in com.castlabs.android.player
- PlayerView.SurfaceType - Annotation Type in com.castlabs.android.player
- PlayerViewLifecycleDelegate - Class in com.castlabs.android.player
-
The default lifecycle delegate.
- PlayerViewLifecycleDelegate(IPlayerView) - Constructor for class com.castlabs.android.player.PlayerViewLifecycleDelegate
-
Create a new instance using the given player view
- PlayerViewLifecycleDelegate.LifecycleListener - Interface in com.castlabs.android.player
-
Callback to receive delegated Lifecycle events.
- PlayerViewLifecycleDelegate.ResumeConfiguration - Class in com.castlabs.android.player
-
Configuration object which will dictate the behaviour of the
PlayerController
whenever the enclosing - PlayerViewLifecycleDelegate.ResumeConfiguration.Builder - Class in com.castlabs.android.player
- PlayerViewPlugin - Interface in com.castlabs.android.player
-
A plugin interface that can be used to create plugins that need access to the
IPlayerView
or thePlayerController
that is responsible for the playback lifecycle. - PlayerViewPlugin.PlayerViewComponent - Interface in com.castlabs.android.player
-
Implementations of this view component can be used to gain controlled access to a
IPlayerView
and itsPlayerController
. - PlayerViewPlugin.SingleViewPlayerViewComponent<ViewType> - Class in com.castlabs.android.player
-
Helper class which extracts all the common logic in a
PlayerViewPlugin.PlayerViewComponent
in case it only operates on one single View. - PlayerViewProvider - Interface in com.castlabs.android.views
-
Activities use any of the utility fragments or dialog fragments in this package can implement this interface so fragment implementations can be recreated and easily get access to the
IPlayerView
. - Playing - Enum constant in enum com.castlabs.android.player.PlayerController.State
-
The player is prepared and currently playing
- playItem(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- playItem(int) - Method in interface com.castlabs.android.player.Playlist
-
Advances playback to the Playlist item specified by the index.
- playItem(int) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- playItem(int, long) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Plays the item at the specified index
- Playlist - Interface in com.castlabs.android.player
-
Common Playlist interface.
- PLAYLIST_TYPE_MULTIPLAYER - Static variable in class com.castlabs.android.player.ViewLoader
- PLAYLIST_TYPE_NONE - Static variable in class com.castlabs.android.player.ViewLoader
- PLAYLIST_TYPE_SINGLEPLAYER - Static variable in class com.castlabs.android.player.ViewLoader
- PlaylistController - Class in com.castlabs.android.player.playlist
-
Deprecated.since 4.2.5. Use
MultiControllerPlaylist
instead. - PlaylistController(Context, MultiControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.playlist.PlaylistController
-
Deprecated.
- PlaylistController(PlayerView, MultiControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.playlist.PlaylistController
-
Deprecated.
- Playready - Enum constant in enum com.castlabs.android.drm.Drm
-
Select Playready drm
- PLAYREADY_UUID - Static variable in class com.castlabs.android.SdkConsts
-
UUID for the PlayReady DRM scheme.
- Plugin - Class in com.castlabs.android
-
Simple plugin interface that is used to register components with the castLabs SDK.
- Plugin() - Constructor for class com.castlabs.android.Plugin
- PLUGIN_DECODER_SUPPORT - Static variable in class com.castlabs.utils.Codecs
- position - Variable in class com.castlabs.android.adverts.Ad
-
Ad position in the stream, one of
SdkConsts.AdPosition
- POSITION_DEBUG - Static variable in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
- POSITION_SUBTITLES - Static variable in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
- POSITION_THUMBNAILS - Static variable in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
- positionInFirstPeriodUs(long) - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
- positionInWindowUs(long) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- positionMs - Variable in class com.castlabs.android.adverts.Ad
-
Ad position in milliseconds within the window in case of
SdkConsts.AD_EMBEDDED
stream type orC.TIME_UNSET
- positionMs - Variable in class com.castlabs.android.player.Chapter
-
The chapter position in milliseconds
- positionUs - Variable in class com.castlabs.android.player.PlayerConfig
-
The position in microseconds.
- positionUs(long) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the position in microseconds
- PREFERENCE_CODEC_IMPL - Static variable in class com.castlabs.android.PlayerSDK
-
The preference of the codec implementation weight
100.0f
, compare toPlayerSDK.PREFERENCE_CODEC_MIME
,PlayerSDK.PREFERENCE_TRACK_TYPE
andPlayerSDK.PREFERENCE_PIXEL_COUNT
. - PREFERENCE_CODEC_MIME - Static variable in class com.castlabs.android.PlayerSDK
-
The preference of the codec mimes weight
20.0f
, compare toPlayerSDK.PREFERENCE_CODEC_IMPL
,PlayerSDK.PREFERENCE_TRACK_TYPE
andPlayerSDK.PREFERENCE_PIXEL_COUNT
. - PREFERENCE_PIXEL_COUNT - Static variable in class com.castlabs.android.PlayerSDK
-
The preference of the pixel count weight
10.0f
, compare toPlayerSDK.PREFERENCE_CODEC_MIME
,PlayerSDK.PREFERENCE_CODEC_IMPL
andPlayerSDK.PREFERENCE_TRACK_TYPE
. - PREFERENCE_TRACK_TYPE - Static variable in class com.castlabs.android.PlayerSDK
-
The preference of the track type weight
40.0f
, compare toPlayerSDK.PREFERENCE_CODEC_MIME
,PlayerSDK.PREFERENCE_CODEC_IMPL
andPlayerSDK.PREFERENCE_PIXEL_COUNT
. - preferLatencyOverBufferSafety - Variable in class com.castlabs.android.player.LiveConfiguration
-
If set to true, will seek on Live Content to drop startup buffers to be closer to the Live Edge.
- preferLatencyOverBufferSafety(boolean) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
/** If set to true, will instruct ExoPlayer to drop startup buffers to start closer to the live edge.
- preferredAudioLanguage - Variable in class com.castlabs.android.player.PlayerConfig
-
Preferred audio language
- preferredAudioLanguage(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the preferred audio language
- preferredCodecInfos - Variable in class com.castlabs.android.player.PlayerConfig
- preferredTextLanguage - Variable in class com.castlabs.android.player.PlayerConfig
-
Preferred subtitles language
- preferredTextLanguage(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the preferred text language
- preferTrickPlayTracks - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
If enabled, and the content contains a Trickplay (usually I-frame only) track, it will be selected during Trickplay playback.
- preferTrickPlayTracks(boolean) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.preferTrickPlayTracks
and returns a reference to this Builder so that the methods can be chained together. - PREFFERED_TRACK - Static variable in class com.castlabs.android.SdkConsts
-
Indicates the SDK should try to select the preferred track, i.e.
- prepareAnalyticsSession(PlayerConfig) - Method in class com.castlabs.android.player.PlayerController
-
Use this method to prepare the analytics session according to the player configuration before
PlayerController.open(android.os.Bundle)
the player controller. - prepareSurface() - Method in interface com.castlabs.android.player.IPlayerView
-
This method is called by the
PlayerController
once the player and the renderer are available. - prepareSurface() - Method in class com.castlabs.android.player.PlayerView
- Preparing - Enum constant in enum com.castlabs.android.player.PlayerController.State
-
The player started loading content after
PlayerController.open(PlayerConfig)
was called and is loading the content meta-data. - PRESCAN_DASH_MANIFESTS - Static variable in class com.castlabs.android.PlayerSDK
-
Enable this options if you have to play DASH Manifests that are not spec conform and define AdaptationSets' before BaseURLs'.
- preservePlayerViewSurface - Variable in class com.castlabs.android.player.PlayerConfig
-
If set to true and the
PlayerView
is used, the playback surface be kept on screen and preserved when the player player is released. - preservePlayerViewSurface(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
If set to true and the
PlayerView
is used, the playback surface be kept on screen and preserved when the player player is released. - previousItem() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Moves backwards in the Playlist.
- previousItem() - Method in interface com.castlabs.android.player.Playlist
-
Moves backwards in the Playlist.
- previousItem() - Method in class com.castlabs.android.player.SingleControllerPlaylist
- previousItem(long) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Moves backwards in the Playlist.
- prioritizeInstreamOverManifestDuration - Variable in class com.castlabs.android.player.BufferConfiguration
-
Flag indicating whether the buffered duration is evaluated based on playlist (manifest) tags like duration or based on audio/video data segments durations.
- prioritizeInstreamOverManifestDuration(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
Prioritization of buffered duration calculation based on audio/video segments over the playlist (manifest)
- prioritizeTimeOverSizeThresholds - Variable in class com.castlabs.android.player.BufferConfiguration
-
Flag indicating whether the buffer time constraints are prioritized over buffer size constraints
BufferConfiguration.lowMediaTimeMs
andBufferConfiguration.highMediaTimeMs
. - prioritizeTimeOverSizeThresholds(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
Prioritization of buffer time constraints over size constraints
- provideKeyResponse(byte[], byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- provideProvisionResponse(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- ProvisionException(Exception) - Constructor for exception class com.castlabs.android.drm.ProvisioningManager.ProvisionException
- provisioningBytes - Variable in class com.castlabs.android.cas.CasConfiguration
-
ProvisionBytes is a byte array (String) that is the content identifier.
- ProvisioningManager - Class in com.castlabs.android.drm
-
Utility class that can handle device provisioning.
- ProvisioningManager.ProvisionedCallback - Interface in com.castlabs.android.drm
-
You need to provide an implementation of this interface when you are triggering provisioning.
- ProvisioningManager.ProvisionException - Exception Class in com.castlabs.android.drm
- provisioningRetryConfiguration - Variable in class com.castlabs.android.network.NetworkConfiguration
- provisioningRetryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the retry configuration used for device provisioning
- pushBlackScreenOnDispose - Variable in class com.castlabs.android.player.PlayerConfig
-
If true, indicates if the decoder should push a black screen to the surface when disposed.
- pushBlackScreenOnDispose(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
If set to true and
PlayerConfig.Builder.preservePlayerViewSurface
is enabled, indicates that the decoder should push a black screen to the surface when disposed. - put(Uri, byte[]) - Method in class com.castlabs.android.player.HlsClearKeyCache
-
Inserts an entry into the cache.
- put(Uri, byte[]) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
Q
- queryKeyStatus() - Method in class com.castlabs.android.player.PlayerController
-
Queries the Key Status for the currently loaded session.
- queryKeyStatus(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- queryKeyStatus(TrackRendererPlugin.Type) - Method in class com.castlabs.android.player.PlayerController
-
Queries the Key Status for the currently active session.
- queryParameter(String, String) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Add a query parameter to each content data request
R
- RATING - Static variable in class com.castlabs.android.player.DashDescriptor
- read(byte[], int, int) - Method in class com.castlabs.android.downloader.ZipDataSource
- read(byte[], int, int) - Method in class com.castlabs.android.network.ExtendedDataSource
- readLines(File) - Static method in class com.castlabs.utils.FileHelper
- readMetaData(File) - Static method in class com.castlabs.android.downloader.ContainerUtils
-
Take a zip file and looks for a "meta.json" entry.
- readTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the read timeout for both manifest and segment requests
- readTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration
- reason - Variable in exception class com.castlabs.android.player.exceptions.BlocklistException
- reason - Variable in exception class com.castlabs.android.player.exceptions.FilterException
- reason - Variable in exception class com.castlabs.android.player.exceptions.TunnelingException
- reasonString() - Method in exception class com.castlabs.android.player.exceptions.BlocklistException
- reasonString() - Method in exception class com.castlabs.android.player.exceptions.TunnelingException
- reasonString(TunnelingException.Reason) - Static method in exception class com.castlabs.android.player.exceptions.TunnelingException
- register() - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
-
Called whenever the Component is registered
- register(Downloadable) - Static method in class com.castlabs.android.PlayerSDK
- register(Drm) - Static method in class com.castlabs.android.PlayerSDK
-
Register external Drm plugin to the sdk.
- register(CLLibraryLoader.PostLoadAction) - Static method in class com.castlabs.android.player.CLLibraryLoader
-
Register a new post load action that will be executed by the loader after the native libraries are loaded.
- register(PlayerControllerPlugin) - Static method in class com.castlabs.android.PlayerSDK
-
Register a new
PlayerControllerPlugin
- register(PlayerPlugin) - Static method in class com.castlabs.android.PlayerSDK
-
Register a new player plugin
- register(PlayerViewPlugin) - Static method in class com.castlabs.android.PlayerSDK
-
Register a new
PlayerViewPlugin
- register(TrackRendererPlugin) - Static method in class com.castlabs.android.PlayerSDK
-
Register a new track renderer plugin
- register(Plugin) - Static method in class com.castlabs.android.PlayerSDK
-
Register a new plugin
- register(String) - Static method in class com.castlabs.android.player.CLLibraryLoader
-
Register a library that needs to be loaded.
- register(String, String) - Static method in class com.castlabs.android.network.UserAgent
-
Register an additional key value pair that will be added to the user agent string representation
- registerDrmLicenseManagerComponent(DrmLicenseManagerComponent) - Static method in class com.castlabs.android.PlayerSDK
-
Register a new DrmLicenseManagerComponent
- registerDrmSession(DrmLicenseManager) - Method in class com.castlabs.android.player.PlayerController
-
INTERNAL: Register a drm session manager that is in use with this controller
- RelaxedTtmlDecoder - Class in com.google.android.exoplayer2.text.ttml
-
A
SimpleSubtitleDecoder
for TTML supporting the DFXP presentation profile. - RelaxedTtmlDecoder() - Constructor for class com.google.android.exoplayer2.text.ttml.RelaxedTtmlDecoder
- release() - Method in class com.castlabs.analytics.AnalyticsSession
- release() - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Terminate the AnalyticsSession.
- release() - Method in interface com.castlabs.android.adverts.AdLoader
-
Release any unused resources
- release() - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- release() - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- release() - Method in class com.castlabs.android.player.PlayerController
-
Release the player instance and reset the underlying player model.
- release() - Method in interface com.castlabs.android.player.PlayerService.NotificationHandler
-
Release any unneeded resources
- release(IPlayerView, boolean) - Method in class com.castlabs.android.player.PlayerService.Binder
-
Disconnects the player controller from the player view.
- releaseAsync() - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- releaseInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- releasePlayer(boolean) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
-
Call this method when the hosting activity stops.
- releaseToBackground(IPlayerView, int, Notification, boolean) - Method in class com.castlabs.android.player.PlayerService.Binder
-
Disconnect the player controller from the player view and enable background audio playback by putting the service into foreground and showing the given notification.
- releaseToBackground(IPlayerView, int, Notification, boolean, PlayerService.NotificationHandler) - Method in class com.castlabs.android.player.PlayerService.Binder
-
Disconnect the player controller from the player view and enable background audio playback by putting the service into foreground and showing the given notification.
- releaseWithException(CastlabsPlayerException) - Method in class com.castlabs.android.player.PlayerController
- remote - Variable in class com.castlabs.android.player.DisplayInfo
-
True if a remote display is connected on the current route.
- remove() - Method in interface com.castlabs.android.drm.DrmLicenseManager
-
Removes the license matching the provided
DrmConfiguration
. - remove() - Method in class com.castlabs.android.player.DrmLicenseLoader
-
Triggers an asynchronous license removal.
- remove() - Method in class com.castlabs.android.player.filter.FilterFormat
-
Mark this track as to be removed with reason
SdkConsts.FILTER_REASON_CUSTOM
. - remove(int) - Method in class com.castlabs.android.player.filter.FilterFormat
-
Marks this track to be removed with the provided reason
- remove(Uri) - Method in class com.castlabs.android.player.HlsClearKeyCache
-
Removes
uri
from the cache. - remove(Uri) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
- removeAdListener(AdInterface.Listener) - Method in interface com.castlabs.android.adverts.AdInterface
-
Remove the given
AdInterface.Listener
- removeAudioRendererListener(AudioRendererListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove an audio renderer listener
- removeCatchupListener(CatchupListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove a Catchup listener
- removeCustomDashEventListener(CustomDashEventListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removeDrmEventListener(DrmEventListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove a registered
DrmEventListener
- removeEventListener(BandwidthMeter.EventListener) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
- removeEventStreamListener(EventStreamListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removeEventStreamListListener(EventStreamListListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removeFormatChangeListener(FormatChangeListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removeHttpListener(HttpListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove a HTTP listener
- removeItem(PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Removes an item from the Playlist
- removeItem(PlayerConfig) - Method in interface com.castlabs.android.player.Playlist
-
Removes an item from the Playlist.
- removeItem(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- removeItemLoadListener(SingleControllerPlaylist.ItemLoadListener) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Removes an
SingleControllerPlaylist.ItemLoadListener
- removeLifecycleListener(PlayerViewLifecycleDelegate.LifecycleListener) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
- removeListener(AdInterface.Listener) - Method in class com.castlabs.android.player.PlayerListeners
- removeListener(CustomDashEventListener) - Method in class com.castlabs.android.player.PlayerListeners
-
Remove the given
CustomDashEventListener
- removeListener(EventStreamListener) - Method in class com.castlabs.android.player.PlayerListeners
-
Remove the given
EventStreamListener
- removeListener(EventStreamListListener) - Method in class com.castlabs.android.player.PlayerListeners
-
Remove the given
EventStreamListListener
- removeLoadControlListener(LoadControlListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove a registered
LoadControlListener
- removeMetadataListener(MetadataListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removePeriodChangedListener(PeriodChangedListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removePlayerControllerListener(PlayerControllerListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removePlayerListener(PlayerListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove a registered
PlayerListener
- removePlayerModelFilter(PlayerModelFilter) - Method in class com.castlabs.android.player.PlayerController
-
Removes a
PlayerModelFilter
previously added withPlayerController.addPlayerModelFilter(PlayerModelFilter)
. - removePlaylistListener(SingleControllerPlaylist.PlaylistListener) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- removeProvider(AdProvider) - Static method in class com.castlabs.android.adverts.Adverts
-
Remove registered Ad provider.
- removeQuality(int) - Method in class com.castlabs.android.player.models.MutableVideoTrack
-
Remove the quality with the specified index
- removeQuality(VideoTrackQuality) - Method in class com.castlabs.android.player.models.MutableVideoTrack
-
Remove the specified quality
- removeRequestModifier(RequestModifier) - Method in class com.castlabs.android.player.PlayerController
-
Remove a request modifier.
- removeResponseModifier(ResponseModifier) - Method in class com.castlabs.android.player.PlayerController
-
Remove a response modifier.
- removeStreamingEventListener(StreamingEventListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removeSurface() - Method in interface com.castlabs.android.player.IPlayerView
-
This method is called by the
PlayerController
once the player is released. - removeSurface() - Method in class com.castlabs.android.player.PlayerView
- removeTimelineChangedListener(TimelineChangedListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removeTimelineListener(TimelineListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removeTrackSelectionListener(TrackSelectionListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove the given listener.
- removeVideoRendererListener(VideoRendererListener) - Method in class com.castlabs.android.player.PlayerController
-
Remove a video renderer listener
- removeWVCASLicense(String) - Method in class com.castlabs.android.player.AmLogicPlayerPlugin
- removeWVCASLicense(String) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- renderer - Variable in class com.castlabs.android.player.TrackRendererPlugin.TrackRendererContainer
- renewalEnabled() - Method in class com.castlabs.android.drm.DrmConfiguration
- renewalThreshold(long, TimeUnit) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
If set to a non-negative value, the Widevine key renewal will be enabled and expiring license will be automatically renewed in
renewalThreshold
before expiration. - renewalThresholdMs - Variable in class com.castlabs.android.drm.DrmConfiguration
-
If set to non-zero and non-negative value then the Widevine license will be automatically renewed before
DrmConfiguration.renewalThresholdMs
milliseconds of license expiration. - report(Throwable) - Static method in class com.castlabs.analytics.Crashlog
-
Report a caught exception to all registered reporters
- report(Throwable) - Method in interface com.castlabs.analytics.CrashReporter
-
Report a caught exception.
- reportConnectivityGained() - Method in class com.castlabs.android.player.PlayerListeners
-
Call this method to report loss of connectivity.
- reportConnectivityLost() - Method in class com.castlabs.android.player.PlayerListeners
-
Call this method to report loss of connectivity.
- reportPlayerState(PlayerController.State) - Method in class com.castlabs.analytics.AnalyticsSession
- reportPlayerState(PlayerController.State) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Report the current player state manually.
- reportPlayerStateInternal(PlayerController.State) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- request - Variable in class com.castlabs.android.adverts.AdRequest
- Request - Class in com.castlabs.android.network
-
A modifiable request.
- Request(int, Uri) - Constructor for class com.castlabs.android.network.Request
-
Create a new request with the given URI and no headers
- Request(int, Uri, Map<String, String>) - Constructor for class com.castlabs.android.network.Request
-
Create a new request with the given URI and headers
- Request(int, Uri, Map<String, String>, byte[]) - Constructor for class com.castlabs.android.network.Request
-
Create a new request with the given URI and headers
- Request.RequestType - Annotation Type in com.castlabs.android.network
-
Represents a request data type
- requestId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
The request ID
- requestId(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Sets the request id.
- RequestModifier - Interface in com.castlabs.android.network
-
Implementation of this interface can intercept
Request
s and modify them before the request is sent. - requestParameters - Variable in class com.castlabs.android.drm.DrmConfiguration
-
Bundle that can be used to put additional request (header) parameters that will be send to the DRM backend during license requests.
- requestProperties - Variable in class com.castlabs.android.cas.CasConfiguration
-
Bundle that can be used to put additional request (header) parameters that will be send to the DRM backend during license requests.
- reset() - Method in class com.castlabs.android.player.PlayerListeners
- resetAudioFocus() - Method in class com.castlabs.android.player.PlayerController
-
Resets the audio focus for the stream according to the
PlayerConfig.audioAttributes
- resolvedAudioDrm() - Method in class com.castlabs.android.drm.DrmConfiguration
-
The best available DRM if no explicit DRM was specified.
- resolvedDrm() - Method in class com.castlabs.android.drm.DrmConfiguration
-
The best available DRM if no explicit DRM was specified
- Response - Class in com.castlabs.android.network
-
A modifiable response.
- Response(int, Uri, Map<String, List<String>>, int, byte[]) - Constructor for class com.castlabs.android.network.Response
-
Create a new response with the given URI and headers
- RESPONSE_BODY - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- Response.ResponseType - Annotation Type in com.castlabs.android.network
-
Represents a request data type
- responseBody - Variable in exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
- responseCode - Variable in class com.castlabs.android.drm.DrmTodayResponseCode
- responseCode - Variable in exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
- responseCode - Variable in class com.castlabs.android.network.Response
-
Response code in case of HTTP.
- responseCodeString - Variable in class com.castlabs.android.drm.DrmTodayResponseCode
- responseHeaders - Variable in exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
- ResponseModifier - Interface in com.castlabs.android.network
-
Implementation of this interface can intercept
Response
s and modify them before the response is processed further. - Restart - Enum constant in enum com.castlabs.android.player.ExternalSourceSelector.SwitchType
-
Do not try the seamless transition and restart the playback immediately
- RESTORE_SPEED - Static variable in class com.castlabs.android.PlayerSDK
-
Default global value to enable or disable automatic restoring of a speed after playing ads.
- restoreKeys(byte[], byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- restoreSpeed - Variable in class com.castlabs.android.player.PlayerConfig
-
The flag to enable or disable automatic restoring of a speed after playing ads.
- restoreSpeed(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the flag to enable or disable automatic restoring of a speed after playing ads.
- resume() - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
-
Call this method when the hosting activity resumes.
- Resume - Enum constant in enum com.castlabs.android.player.CustomDashEventListener.EventType
- resumeOffset - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
- retryCode(int) - Method in class com.castlabs.android.network.RetryConfiguration
-
Checks whether the provided code triggers retries or not
- retryCodes(int[]) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
-
Sets error codes triggering retries Note: currently implemented for DRM requests only and
DrmTodayException
error codes - retryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the retry configuration used for both manifests and segments
- RetryConfiguration - Class in com.castlabs.android.network
-
Configures the network request retry behaviour.
- RetryConfiguration(int, long, float, float, long) - Constructor for class com.castlabs.android.network.RetryConfiguration
-
Create a new instance of the counter
- RetryConfiguration(int, long, float, float, long, int[], String[]) - Constructor for class com.castlabs.android.network.RetryConfiguration
- RetryConfiguration.Builder - Class in com.castlabs.android.network
-
Use this builder to create new instances of the retry configuration
- retryException(Exception) - Method in class com.castlabs.android.network.RetryConfiguration
- retryExceptions(List<Class<? extends Exception>>) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
-
Sets Exceptions triggering retries Note: currently implemented for DRM requests only
- Rewind - Enum constant in enum com.castlabs.android.player.CustomDashEventListener.EventType
- ROLE - Static variable in class com.castlabs.android.player.DashDescriptor
- ROOT_OF_TRUST - Enum constant in enum com.castlabs.android.drm.SecurityLevel
-
Equals to L2 in Widevine.
S
- s2ms(double) - Static method in class com.castlabs.utils.TimeUtils
-
Converts Seconds (double) to Milliseconds (long) e.g.
- s2ms(long) - Static method in class com.castlabs.utils.TimeUtils
-
Converts Seconds to Milliseconds
- s2us(double) - Static method in class com.castlabs.utils.TimeUtils
-
Converts Seconds (double) to Microseconds (long) e.g.
- s2us(long) - Static method in class com.castlabs.utils.TimeUtils
-
Converts Seconds to Microseconds
- safeBufferSize(long, TimeUnit) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
Minimum target buffer considered safe.
- safeBufferSizeUs - Variable in class com.castlabs.android.player.AbrConfiguration
-
Minimum target buffer considered safe.
- save(Bundle) - Method in class com.castlabs.android.player.PlayerConfig
-
Saves the current configuration into a
Bundle
. - save(PlayerConfig) - Method in interface com.castlabs.android.player.PlaybackStateStorage
-
Persists the given playback state instance
- saveState(Bundle) - Method in class com.castlabs.android.player.PlayerController
-
Saves the state of this controller to the given target bundle.
- saveState(Bundle) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- SCALING_MODE_CROP - Static variable in class com.castlabs.android.player.PlayerView
-
The video will be displayed in its original size.
- SCALING_MODE_FIT - Static variable in class com.castlabs.android.player.PlayerView
-
The video will be scaled using its original aspect ration to fit on the devices screen.
- SCALING_MODE_STRETCH - Static variable in class com.castlabs.android.player.PlayerView
-
The video will be scaled to fully utilize the available screen size.
- scanComponentView(ViewGroup, int, Class) - Static method in class com.castlabs.android.utils.ViewScanner
-
Scans the given ViewGroup to find a
View
with the provided id. - scanComponentViews(ViewGroup) - Method in class com.castlabs.android.player.PlayerController
-
Scans the given ViewGroup for specific PlayerControllerPlugin Views.
- scanComponentViews(ViewGroup) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.ComponentViewListener
-
Implementors should scan for the "desired" Views.
- scanComponentViews(ViewGroup) - Method in class com.castlabs.android.player.VisualComponentProxy
- SCHEDULE_DELAY_MS_KEY - Static variable in class com.castlabs.android.adverts.AdRequest
-
Key for identifying the default time offset that will be added to the current position when manually scheduling ads
- SCHEDULE_MANUAL - Static variable in class com.castlabs.android.adverts.AdSchedule
- scheduleAd(AdRequest) - Method in interface com.castlabs.android.adverts.AdInterface
-
Manually schedules an
AdRequest
. - scheduleAd(AdRequest) - Method in interface com.castlabs.android.adverts.AdLoader
-
Start loading an
AdRequest
. - scheduleAd(AdRequest) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- scheduleType - Variable in class com.castlabs.android.adverts.AdSchedule
-
The type of ad schedule.
- scheduleType(int) - Method in class com.castlabs.android.adverts.AdSchedule.Builder
- SCHEME_ID_URL_SET_SWITCHING - Static variable in class com.castlabs.android.player.MPDParser
- SCHEME_ID_UTC_TIMING_ELEMENT_NTP - Static variable in class com.castlabs.android.SdkConsts
-
UTC Timing element representing an NTP request
- schemeIdUri - Variable in class com.castlabs.android.player.CustomUtcTimingElement
- schemeIdUri(String) - Method in class com.castlabs.android.player.models.EventMessage.Builder
-
The message scheme.
- ScreenUtils - Class in com.castlabs.android.utils
-
Utility class that provides helper methods around the device screen
- ScreenUtils() - Constructor for class com.castlabs.android.utils.ScreenUtils
- SdkConsts - Class in com.castlabs.android
- SdkConsts() - Constructor for class com.castlabs.android.SdkConsts
- SdkConsts.AdPosition - Annotation Type in com.castlabs.android
- SdkConsts.AdType - Annotation Type in com.castlabs.android
- SdkConsts.AnalyticsSessionType - Annotation Type in com.castlabs.android
- SdkConsts.CodecBufferMode - Annotation Type in com.castlabs.android
- SdkConsts.ContentType - Annotation Type in com.castlabs.android
- SdkConsts.DataType - Annotation Type in com.castlabs.android
- SdkConsts.DummySurfaceMode - Annotation Type in com.castlabs.android
- SdkConsts.FastBitrateSwitching - Annotation Type in com.castlabs.android
- SdkConsts.FilterReason - Annotation Type in com.castlabs.android
- SdkConsts.MediaType - Annotation Type in com.castlabs.android
- SdkConsts.SeekMode - Annotation Type in com.castlabs.android
- SdkConsts.SelectionReason - Annotation Type in com.castlabs.android
- SdkConsts.SubtitleSubSampleType - Annotation Type in com.castlabs.android
- SdkConsts.VideoCodecFilter - Annotation Type in com.castlabs.android
- SECONDARY_DISPLAY - Static variable in class com.castlabs.android.PlayerSDK
-
Use this flag to configure handling of secondary displays.
- SECONDARY_DISPLAY_ALLOW_ALWAYS - Static variable in class com.castlabs.android.SdkConsts
-
Always allow display on a secondary (i.e.
- SECONDARY_DISPLAY_ALLOW_SECURE_DISPLAY - Static variable in class com.castlabs.android.SdkConsts
-
Allow display on a secondary (i.e.
- SECONDARY_DISPLAY_ALLOW_UNPROTECTED_CONTENT - Static variable in class com.castlabs.android.SdkConsts
-
Allow display on a secondary (i.e.
- SECONDARY_DISPLAY_NEVER - Static variable in class com.castlabs.android.SdkConsts
-
Never allow display on a secondary (i.e.
- secure - Variable in class com.castlabs.android.player.DisplayInfo
-
True if all connected displays are secure and support protected buffers.
- SECURE_MEDIA_PATH - Enum constant in enum com.castlabs.android.drm.SecurityLevel
-
Equals to L1 in Widevine.
- SECURE_SURFACE_VIEW_DISABLED - Static variable in class com.castlabs.android.PlayerSDK
-
Disable Secure SurfaceView
- SecurityLevel - Enum in com.castlabs.android.drm
-
DRM Security level definitions
- seek(long, long) - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
-
Configure the catchup mode with
CatchupConfiguration.Type.SEEK
. - SEEK - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.Type
-
Perform a seek operation.
- SEEK - Enum constant in enum com.castlabs.android.player.TrickplayConfiguration.SpeedupMode
-
Seek-based play.
- SEEK_CLOSEST_SYNC - Static variable in class com.castlabs.android.SdkConsts
-
Player mode parameter for seeking to the closest sync point.
- SEEK_EXACT - Static variable in class com.castlabs.android.SdkConsts
-
Player mode parameter for exact seeking.
- SEEK_MODE - Static variable in class com.castlabs.android.PlayerSDK
-
Player mode parameter that is applied to seeking.
- SEEK_NEXT_SYNC - Static variable in class com.castlabs.android.SdkConsts
-
Player mode parameter for seeking to the sync point immediately after a requested seek position.
- SEEK_PREVIOUS_SYNC - Static variable in class com.castlabs.android.SdkConsts
-
Player mode parameter for seeking to the sync point immediately before a requested seek position.
- seekEnd() - Method in class com.castlabs.analytics.AnalyticsSession
- seekEnd() - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that the seeking has completed.
- seekEndInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- seekModeFrameRenderedTimeoutMs - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
Timeout in milliseconds to force a new seek operation after the
pause
State is received. - seekModeFrameRenderedTimeoutMs(long) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.seekModeFrameRenderedTimeoutMs
and returns a reference to this Builder so that the methods can be chained together. - seekOnDownloadError - Variable in class com.castlabs.android.player.CatchupConfiguration
-
Directs the player seek to Catchup Upper Time Threshold on Video Segment Download Timeout Errors.
- seekProcessed() - Method in class com.castlabs.analytics.AnalyticsSession
- seekProcessed() - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that the requested seek position of the video playback is processed.
- seekProcessedInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- seekStart(long) - Method in class com.castlabs.analytics.AnalyticsSession
- seekStart(long) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Inform the session that the new position of the video playback is requested.
- seekStartInternal(long) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- seekToDefaultPositionOnItemChange(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
-
Determines whether to seek to the default position of each item upon transitioning to it.
- seekWith(long) - Method in class com.castlabs.android.player.PlayerController
-
Sets the player to the new position by applying the offset to the current position i.e.
- seekWith(long) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Sets the player to the new position by applying the offset to the current position i.e.
- segmentParameters - Variable in class com.castlabs.android.player.PlayerConfig
-
Header params to add to segment requests
- segmentParameters(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the segment header parameters
- segmentQueryParameters - Variable in class com.castlabs.android.player.PlayerConfig
-
Query params to add to segment requests
- segmentQueryParameters(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the segment query parameters
- segmentsCallTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
Sets the Call timeout for segment requests including the request, redirect and response This only currently works with the OkHttp Plugin.
- segmentsCallTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the Call timeout for segment requests including the request, redirect and response This only currently works with the OkHttp Plugin.
- segmentsConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The connection timeout in milliseconds for segment requests
- segmentsConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the connection timeout for segment requests
- segmentsReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The read timeout in milliseconds for segment requests
- segmentsReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the read timeout for segment requests
- segmentsRetryConfiguration - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The
RetryConfiguration
for segment requests that will be to determine how often to retry after loading errors - segmentsRetryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the retry configuration used for segments
- selectAudioDrm(Drm, Drm) - Static method in class com.castlabs.android.drm.DrmUtils
-
Select the best available DRM if no explicit DRM is specified.
- selectAudioDrm(Drm, Drm, Set<Drm>) - Static method in class com.castlabs.android.drm.DrmUtils
- selectBestDrm(Drm) - Static method in class com.castlabs.android.drm.DrmUtils
-
Select the best available DRM if no explicit DRM is specified.
- selectBestDrm(Set<Drm>) - Static method in class com.castlabs.android.drm.DrmUtils
- selectedAudioTrack - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
- selectedSubtitleTrack - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
- selectedTrickPlayTrack - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
- selectedVideoTrack - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
- SELECTION_REASON_ABORT - Static variable in class com.castlabs.android.SdkConsts
-
Selection reason that indicates download abort
- SELECTION_REASON_FRAME_DROP_EXCEED - Static variable in class com.castlabs.android.SdkConsts
- selectionReasonToString(int) - Static method in class com.castlabs.android.SdkConsts
-
Utility method that translates a chunk load selection reason to a string.
- SelectorUtils - Class in com.castlabs.android.utils
-
Selector utilities facilitating common selection options in both the player and the downloader
- selectTracks(RendererCapabilities[], TrackGroupArray, MediaSource.MediaPeriodId, Timeline, Object) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- sendError(String, String, int) - Method in class com.castlabs.analytics.AnalyticsSession
- sendError(String, String, int) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Send an error manually.
- sendErrorInternal(String, String, int) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- sendProvisionRequest(UUID, CastlabsMediaDrm, MediaDrmCallback, ProvisioningManager.ProvisionedCallback) - Static method in class com.castlabs.android.drm.ProvisioningManager
-
Send a provisionin request
- serverToLocalOffsetMs - Variable in class com.castlabs.android.player.DrmKeyStorage
- sessionAcquired(DrmInitData) - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
-
Called after
DrmSessionManager.acquireSession(Looper, Format, TrackOutput.Origin)
- sessionClosed() - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
-
Called after
DrmLicenseManager.close()
- sessionId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
The session ID
- sessionReleased(DrmSession<FrameworkMediaCrypto>) - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
-
Called after
DrmSession.release()
- set(String, boolean) - Static method in class com.castlabs.analytics.Crashlog
-
Sets a boolean value.
- set(String, boolean) - Method in interface com.castlabs.analytics.CrashReporter
-
Sets a boolean value
- set(String, double) - Static method in class com.castlabs.analytics.Crashlog
-
Sets a double value.
- set(String, double) - Method in interface com.castlabs.analytics.CrashReporter
-
Sets a double value
- set(String, int) - Static method in class com.castlabs.analytics.Crashlog
-
Sets an int value.
- set(String, int) - Method in interface com.castlabs.analytics.CrashReporter
-
Sets an int value
- set(String, String) - Static method in class com.castlabs.analytics.Crashlog
-
Sets a string value.
- set(String, String) - Method in interface com.castlabs.analytics.CrashReporter
-
Sets a string value.
- SET_SURFACE_TIMEOUT_MS - Static variable in class com.castlabs.android.PlayerSDK
-
Timeout in milliseconds to set the player Surface.
- setAbrConfiguration(AbrConfiguration) - Method in class com.castlabs.android.player.PlayerController
-
Set the ABR configuration used by the player
- setAdsConfiguration(VideoFilterConfiguration) - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
- setAnalyticsMetaData(AnalyticsMetaData) - Method in class com.castlabs.android.player.PlayerController
-
Set the analytics meta-data.
- setAnalyticsSession(AnalyticsSession) - Method in class com.castlabs.android.player.PlayerController
-
Set an already existing AnalyticsSession.
- setAudioChannels(int) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the number of audio channels for this track
- setAudioFocusCallback(AudioFocusCallback) - Method in class com.castlabs.android.player.PlayerController
-
Sets the
AudioFocusCallback
. - setAudioSamplingRate(float) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the samplign rate
- setAudioTrack(AudioTrack) - Method in class com.castlabs.android.player.PlayerController
-
Sets the current audio track.
- setAudioTrackIndexOverride(TrackIndexOverride) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Set audio track indices override to be used during audio selection
- setAudioTrackOverride(AudioTrack) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Set audio track override to be used during audio selection
- setBackgrounded(boolean) - Method in class com.castlabs.android.player.PlayerController
-
This sends or restores the player from background playback.
- setBitrate(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Sets the bitrate
- setBufferConfiguration(BufferConfiguration) - Method in class com.castlabs.android.player.PlayerController
-
Set the buffer configuration for this controller.
- setChangeFramerateStrategy(int) - Method in class com.castlabs.android.player.PlayerController
-
Sets a
C.VideoChangeFrameRateStrategy
that will be used by the player when provided with a video outputSurface
. - setClientListener(AdClientInterface.Listener) - Method in interface com.castlabs.android.adverts.AdClientInterface
-
Sets or unsets the given
AdClientInterface.Listener
. - setCmcdConfigurationFactory(CmcdConfigurationFactory) - Method in class com.castlabs.android.player.PlayerController
- setCodecs(String) - Method in class com.castlabs.android.player.models.AudioTrack
- setCodecs(String) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setComponentView(int, View) - Method in class com.castlabs.android.player.PlayerController
-
Set a specific component View.
- setComponentViewListener(PlayerControllerPlugin.ComponentViewListener) - Method in class com.castlabs.android.player.VisualComponentProxy
-
Sets the Listener.
- setConfigurationProvider(ConfigurationProvider) - Method in class com.castlabs.android.player.PlayerController
-
Sets the configuration provider e.g.
- setContentConfiguration(VideoFilterConfiguration) - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
- setContentType(int) - Method in class com.castlabs.android.player.AudioAttributes.Builder
- setData(byte[]) - Method in class com.castlabs.android.network.Request
-
Set the data that will be send with a post request
- setData(byte[]) - Method in class com.castlabs.android.network.Response
-
Use this to set modified response data
- setDataSourceFactory(DataSourceFactory) - Method in class com.castlabs.android.player.PlayerController
-
Set the
DataSourceFactory
that will be used to create connections. - setDelegate(BandwidthMeter) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
-
Set the delegate or null
- setDescriptors(List<DashDescriptor>) - Method in class com.castlabs.android.player.models.Track
-
Sets the Dash descriptors list
- setDisableAnalytics(boolean) - Method in class com.castlabs.android.player.PlayerController
- setDisabledRendererIndices(List<Integer>) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Disable renderers by indices such that the tracks of the corresponding type will not be selected
- setDiscontiniuityThreshold(long) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- setDispatcher(IptvAnalyticsListener.EventDispatcher) - Method in class com.castlabs.android.player.AmLogicPlayerPlugin
- setDispatcher(IptvAnalyticsListener.EventDispatcher) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- setDisplaySize(Point) - Method in class com.castlabs.android.player.ExtendedTrackSelector
- setDrm(Drm) - Method in class com.castlabs.android.player.models.AudioTrack
-
Assign
Drm
to the current track - setDrm(Drm) - Method in class com.castlabs.android.player.models.VideoTrackQuality
-
Assign
Drm
to the current quality - setDrmKeyStatus(KeyStatus) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setDurationUs(long) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the duration of this track in microseconds
- setDurationUs(long) - Method in class com.castlabs.android.player.models.VideoTrack
-
Set the duration of this track in microseconds
- setEmbeddedTrackGroupIndex(int) - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Set the track group index in which this TrackGroup is embedded into.
- setEnableCache(boolean) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Activates or deactivates caching
- setEnabled(boolean) - Method in class com.castlabs.analytics.AnalyticsSession
-
Enable or disable the session.
- setEnabled(boolean) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- setEndPositionMs(long) - Method in class com.castlabs.android.player.Chapter
- setExternalSourceSelector(ExternalSourceSelector) - Method in class com.castlabs.android.player.PlayerController
-
Set the
ExternalSourceSelector
that will be used during CDN fallback Setnull
to disable the CDN fallback - setFields(int) - Static method in class com.castlabs.android.network.UserAgent
-
Sets the currently enabled fields to include in the user-agent.
- setFlags(int) - Method in class com.castlabs.android.player.AudioAttributes.Builder
- setFrameRate(float) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setGridHeight(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the grid height
- setGridWidth(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the grid width
- setHdPlaybackEnabled(int) - Method in class com.castlabs.android.player.PlayerController
-
Set the HD content filter criteria for this specific controller.
- setHeader(String, String) - Method in class com.castlabs.android.network.ExtendedDataSource
- setHeight(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setHighlighted(boolean) - Method in class com.castlabs.android.player.Chapter
- setHlsKeyCache(HlsClearKeyCache) - Method in class com.castlabs.android.player.PlayerController
-
Sets the
HlsClearKeyCache
used for HLS Clearkey requests. - setId(String) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the id associated with this track
- setId(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Set the id associated with this track
- setId(String) - Method in class com.castlabs.android.player.models.VideoTrack
-
Set the id associated with this track
- setId(String) - Method in class com.castlabs.android.player.models.VideoTrackQuality
-
Set the id associated with this track
- setIgnoreDataTillVideoKeyframe(boolean) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- setInitialDrmConfiguration(DrmConfiguration) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Initial
DrmConfiguration
used to initialize and configure DRM session manager when playback is started with clear playlist item. - setInitialPositionProvider(InitialPositionProvider) - Method in class com.castlabs.android.player.PlayerController
-
Sets the
InitialPositionProvider
. - setInitialVideoTrackGroupIndex(int) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Set video track group index override to be used during video selection.
- setInternalSourceSelectorFactory(InternalSourceSelector.Factory) - Method in class com.castlabs.android.player.PlayerController
-
Set the
InternalSourceSelector.Factory
that will be used during CDN fallback Setnull
to use the defaultPlayerSDK.DEFAULT_INTERNAL_SOURCE_SELECTOR_FACTORY
- setInterstitialListener(HlsInterstitialListener) - Method in class com.castlabs.android.player.PlayerController.ExperimentalApi
- setItemChangeFlags(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Sets the behaviour that will be applied when a new playlist item is about to be played.
- setLanguage(String) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the language of this track.
- setLanguage(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Set the language of this track.
- setLiveConfiguration(LiveConfiguration) - Method in class com.castlabs.android.player.PlayerController
-
Set the live configuration for this controller.
- setLoopingEnabled(boolean) - Method in class com.castlabs.android.player.PlayerController
-
Enable/Disable looping
- setMaximumLoadedItems(int) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Set the maximum number overall of Playlist items to keep loaded at any time.
- setMaxIndex(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the maximal available index
- setMaxPlayoutRate(float) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setMaxVideoSizeFilter(Point) - Method in class com.castlabs.android.player.PlayerController
- setMediaMimeType(String) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the media mime type accociated with this track
- setMediaMimeType(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Set the media mime type associated with this track.
- setMediaMimeType(String) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setMimeType(String) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the codec mime type accociated with this track.
- setMimeType(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Set the codec mime type associated with this track
- setMimeType(String) - Method in class com.castlabs.android.player.models.VideoTrack
-
Set the mime type accociated with this track
- setMimeType(String) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setName(String) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set a name associated with this track
- setName(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Set a name associated with this track
- setNextItemThreshold(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
- setOnEventListener(ExoMediaDrm.OnEventListener<? super FrameworkMediaCrypto>) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener<? super FrameworkMediaCrypto>) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- setOriginalGroupIndex(int) - Method in class com.castlabs.android.player.models.Track
-
Set the original index of this group
- setOriginalGroupIndex(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
-
Set the original index of the corresponding track group
- setOriginalLanguage(String) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the manifest language of this track.
- setOriginalLanguage(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Set the manifest language of this track.
- setOriginalTrackIndex(int) - Method in class com.castlabs.android.player.models.Track
-
Set the original index of this track
- setOriginalTrackIndex(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
-
Set the original index of this track
- setOverrideValue(String) - Static method in class com.castlabs.android.network.UserAgent
-
Sets the over-ride value for the user-agent, if it is not null all other values would be ignored and this value would be used for the user-agent.
- setPeriodDurationUs(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Sets the period duration
- setPeriodInfoProvider(PeriodInfoProvider) - Method in class com.castlabs.android.player.PlayerController
-
Set the
PeriodInfoProvider
that will be used to get additional information for the played period. - setPeriodStartMs(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the period relative start time
- setPictureWidthHeightRatio(float) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setPixelWidthHeightRatio(float) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setPlaceHolder(ImageView) - Method in class com.castlabs.android.utils.LazyImageLoader
-
Apply the configured placeholder drawable to the given image view.
- setPlayerController(PlayerController) - Method in interface com.castlabs.android.adverts.AdLoader
-
Set the active
PlayerController
instance ornull
if there is no activePlayerController
or it is about to be released - setPlayerController(PlayerController) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
- setPlayerController(PlayerController) - Method in interface com.castlabs.android.player.IPlayerView
-
Set the player controller used by this view.
- setPlayerController(PlayerController) - Method in class com.castlabs.android.player.PlayerView
-
Set the player controller used by this view.
- setPlayerView(IPlayerView) - Method in class com.castlabs.android.player.PlayerController
-
Sets the
IPlayerView
instance that is used to provide the surface and render the video. - setPlaylistWindowAfter(int) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Sets the number of Playlist items to load after the current one.
- setPlaylistWindowBefore(int) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Sets the number of Playlist items to load before the current one.
- setPosition(long) - Method in class com.castlabs.android.player.PlayerController
-
Seek the player to the new position in microseconds.
- setPosition(long, int) - Method in class com.castlabs.android.player.PlayerController
-
Seek the player to the new position in microseconds using specified seek mode The corresponding event will be sent to analytics session (if any)
- setPositionInPeriod(long) - Method in class com.castlabs.android.player.PlayerController
-
Seek the player to the new position in microseconds.
- setPreferredCodecInfos(List<MediaCodecInfo>) - Method in class com.castlabs.android.player.DefaultMediaCodecSelector
-
Set or unset the specific decoder infos
- setPrefix(String) - Static method in class com.castlabs.android.network.UserAgent
-
Sets the prefix for the user-agent, if it is null the CastLabs SDK version would be considered as the prefix.
- setPreselectedAudio(List<TrackIndexOverride>) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Preselect audio tracks available for the selection
- setPreselectedSideloadedTracks(List<SubtitleTrack>) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Preselect sideloaded subtitle tracks available for the selection
- setPreselectedSubtitle(List<TrackIndexOverride>) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Preselect subtitle tracks available for the selection
- setPreselectedVideoQualities(int[]) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Preselect video qualities available for the selection
- setPreserveCache(boolean) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Activates or deactivates cache preservation
- setPropertyByteArray(String, byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- setPropertyString(String, String) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
- setRepresentation(Representation.MultiSegmentRepresentation) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Sets the representation.
- setResumeConfiguration(PlayerViewLifecycleDelegate.ResumeConfiguration) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
- setRtpQueueSizeInPackets(int) - Method in class com.castlabs.android.player.AmLogicPlayerPlugin
- setRtpQueueSizeInPackets(int) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- setScalingMode(int) - Method in interface com.castlabs.android.player.IPlayerView
- setScalingMode(int) - Method in class com.castlabs.android.player.PlayerView
-
Sets the new scaling mode to one of
PlayerView.SCALING_MODE_FIT
,PlayerView.SCALING_MODE_CROP
, orPlayerView.SCALING_MODE_STRETCH
. - setSecondaryDisplay(int) - Method in class com.castlabs.android.player.PlayerController
-
The secondary display setting, which is a bitmap of
SdkConsts.SECONDARY_DISPLAY_NEVER
,SdkConsts.SECONDARY_DISPLAY_ALLOW_UNPROTECTED_CONTENT
,SdkConsts.SECONDARY_DISPLAY_ALLOW_SECURE_DISPLAY
, andSdkConsts.SECONDARY_DISPLAY_ALLOW_ALWAYS
. - setSelectionFlags(int) - Method in class com.castlabs.android.player.models.AudioTrack
-
Set the selection flags
- setSideloaded(boolean) - Method in class com.castlabs.android.player.models.SubtitleTrack
-
Set if the subtitle is of side-loaded type.
- setSideloaded(boolean) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set whether this track has been side loaded or not.
- setSourceSelector(SourceSelector) - Method in class com.castlabs.android.player.PlayerController
-
Deprecated.Use
PlayerController.setExternalSourceSelector(ExternalSourceSelector)
} Set theSourceSelector
that will be used during CDN fallback - setSpeed(float) - Method in class com.castlabs.android.player.PlayerController
-
Enable fast-forward or slow motion playback by specifying the playback speed.
- setSSLSocketFactory(SSLSocketFactory) - Method in class com.castlabs.android.player.PlayerController
-
Set custom
SSLSocketFactory
to be used in DRM and content requests. - setStartSegmentNumber(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the start segment number.
- setSubtitlesStyle(SubtitlesStyle) - Method in class com.castlabs.android.player.PlayerController
-
Allows you to set the desired captioning style that will be used during subtitle rendering.
- setSubtitlesStyle(SubtitlesStyle) - Method in class com.castlabs.android.subtitles.SubtitlesPreviewView
-
Set the current style
- setSubtitleTrack(SubtitleTrack) - Method in class com.castlabs.android.player.PlayerController
-
Enables the given subtitle track.
- setSubtitleTrackIndexOverride(TrackIndexOverride) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Set subtitle track indices override to be used during subtitle selection
- setSubtitleTrackOverride(SubtitleTrack) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Set subtitle track override to be used during subtitle selection
- setSurface(Surface) - Method in class com.castlabs.android.player.PlayerController
-
Set the
Surface
that will be used to render video. - setSurfaceType(int) - Method in class com.castlabs.android.player.PlayerView
-
Set the surface type to one of
PlayerView.SURFACE_SURFACE_VIEW
orPlayerView.SURFACE_TEXTURE_VIEW
to specify the type of surface that will be used to render the video content. - setSurfaceVisibility(boolean) - Method in class com.castlabs.android.player.PlayerView
-
If you pass true to this method, the current surface view will be scaled to zero size to hide it from the screen but keep it alive.
- setText(String) - Method in interface com.castlabs.android.subtitles.SubtitlesPreview
-
Set the subtitle text that will be rendered as a preview
- setText(String) - Method in class com.castlabs.android.subtitles.SubtitlesPreviewView
-
The preview text
- setThumbnailHeight(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the thumbnails height
- setThumbnailWidth(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the thumbnails width
- setTimeMs(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the time per thumbnail in milliseconds.
- setTrackIndex(int) - Method in class com.castlabs.android.player.models.Track
-
Set the track index of this track
- setTrackIndex(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setTransferListener(TransferListener) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
- setTrickModeIds(int[]) - Method in class com.castlabs.android.player.models.Track
- setTrickplayConfiguration(TrickplayConfiguration) - Method in class com.castlabs.android.player.PlayerController
-
Sets which
TrickplayConfiguration
to use. - setType(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the type of thumbnails.
- setUri(Uri) - Method in class com.castlabs.android.network.Request
-
Set the target URI for this request.
- setUrl(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
- setUrl(String) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Set the URL or URL template to the thumbnail data
- setUsage(int) - Method in class com.castlabs.android.player.AudioAttributes.Builder
- setVideoCodecFilter(int) - Method in class com.castlabs.android.player.DefaultMediaCodecSelector
- setVideoCodecFilter(int) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Set the video codec filtering policy, one of
SdkConsts.VideoCodecFilter
. - setVideoFilter(VideoFilterConfiguration, VideoFilterConfiguration) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Sets the video filter for content and ads.
- setVideoFilterConfiguration(VideoFilterConfiguration, VideoFilterConfiguration) - Method in class com.castlabs.android.player.PlayerController
- setVideoFormat(Format) - Method in class com.castlabs.android.player.models.PlayerModel
-
Callback that is triggered when the current video quality changes
- setVideoHdEnabled(boolean) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Enable or disable the video HD tracks.
- setVideoMaxResolution(int, int) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Set the max video tracks resolution in pixels such that the video tracks with higher resolutions will not be available for the selection
- setVideoQuality(VideoTrackQuality) - Method in class com.castlabs.android.player.PlayerController
-
Set the desired video quality or pass null to enable adaptive bitrate switching (default).
- setVideoTrack(VideoTrack) - Method in class com.castlabs.android.player.PlayerController
-
Sets the current video track.
- setVideoTrack(VideoTrack, VideoTrackQuality) - Method in class com.castlabs.android.player.PlayerController
-
Sets the current video track and a manually selected quality.
- setVideoTrackOverride(VideoTrack) - Method in class com.castlabs.android.player.ExtendedTrackSelector
-
Set video track override to be used during video selection
- setVisible(boolean) - Method in interface com.castlabs.android.player.IPlayerView
-
Allow to show ore hide this player view.
- setVisible(boolean) - Method in class com.castlabs.android.player.PlayerView
- setVolume(float) - Method in class com.castlabs.android.player.PlayerController
-
Sets the output volume (gain) of the audio track.
- setWidth(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- setWrapAroundPlaylistEdges(boolean) - Method in class com.castlabs.android.player.SingleControllerPlaylist
-
Set whether the Playlist should wrap around the edges.
- SEVERITY - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- SEVERITY_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- SEVERITY_INFO - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- SEVERITY_WARNING - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- SharedPreferencesKeyStore - Class in com.castlabs.android.drm
-
KeyStore implementation that stores keySetIds in
SharedPreferences
. - SharedPreferencesKeyStore(Context) - Constructor for class com.castlabs.android.drm.SharedPreferencesKeyStore
-
Creates a new store that persists the KeySetIds in a
Context.MODE_PRIVATE
shared preferences using theSharedPreferencesKeyStore.DEFAULT_PREF_NAME
- SharedPreferencesKeyStore(Context, String) - Constructor for class com.castlabs.android.drm.SharedPreferencesKeyStore
-
Creates a new store that persists the KeySetIds in a
Context.MODE_PRIVATE
shared preferences using the given name. - SharedPreferencesKeyStore(SharedPreferences) - Constructor for class com.castlabs.android.drm.SharedPreferencesKeyStore
-
Creates a new store that uses the given shared preferences as backend.
- shouldSeekOnDownloadError(Boolean) - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
- shutdown() - Method in class com.castlabs.android.utils.LazyImageLoader
-
Shut down this image loader.
- SideloadedTrack - Class in com.castlabs.android.player.models
-
Represents a track which is side-loaded (not declared in the content manifest).
- SideloadedTrack(SideloadedTrack.Type, String, String, long, long, long, int, String, String, String) - Constructor for class com.castlabs.android.player.models.SideloadedTrack
- SideloadedTrack.Builder<T> - Class in com.castlabs.android.player.models
-
Base Builder class
- SideloadedTrack.SubtitleBuilder - Class in com.castlabs.android.player.models
-
Convenience Builder to create a
SideloadedTrack
with the type set toSideloadedTrack.Type.SUBTITLE
- SideloadedTrack.ThumbnailBuilder - Class in com.castlabs.android.player.models
-
Convenience Builder to create a
SideloadedTrack
with the type set toSideloadedTrack.Type.THUMBNAIL
- SideloadedTrack.Type - Enum in com.castlabs.android.player.models
- sideloadedTracks - Variable in class com.castlabs.android.player.PlayerConfig
-
Array of side-loaded tracks, either subtitles or thumbnails
- sideloadedTracks(ArrayList<SideloadedTrack>) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the sideloaded tracks
- SimpleLicenseLoader - Class in com.castlabs
-
Implementation of the
LicenseLoader
that will return license data as passed in the constructor. - SimpleLicenseLoader(byte[]) - Constructor for class com.castlabs.SimpleLicenseLoader
- SimpleLicenseLoader(String) - Constructor for class com.castlabs.SimpleLicenseLoader
- SingleControllerPlaylist - Class in com.castlabs.android.player
-
Playlist
implementation. - SingleControllerPlaylist(Context, SingleControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.SingleControllerPlaylist
-
Create a new player controller using the given context
- SingleControllerPlaylist.AbstractPlaylistListener - Class in com.castlabs.android.player
-
Utility class with empty implementations of the methods defined in
SingleControllerPlaylist.PlaylistListener
- SingleControllerPlaylist.ItemLoadListener - Interface in com.castlabs.android.player
-
Listener which provides callbacks for whenever a
PlayerConfig
is loaded or unloaded from the playlist. - SingleControllerPlaylist.PlaylistListener - Interface in com.castlabs.android.player
-
Playlist-related events listener.
- SingleViewPlayerViewComponent() - Constructor for class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
- skipAd() - Method in interface com.castlabs.android.adverts.AdApi
-
Request to skip the currently playing ad, if any, and skippable.
- skipTimeOffset - Variable in class com.castlabs.android.adverts.Ad
-
The number of seconds of playback before the ad becomes skippable.
- slideNext() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Slides the current item in the playlist to the next position.
- slidePrevious() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Slides the current item in the playlist to the previous position.
- snapToSegmentStart - Variable in class com.castlabs.android.player.LiveConfiguration
-
By default the start position for a live stream snaps to a segment start.
- snapToSegmentStart() - Method in interface com.castlabs.android.player.InitialPositionProvider
- snapToSegmentStart(boolean) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Usually live streams start at the the start of a segment.
- SocketConnectivityCheck - Class in com.castlabs.android.network
- SocketConnectivityCheck(Context, String, int, int) - Constructor for class com.castlabs.android.network.SocketConnectivityCheck
-
Check the connectivity by establishing a connection to lookupHost:port with connection timeoutMs
- SOFTWARE - Enum constant in enum com.castlabs.android.drm.SecurityLevel
-
Equals to L3 in Widevine.
- SourceData(ExternalSourceSelector.SwitchType, String) - Constructor for class com.castlabs.android.player.ExternalSourceSelector.SourceData
-
Source (CDN) with specified
ExternalSourceSelector.SwitchType
and manifest URL - SourceData(String) - Constructor for class com.castlabs.android.player.ExternalSourceSelector.SourceData
-
Source (CDN) with
ExternalSourceSelector.SwitchType.Auto
and specified manifest URL - SourceSelector - Interface in com.castlabs.android.player
-
Deprecated.
- sourceSelectorFactory(InternalSourceSelector.Factory) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
-
Set the source selector factory that is used to pick up a base url from the manifest
- speed - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
The playback speed.
- speed(float) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.speed
and returns a reference to this Builder so that the methods can be chained together. - speed(long, long, long, float) - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
-
Configure the catchup mode with
CatchupConfiguration.Type.SPEED
. - SPEED - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.Type
-
Speed up/down.
- speedCoefficient - Variable in class com.castlabs.android.player.CatchupConfiguration
-
Player speed at which to perform Catchup when
CatchupConfiguration.upperTimeThresholdMs
is reached. - speedupMode - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
The
TrickplayConfiguration.SpeedupMode
to use - speedupMode(TrickplayConfiguration.SpeedupMode) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.speedupMode
and returns a reference to this Builder so that the methods can be chained together. - splitEntryPath(Uri) - Static method in class com.castlabs.android.downloader.ContainerUtils
-
Takes a zip file URI of the form
zip:/path/to/file.zip/entry/path.txt
and returns a pair where the first element is the path to the zip file and the second entry is the path to the entry. - SSL_KEY_STORE - Static variable in class com.castlabs.android.PlayerSDK
-
The SSL key store used to verify certificates only in case the system default key store fails to verify them.
- SslUtils - Class in com.castlabs.android.utils
- start(Activity) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
-
Call this method when the hosting activity is started.
- start(PlayerController, AnalyticsMetaData) - Method in class com.castlabs.analytics.AnalyticsSession
- start(PlayerController, AnalyticsMetaData) - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Start the session on the given controller
- startInternal(PlayerController, AnalyticsMetaData) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- startOffsetUs - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
- stop() - Method in class com.castlabs.analytics.AnalyticsSession
- stop() - Method in interface com.castlabs.analytics.IAnalyticsSession
-
Stop the session.
- stopInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
- StreamingEventListener - Interface in com.castlabs.android.player
-
You can use this listener to get callbacks about current content downloads.
- streamType - Variable in class com.castlabs.android.adverts.Ad
- stringForBitrate(int) - Static method in class com.castlabs.utils.StringUtils
-
Formats a given bitrate as bps, Kbps, or Mbps.
- stringForBitrate(long) - Static method in class com.castlabs.utils.StringUtils
-
Formats a given bitrate as bps, Kbps, or Mbps.
- stringForComputerSize(long) - Static method in class com.castlabs.utils.StringUtils
-
Convert the size in bytes into a string typed as "x.xx bytes", "x.xx KB" or "x.xx MB" or "x.xx GB"
- stringForTime(long) - Static method in class com.castlabs.utils.StringUtils
-
Convert the time in seconds into a string type as "hh:mm:ss" or "mm:ss" depending on the duration being >= 1h or not
- stringForTime(long, boolean) - Static method in class com.castlabs.utils.StringUtils
-
Convert the time in seconds into a string type as "hh:mm:ss" or "mm:ss" depending on the duration being >= 1h or not or the hour format is forced.
- stringForTime(long, TimeUnit) - Static method in class com.castlabs.utils.StringUtils
-
Convert the time in seconds into a string type as "hh:mm:ss" or "mm:ss" depending on the duration being >= 1h or not
- stringForTimeMs(long, boolean, boolean) - Static method in class com.castlabs.utils.StringUtils
-
Convert the time in milliseconds into a string type as "hh:mm:ss" or "mm:ss" depending on the duration being >= 1h or not or the hour format is forced.
- StringUtils - Class in com.castlabs.utils
-
String utilities and formats
- StringUtils() - Constructor for class com.castlabs.utils.StringUtils
- STRIP_NON_ASCII_CHARACTERS - Static variable in class com.castlabs.android.network.UserAgent
-
By default, the UserAgent string will be stripped and all non-ASCII characters will be removed.
- Subtitle - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
- SUBTITLE - Enum constant in enum com.castlabs.android.player.models.SideloadedTrack.Type
- SUBTITLE_PREVIEW_BUILDER - Static variable in class com.castlabs.android.PlayerSDK
-
Static property that can be set (usually by plugins) to register a preview builder that is in turn used to create subtitle preview views.
- SUBTITLE_SUB_SAMPLE_TYPE_ABSOLUTE - Static variable in class com.castlabs.android.SdkConsts
-
Use this value for absolute subtitle time.
- SUBTITLE_SUB_SAMPLE_TYPE_RELATIVE - Static variable in class com.castlabs.android.SdkConsts
-
Use this value for relative subtitle time.
- SubtitleBuilder() - Constructor for class com.castlabs.android.player.models.SideloadedTrack.SubtitleBuilder
- SubtitlesPreview - Interface in com.castlabs.android.subtitles
-
Implementations of this interface provide a view that can render a preview of a given subtitle text.
- SubtitlesPreviewBuilder - Interface in com.castlabs.android.subtitles
-
Implementations of this interface can create
SubtitlesPreview
instances. - SubtitlesPreviewView - Class in com.castlabs.android.subtitles
-
View component that can be added to show a preview of subtitles with a given style.
- SubtitlesPreviewView(Context) - Constructor for class com.castlabs.android.subtitles.SubtitlesPreviewView
- SubtitlesPreviewView(Context, AttributeSet) - Constructor for class com.castlabs.android.subtitles.SubtitlesPreviewView
- SubtitlesPreviewView(Context, AttributeSet, int) - Constructor for class com.castlabs.android.subtitles.SubtitlesPreviewView
- SubtitlesStyleObserver - Interface in com.castlabs.android.subtitles
-
Implementations of this interface can receive a
SubtitlesStyle
that will be used to render subtitles and closed captions. - subtitlesTrackGroupIndex - Variable in class com.castlabs.android.player.PlayerConfig
-
The index of the selected subtitle track group or -1 for if subtitles are disabled
- subtitlesTrackGroupIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the subtitles track group index
- subtitlesTrackIndex - Variable in class com.castlabs.android.player.PlayerConfig
-
The index of the selected subtitle track or -1 for if subtitles are disabled
- subtitlesTrackIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the subtitles track index
- subtitleSubSampleType - Variable in class com.castlabs.android.player.PlayerConfig
-
Defines whether the subtitle times are absolute or relative.
- subtitleSubSampleType(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Defines whether the subtitle times are absolute or relative.
- SubtitlesViewComponent<T> - Class in com.castlabs.android.views
-
This is a
PlayerViewPlugin.PlayerViewComponent
that will be automatically used when you are using aPlayerView
. - SubtitlesViewComponent() - Constructor for class com.castlabs.android.views.SubtitlesViewComponent
- SubtitleTrack - Class in com.castlabs.android.player.models
-
A subtitle track.
- SubtitleTrack() - Constructor for class com.castlabs.android.player.models.SubtitleTrack
-
Create a new track instance
- SubtitleTrack(Format) - Constructor for class com.castlabs.android.player.models.SubtitleTrack
-
Create a new track instance and populate it from the information from the given format.
- SUPPLEMENTAL_PROPERTY - Static variable in class com.castlabs.android.player.DashDescriptor
- SURFACE_SURFACE_VIEW - Static variable in class com.castlabs.android.player.PlayerView
-
Indicates the use of a
SurfaceView
to provide the rendering surface for this player view. - SURFACE_TEXTURE_VIEW - Static variable in class com.castlabs.android.player.PlayerView
-
Indicates the use of a
TextureView
to provide the rendering surface for this player view. - swap(PlayerConfig, PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
-
Interchanges two Playlist items.
- swap(PlayerConfig, PlayerConfig) - Method in interface com.castlabs.android.player.Playlist
-
Interchanges two Playlist items.
- swap(PlayerConfig, PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
- switchType - Variable in class com.castlabs.android.player.ExternalSourceSelector.SourceData
- syncElapsedTime - Variable in class com.castlabs.android.player.DrmKeyStorage
- syncLocalTime - Variable in class com.castlabs.android.player.DrmKeyStorage
- SYSTEM_STATUS_CALLBACK - Static variable in class com.castlabs.android.PlayerSDK
-
If specified, the callback implementation will be triggered on the main thread and inform about the current system status.
T
- TAG_URL_KEY - Static variable in class com.castlabs.android.adverts.AdRequest
-
Ad tag for (client-side) IMA requests.
- target - Variable in class com.castlabs.android.downloader.DownloadableResource
-
The absolute path to the local target path.
- TEXT - Static variable in class com.castlabs.android.SdkConsts
-
Identifies the subtitle or text content
- TEXT_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
-
Identifies the subtitle track
- threesixty - Variable in class com.castlabs.android.player.PlayerConfig
-
360 support
- threesixty(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets whether this is 360 content
- THUMBNAIL - Enum constant in enum com.castlabs.android.player.models.SideloadedTrack.Type
- THUMBNAIL - Static variable in class com.castlabs.android.SdkConsts
- ThumbnailBuilder() - Constructor for class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
- thumbnailConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The connection timeout in milliseconds for thumbnail requests.
- thumbnailConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the connection timeout for thumbnail requests.
- ThumbnailDataTrack - Class in com.castlabs.android.player.models
-
A thumbnail track.
- ThumbnailDataTrack() - Constructor for class com.castlabs.android.player.models.ThumbnailDataTrack
- ThumbnailDataTrack(Format) - Constructor for class com.castlabs.android.player.models.ThumbnailDataTrack
- ThumbnailDataTrack.ThumbnailFormat - Annotation Type in com.castlabs.android.player.models
- thumbnailFormat - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
Thumbnail format.
- thumbnailReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
-
The read timeout in milliseconds for thumbnail requests.
- thumbnailReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
-
Sets the read timeout for thumbnail requests.
- thumbnailType(int) - Method in class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
-
Set the thumbnail format
- TIME_FORMAT - Static variable in class com.castlabs.android.drm.DrmTodayUriFactory
- timeline - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
- Timeline - Class in com.castlabs.android.player.models
-
Timeline object.
- Timeline.Builder - Class in com.castlabs.android.player.models
- Timeline.Period - Class in com.castlabs.android.player.models
-
A Period.
- Timeline.Period.Builder - Class in com.castlabs.android.player.models
- Timeline.Window - Class in com.castlabs.android.player.models
-
A Window.
- Timeline.Window.Builder - Class in com.castlabs.android.player.models
- TimelineChangedListener - Interface in com.castlabs.android.player
- TimelineListener - Interface in com.castlabs.android.player
-
Deprecated.Use
TimelineChangedListener
orPeriodChangedListener
instead - timeOffset - Variable in class com.castlabs.android.adverts.AdPodData
-
Returns the content time offset at which the current ad pod was scheduled.
- timeReference - Variable in class com.castlabs.android.player.CatchupConfiguration
-
The time reference to which the thresholds will be relative
- timescale(long) - Method in class com.castlabs.android.player.models.EventStream.Builder
- timesyncSafetyMs - Variable in class com.castlabs.android.player.LiveConfiguration
-
Set the time synchronization safety buffer to cope with inaccuracies
- timesyncSafetyMs(long) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
-
Set the time sync safety to deal with inaccurate time syncs by adjusting the calculated server time.
- timeThresholdMs - Variable in class com.castlabs.android.player.AbrConfiguration
-
The min time in milliseconds before transferred bytes and times are used for ABR calculations, applicable to
AbrConfiguration.METHOD_COMMON_NBA
- timeThresholdMs(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
-
Set the
AbrConfiguration.timeThresholdMs
- timeToMilliseconds(String) - Static method in class com.castlabs.utils.TimeUtils
-
Takes a string of the form "HH:MM:SS", "MM:SS", or "SS" and converts it to milliseconds.
- TimeUtils - Class in com.castlabs.utils
-
Utilities around time
- TimeUtils() - Constructor for class com.castlabs.utils.TimeUtils
- title - Variable in class com.castlabs.android.adverts.Ad
-
Ad title
- title - Variable in class com.castlabs.android.player.Chapter
-
(Optional) title
- toBundle() - Method in class com.castlabs.android.player.PlayerConfig
-
Obtain a
Bundle
filled with key-value pairs representing the current configuration. - toByteArray(InputStream) - Static method in class com.castlabs.utils.IOUtils
-
Read and return the content of the given stream as byte[]
- toCompositeIndex(int, int) - Static method in class com.castlabs.android.downloader.TrackIndexConverter
-
Stores group and track indices into the integer value
- toCounter() - Method in class com.castlabs.android.network.RetryConfiguration
-
INTERNAL: Converts this configuration to the retry counter that will be used by the player
- toString() - Method in class com.castlabs.android.drm.DrmConfiguration
- toString() - Method in class com.castlabs.android.drm.DrmTodayConfiguration
- toString() - Method in exception class com.castlabs.android.drm.DrmTodayException
- toString() - Method in class com.castlabs.android.network.NetworkConfiguration
- toString() - Method in class com.castlabs.android.network.UserAgent
- toString() - Method in class com.castlabs.android.player.AbrConfiguration
- toString() - Method in class com.castlabs.android.player.BufferConfiguration
- toString() - Method in class com.castlabs.android.player.CatchupConfiguration
- toString() - Method in class com.castlabs.android.player.CustomUtcTimingElement
- toString() - Method in class com.castlabs.android.player.DisplayInfo
- toString() - Method in class com.castlabs.android.player.DrmKeyStorage
- toString() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- toString() - Method in class com.castlabs.android.player.LiveConfiguration
- toString() - Method in class com.castlabs.android.player.LowLatencyProfile
- toString() - Method in class com.castlabs.android.player.models.AudioTrack
- toString() - Method in class com.castlabs.android.player.models.EventMessage
- toString() - Method in class com.castlabs.android.player.models.SubtitleTrack
- toString() - Method in class com.castlabs.android.player.models.VideoTrackQuality
- toString() - Method in class com.castlabs.android.player.TrickplayConfiguration
- toString(InputStream) - Static method in class com.castlabs.utils.IOUtils
-
Gets the contents of an InputStream as a String assuming UTF8 encoding
- totalAds - Variable in class com.castlabs.android.adverts.AdPodData
-
Returns the total number of ads contained within this pod, including bumpers.
- toTrackFromCompositeIndex(int) - Static method in class com.castlabs.android.downloader.TrackIndexConverter
-
Extracts track index from the given integer value
- toTrackGroupFromCompositeIndex(int) - Static method in class com.castlabs.android.downloader.TrackIndexConverter
-
Extracts group index from the given integer value
- Track - Class in com.castlabs.android.player.models
-
Base class for tracks that exposes a track index to uniquely identify the track within a player model.
- Track() - Constructor for class com.castlabs.android.player.models.Track
- TRACK_TYPE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
The value of the key is the track type, one of
PlayerController.VIDEO_RENDERER
,PlayerController.AUDIO_RENDERER
,PlayerController.TEXT_RENDERER
orPlayerController.METADATA_RENDERER
- TRACK_TYPE_PROVIDER - Static variable in class com.castlabs.android.PlayerSDK
-
The track type provider that will be used to define track group and tracks types and their weights.
- TRACK_TYPE_THUMBNAIL - Static variable in class com.castlabs.android.SdkConsts
-
Track type defining thumbnails track
- TrackFilter - Interface in com.castlabs.android.player.filter
-
Single-track filter interface.
- trackGroupIndex - Variable in class com.castlabs.android.player.TrackIndexOverride
- trackIndex - Variable in class com.castlabs.android.player.TrackIndexOverride
- TrackIndexConverter - Class in com.castlabs.android.downloader
-
Utility class used to store group and track indices within one integer.
- TrackIndexConverter() - Constructor for class com.castlabs.android.downloader.TrackIndexConverter
- TrackIndexOverride - Class in com.castlabs.android.player
- TrackIndexOverride(int, int) - Constructor for class com.castlabs.android.player.TrackIndexOverride
- TrackRendererContainer(BaseRenderer, Integer) - Constructor for class com.castlabs.android.player.TrackRendererPlugin.TrackRendererContainer
-
Create an instance of this container
- TrackRendererPlugin - Interface in com.castlabs.android.player
-
This plugin interface can be used to implement a track renderer integration.
- TrackRendererPlugin.TrackRendererBuilder - Interface in com.castlabs.android.player
-
Implementations of the builder a responsible to create
Renderer
instances. - TrackRendererPlugin.TrackRendererContainer - Class in com.castlabs.android.player
-
The builder interface creates instances of this container that wraps the renderer instance and an optional view component.
- TrackRendererPlugin.Type - Enum in com.castlabs.android.player
-
The different content types
- TrackSelectionListener - Interface in com.castlabs.android.player
-
This is a high level listener interface that provides callbacks for track selection events.
- trackType - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
Track type, can be either
SideloadedTrack.Type.SUBTITLE
orSideloadedTrack.Type.THUMBNAIL
- TrackTypeProvider - Class in com.castlabs.android.player
-
The implementations of this interface should provide the track types, track group types and their weights according to some desired model.
- TrackTypeProvider() - Constructor for class com.castlabs.android.player.TrackTypeProvider
- TrackTypeUtils - Class in com.castlabs.android.utils
- trickplayConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
-
The Trickplay configuration
- trickplayConfiguration(TrickplayConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the
TrickplayConfiguration
- TrickplayConfiguration - Class in com.castlabs.android.player
-
Container which groups several Trickplay (speedup) configuration.
- TrickplayConfiguration() - Constructor for class com.castlabs.android.player.TrickplayConfiguration
- TrickplayConfiguration(TrickplayConfiguration.SpeedupMode, float, boolean, boolean, boolean, boolean, int, VideoTrackQuality, double, long) - Constructor for class com.castlabs.android.player.TrickplayConfiguration
- TrickplayConfiguration.Builder - Class in com.castlabs.android.player
-
TrickplayConfiguration
Builder. - TrickplayConfiguration.SpeedupMode - Enum in com.castlabs.android.player
-
Speedup mode to use during Trickplay
- trickplayTrack - Variable in class com.castlabs.android.player.TrickplayConfiguration
-
If informed, this will be the track that will be loaded for trickplay playback.
- trickplayTrack(VideoTrackQuality) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
-
Sets the
TrickplayConfiguration.Builder.trickplayTrack
and returns a reference to this Builder so that the methods can be chained together. - tryPlayerController() - Method in interface com.castlabs.android.player.IPlayerView
-
Returns the current instance of the
PlayerController
that is used by this view. - tryPlayerController() - Method in class com.castlabs.android.player.PlayerView
- TunnelingException - Exception Class in com.castlabs.android.player.exceptions
-
Exception that is raised when tunneling mode can not be enabled because of specified reasons.
- TunnelingException.Reason - Enum in com.castlabs.android.player.exceptions
- type - Variable in class com.castlabs.android.downloader.DownloadableResource
-
The chunk type, for example
SdkConsts.THUMBNAIL
. - type - Variable in exception class com.castlabs.android.drm.CastlabsMediaDrm.CastlabsMediaDrmException
- type - Variable in class com.castlabs.android.network.Request
-
The request type.
- type - Variable in class com.castlabs.android.network.Response
-
The response type.
- type - Variable in class com.castlabs.android.player.CatchupConfiguration
-
The type (strategy) of the Catchup behaviour.
- TYPE_AD_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised when a general error occurs at initializing or during an Ad.
- TYPE_AD_REQUEST_UNSUPPORTED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when trying to play Ads but the current Player setup doesn't support it.
- TYPE_API_MISMATCH - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if a method is called that is not supported on the current API level.
- TYPE_AUDIO_DECODER_INITIALIZATION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when the audio decoder can not be initialized.
- TYPE_AUDIO_DECRYPTION_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Raised when an error occurs while decrypting audio data.
- TYPE_AUDIO_TRACK_INITIALIZATION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when the track can not be initialized.
- TYPE_AUDIO_UNSUPPORTED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if all audio tracks are filtered out as unsupported.
- TYPE_AUDIO_WRITE_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Raised when an error occurs while writing to the audio track.
- TYPE_BEHIND_LIVE_WINDOW - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when the current playback position is behind the live edge in a live stream.
- TYPE_BIF - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Type that indicates that the URL to a BIF file is used where the BIF file contains the Index and the thumbnails.
- TYPE_CONNECTIVITY_GAINED_INFO - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This exception is raised after the player lost connectivity (
CastlabsPlayerException.TYPE_CONNECTIVITY_LOST_ERROR
), once connectivity was re-gained. - TYPE_CONNECTIVITY_LOST_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if an exception occurred while downloading playback and no network connectivity is available.
- TYPE_CSL_LIMIT_REACHED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when concurrent stream limiting reaches maximum clients
- TYPE_CSL_NETWORK_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when there's a network error with the concurrent stream limiting service
- TYPE_DATA_DOWLOAD_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if an exception occurred while downloading data.
- TYPE_DNS_SERVER_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised when a DNS server error occurs.
- TYPE_DOWNLOAD_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if an exception occurred while downloading playback data.
- TYPE_DRM_EXCEPTION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if an exception occurred while the player was communicating with DRM server to fetch a license.
- TYPE_DRM_KEY_DOWNLOAD_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if a DRM key could not be fetched successfully.
- TYPE_DRM_PROVISION_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised during device provisioning
- TYPE_DRMTODAY_EXCEPTION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if an exception occurred while the player was communicating with DRMToday to fetch a license.
- TYPE_HDCP_CONNECTION_WARNING - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This exception is raised after the player sees changes in HDCP connectivity.
- TYPE_INVALID_PLAYER_LICENSE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when the castLabs player license is invalid or expired.
- TYPE_JPEG_TEMPLATE - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Type that indicates that a template URL is used where $index$ will be replaced with the thumbnail index starting at 1.
- TYPE_KEY_EXPIRED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if a DRM key expires during playback.
- TYPE_MANIFEST_INVALID - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error happens when the player found a semantic issue with a Manifest.
- TYPE_MANIFEST_LOADING_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error type is raised when loading the player manifest (i.e.
- TYPE_MANIFEST_PARSING_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error type is raised when parsing the player manifest (i.e.
- TYPE_NO_PLAYABLE_CONTENT - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when the applied filters were not able to find any viable content that can be displayed on the current device.
- TYPE_NO_RENDERER_FOUND - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when no plugin was found that can be used to create a renderer to playback a given DRM and content combination.
- TYPE_PLAYBACK_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when the ExoPlayer reports a general playback error.
- TYPE_SDK_INIT_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when the SDK could not be initialised successfully.
- TYPE_SDK_NOT_INITIALIZED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when the SDK was not initialized using one of
PlayerSDK.init(Context)
orPlayerSDK.init(Context, LicenseLoader)
. - TYPE_SECONDARY_DISPLAY - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if a secondary display is detected and the current configuration does not permit playback on that display.
- TYPE_TEXT_UNSUPPORTED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if all text tracks are filtered out as unsupported.
- TYPE_TIME_OUT_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised when a timeout error occurs.
- TYPE_TUNNELING_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error happens when tunneling mode can not be enabled on a device and the playback in non-tunneling mode continues.
- TYPE_UNDEFINED - Static variable in class com.castlabs.android.player.TrackTypeProvider
-
Defines the unknown or not applicable track or track group type.
- TYPE_UNKNOWN - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised with an unknown type
- TYPE_UNKNOWN - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Type that indicates that the actual thumbnail type is unknown and should be inferred from the URL extension.
- TYPE_UNSUPPORTED_DRM - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if you are trying to use a DRM system that is not supported by the device.
- TYPE_USER_ID_NOT_PROVIDED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Error raised when the userID is mandatory and has not been provided.
- TYPE_VIDEO_BLOCKLIST_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised when video quality blocklisting fails as the current quality is the only video quality left for playback.
- TYPE_VIDEO_DECODER_INITIALIZATION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Raised when the video decoder can not be initialized.
- TYPE_VIDEO_DECRYPTION_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Raised when an error occurs while decrypting audio data.
- TYPE_VIDEO_UNSUPPORTED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
This error is raised if all video tracks are filtered out as unsupported.
- TYPE_WEBVTT_INDEX - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
-
Type that indicates the a URL to a WebVTT file is used where the WebVTT is the index over the thumbnails.
- typeCheck(Object, Class<?>, Object, String) - Static method in class com.castlabs.android.player.PlayerConfig.Builder
-
Helper function that we use to type check the value extracted from a bundle
- typesOverlap(int, int) - Method in class com.castlabs.android.player.DefaultTrackTypeProvider
- typesOverlap(int, int) - Method in class com.castlabs.android.player.TrackTypeProvider
-
Returns
true
if the types overlap otherwisefalse
. - typeString(int) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
-
Translates an error type to a human readable string
U
- Unknown - Enum constant in enum com.castlabs.android.drm.KeyStatus
-
No information about the key yet
- UNKNOWN_CUSTOMER_ID - Static variable in class com.castlabs.android.SdkConsts
-
The customer ID that is used when no customer id could be found or the SDK was not yet initialized
- UNKNOWN_INDEX - Static variable in class com.castlabs.android.player.models.Track
-
Indicates that an index is unknown
- UNKNOWN_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
-
Identifies an unknown track
- UNKNOWN_TIME_MS - Static variable in class com.castlabs.android.SdkConsts
-
Represents an unknown millisecond time or duration.
- UNKNOWN_TIME_US - Static variable in class com.castlabs.android.SdkConsts
-
Represents an unknown microsecond time or duration.
- unsecureDecoderFallback - Variable in class com.castlabs.android.player.PlayerConfig
-
If true (default), allows the player to fallback to unsecure decoders if it failed to initialize the primary decoder.
- unsecureDecoderFallback(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
If true (default), allows the player to fallback to unsecure decoders if it failed to initialize the primary decoder.
- unsetComponentView(int) - Method in class com.castlabs.android.player.PlayerController
-
Remove the View linked to the provided view id
- unsetComponentViews() - Method in class com.castlabs.android.player.PlayerController
-
Removes all the Component Views
- UNSUPPORTED_AUDIO_CODECS - Static variable in class com.castlabs.utils.Codecs
- update() - Method in class com.castlabs.android.player.AbrConfiguration
-
Returns a new builder instance that can be used to create a new configuration that is based on this instance.
- updateEmbeddedThumbnailTracks(Collection<ThumbnailDataTrack>) - Method in class com.castlabs.android.player.models.PlayerModel
-
Replaces embedded (not sideloaded) thumbnail tracks with the provided ones.
- upperTimeThresholdMs - Variable in class com.castlabs.android.player.CatchupConfiguration
-
Threshold relative to the
CatchupConfiguration.timeReference
which indicates the start trigger of the Catchup. - uri - Variable in class com.castlabs.android.downloader.DownloadableResource
-
The sources URL
- uri - Variable in class com.castlabs.android.network.Response
-
The URI of this request
- uri - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial.Asset
- UriUtils - Class in com.castlabs.utils
-
Provides helpers and utilities for
Uri
s. - UriUtils() - Constructor for class com.castlabs.utils.UriUtils
- url - Variable in class com.castlabs.android.cas.CasConfiguration
-
The proxy URL
- url - Variable in class com.castlabs.android.drm.DrmConfiguration
-
The proxy URL
- url - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
- url - Variable in class com.castlabs.android.player.models.SideloadedTrack
-
The URL or URL template for this track.
- url(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.Builder
-
Set the url
- URL - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
- us2ms(long) - Static method in class com.castlabs.utils.TimeUtils
-
Converts Microseconds to Milliseconds
- us2s(long) - Static method in class com.castlabs.utils.TimeUtils
-
Converts Microseconds to Seconds
- Usable - Enum constant in enum com.castlabs.android.drm.KeyStatus
-
Key response is received and the key is usable for playback
- useCMSD - Variable in class com.castlabs.android.player.AbrConfiguration
-
When enabled, the Player will try to parse the CMSD-Dynamic header to extract the backend-informed estimated bandwidth (the etp field) and use it as the estimation for quality selection.
- useCMSD(boolean) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
- useEth0 - Variable in class com.castlabs.android.player.PlayerConfig
-
A boolean flag to indicate to use eth0 for multicast reception
- useEth0(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
If set to true then the SDK if IPTV is used, eth0 will be used for multicast for multicast reception
- UserAgent - Class in com.castlabs.android.network
-
Instances of this class are used to construct the user agent that is used for HTTP requests.
- UserAgent() - Constructor for class com.castlabs.android.network.UserAgent
- UserAgent.UserAgentFlags - Annotation Type in com.castlabs.android.network
-
The flags that enable or disable field presence in the User-Agent.
- userId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
The user ID
- userID - Variable in class com.castlabs.android.player.PlayerConfig
-
User ID.
- userID(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the user ID
- useStandaloneMediaClock - Variable in class com.castlabs.android.player.PlayerConfig
-
If set to true, will use Exoplayer's
StandaloneMediaClock
instead of the Renderer Clock. - useStandaloneMediaClock(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
If set to true, will use Exoplayer's
StandaloneMediaClock
instead of the Renderer Clock.
V
- Validate - Class in com.castlabs.utils
-
Helper class that can be used to validate input.
- Validate() - Constructor for class com.castlabs.utils.Validate
- value - Variable in class com.castlabs.android.player.CustomUtcTimingElement
- value(String) - Method in class com.castlabs.android.player.models.EventMessage.Builder
-
The value for the event.
- valueOf(String) - Static method in enum com.castlabs.android.drm.Drm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.drm.KeyStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.drm.SecurityLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.player.CatchupConfiguration.TimeReference
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.player.CatchupConfiguration.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.player.CustomDashEventListener.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.player.ExternalSourceSelector.SwitchType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.player.models.SideloadedTrack.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.player.PlayerController.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.player.TrackRendererPlugin.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.castlabs.android.player.TrickplayConfiguration.SpeedupMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.castlabs.android.drm.Drm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.drm.KeyStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.drm.SecurityLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.player.CatchupConfiguration.TimeReference
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.player.CatchupConfiguration.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.player.CustomDashEventListener.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.player.ExternalSourceSelector.SwitchType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.player.models.SideloadedTrack.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.player.PlayerController.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.player.TrackRendererPlugin.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.castlabs.android.player.TrickplayConfiguration.SpeedupMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- variantId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
-
The variant ID
- variantId(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
-
Set the variant ID.
- Video - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
- VIDEO - Static variable in class com.castlabs.android.SdkConsts
-
Identifies the video content
- VIDEO_CODEC_BUFFER_MODE - Static variable in class com.castlabs.android.PlayerSDK
- VIDEO_CODEC_FILTER - Static variable in class com.castlabs.android.PlayerSDK
-
The default global video codec filter used to configure the video codec filtering.
- VIDEO_CODEC_FILTER_CAPS - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a key to
SdkConsts.INTENT_VIDEO_CODEC_FILTER
to instruct the player to use video codec capabilities when filtering out unsupported video qualities. - VIDEO_CODEC_FILTER_NONE - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a key to
SdkConsts.INTENT_VIDEO_CODEC_FILTER
to instruct the player not to use video codec capabilities when filtering out unsupported video qualities. - VIDEO_FILTER - Static variable in class com.castlabs.android.PlayerSDK
-
The default global
VideoFilterConfiguration
to use in order to filter video qualities. - VIDEO_FILTER_AUTO - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a value for
SdkConsts.INTENT_VIDEO_FILTER
to instruct the player to use device screen resolution filtering when all but one, closest and exceeding device screen resolution, video tracks will be filtered out. - VIDEO_FILTER_NONE - Static variable in class com.castlabs.android.SdkConsts
-
Use this as a value to
SdkConsts.INTENT_VIDEO_FILTER
to instruct the player not to use any of the pixel count filtering i.e. - VIDEO_QUALITY_ADAPTIVE - Static variable in class com.castlabs.android.SdkConsts
-
Indicates ABR based video quality selection.
- VIDEO_QUALITY_HIGHEST - Static variable in class com.castlabs.android.SdkConsts
-
Pass this to
AbrConfiguration.Builder.initialTrackSelection(int, boolean)
to select the video quality with the highest available resolution - VIDEO_QUALITY_LOWEST - Static variable in class com.castlabs.android.SdkConsts
-
Pass this to
AbrConfiguration.Builder.initialTrackSelection(int, boolean)
to select the video quality with the lowest available resolution - VIDEO_QUALITY_MANUAL - Static variable in class com.castlabs.android.SdkConsts
-
Indicates manual video quality selection.
- VIDEO_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
-
Identifies the video track
- VIDEO_SIZE_FILTER - Static variable in class com.castlabs.android.PlayerSDK
-
Deprecated.Use
PlayerSDK.VIDEO_FILTER
instead. - VIDEO_SIZE_FILTER_AUTO - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.Use
SdkConsts.VIDEO_FILTER_AUTO
instead - VIDEO_SIZE_FILTER_NONE - Static variable in class com.castlabs.android.SdkConsts
-
Deprecated.
- videoCodec(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the preferred video codec for all video types.
- videoCodecFilter - Variable in class com.castlabs.android.player.PlayerConfig
-
The video codec filter
- videoCodecFilter(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the type of video codec filter
- VideoConfigurationTrackFilter - Class in com.castlabs.android.player.filter
-
TrackFilter which uses
VideoFilterConfiguration
. - VideoConfigurationTrackFilter(VideoFilterConfiguration, VideoFilterConfiguration) - Constructor for class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
- videoDecoderFallback - Variable in class com.castlabs.android.player.PlayerConfig
-
If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
- videoDecoderFallback(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
- videoDrmInitData - Variable in class com.castlabs.android.drm.DrmInitDataContainer
- videoFeedYield(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
-
Whether to enable video renderer stop feeding decoder when other renderers (audio) are ready to start new render cycle.
- videoFeedYieldEnabled - Variable in class com.castlabs.android.player.BufferConfiguration.Builder
- videoFeedYieldEnabled - Variable in class com.castlabs.android.player.BufferConfiguration
-
The behaviour for video renderer when feeding decoder.
- videoFilterConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
-
The video filter configuration
- videoFilterConfiguration(VideoFilterConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Set the VideoFilterConfiguration
- VideoFilterConfiguration - Class in com.castlabs.android.player
- VideoFilterConfiguration.Builder - Class in com.castlabs.android.player
-
VideoFilterConfiguration
builder static inner class. - VideoRendererListener - Interface in com.castlabs.android.player
-
A listener that can be attached to the
PlayerController
to be informed about video rendering events such as decoder initializations, format changes and frame drops. - videoSizeFilter - Variable in class com.castlabs.android.player.PlayerConfig
-
Deprecated.Use
VideoFilterConfiguration.maxPixel
instead. - videoSizeFilter(Point) - Method in class com.castlabs.android.player.PlayerConfig.Builder
- VideoTrack - Class in com.castlabs.android.player.models
-
A video track.
- VideoTrack() - Constructor for class com.castlabs.android.player.models.VideoTrack
-
Create a new track with an unknown duration
- VideoTrack(long) - Constructor for class com.castlabs.android.player.models.VideoTrack
-
Create a new track with the given duration in micro seconds
- videoTrackGroupIndex - Variable in class com.castlabs.android.player.PlayerConfig
-
The index of the selected video track group
- videoTrackGroupIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the video track group index
- VideoTrackListener - Class in com.castlabs.android.player
-
This is an implementation of the
VideoRendererEventListener
that is used to delegate events from the track renderer to thePlayerListener
instances that are registered with the currentPlayerController
. - VideoTrackListener(PlayerListeners) - Constructor for class com.castlabs.android.player.VideoTrackListener
- VideoTrackQuality - Class in com.castlabs.android.player.models
-
Represents a single quality of a video track.
- VideoTrackQuality(int) - Constructor for class com.castlabs.android.player.models.VideoTrackQuality
-
Create a new video track quality with a bitrate > 0
- VideoTrackQuality(Format) - Constructor for class com.castlabs.android.player.models.VideoTrackQuality
-
Create a new video track quality based on the given format
- videoTracks - Variable in class com.castlabs.android.downloader.DownloadInfo
-
The original indices of the selected video tracks
- viewerId - Variable in class com.castlabs.analytics.AnalyticsMetaData
-
An identifier for the current User
- viewId - Variable in class com.castlabs.android.player.TrackRendererPlugin.TrackRendererContainer
- ViewLoader - Class in com.castlabs.android.player
- ViewLoader.PlaylistType - Annotation Type in com.castlabs.android.player
- VIEWPOINT - Static variable in class com.castlabs.android.player.DashDescriptor
- ViewScanner - Class in com.castlabs.android.utils
-
Utility class to scan views in a ViewGroup
- VisualComponentProxy - Class in com.castlabs.android.player
-
VisualComponent whose task is to communicate a
PlayerControllerPlugin.ComponentViewListener
with thePlayerControllerPlugin.Component
machinery. - VisualComponentProxy() - Constructor for class com.castlabs.android.player.VisualComponentProxy
- volume - Variable in class com.castlabs.android.player.PlayerConfig
-
The audio track volume
- volume(float) - Method in class com.castlabs.android.player.PlayerConfig.Builder
-
Sets the volume.
W
- waitForInitialization() - Static method in class com.castlabs.android.PlayerSDK
-
INTERNAL method that will block until the SDK is fully initialized.
- waitForMessages() - Method in class com.castlabs.android.player.PlayerController
-
Queues a message to an arbitrary target and blocks until its delivered.
- Waiting - Enum constant in enum com.castlabs.android.drm.KeyStatus
-
Key request was sent but no response received yet
- Widevine - Enum constant in enum com.castlabs.android.drm.Drm
-
Select widevine DRM
- WIDEVINE_UUID - Static variable in class com.castlabs.android.SdkConsts
-
UUID for the Widevine DRM scheme.
- windowIndex(int) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
- Wiseplay - Enum constant in enum com.castlabs.android.drm.Drm
-
Select Wiseplay DRM
- WISEPLAY_UUID - Static variable in class com.castlabs.android.SdkConsts
-
UUID for the WisePlay DRM scheme.
- write(String, int[], Track[], Track[], Track[]) - Static method in class com.castlabs.android.downloader.DownloadInfo
- writeToParcel(Parcel, int) - Method in class com.castlabs.analytics.AnalyticsMetaData
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.adverts.AdRequest
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.adverts.AdSchedule
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.cas.CasConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.drm.DrmConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.drm.DrmTodayConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.network.NetworkConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.network.RetryConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.AbrConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.AudioAttributes
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.BufferConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.CatchupConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.CustomUtcTimingElement
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.LiveConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.MediaCodecInfo
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.models.EventMessage
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.models.SideloadedTrack
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.PlayerConfig
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.TrickplayConfiguration
- writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.VideoFilterConfiguration
Z
- ZipDataSource - Class in com.castlabs.android.downloader
-
Implementation of a DataSource that can read data from a zip file.
- ZipDataSource() - Constructor for class com.castlabs.android.downloader.ZipDataSource
-
Constructs a new
DataSource
that retrieves data from a file. - ZipDataSource(TransferListener) - Constructor for class com.castlabs.android.downloader.ZipDataSource
-
Constructs a new
DataSource
that retrieves data from a file. - ZipDataSource.ZipDataSourceException - Exception Class in com.castlabs.android.downloader
-
Thrown when IOException is encountered during local file read operation.
- ZipDataSourceException(IOException) - Constructor for exception class com.castlabs.android.downloader.ZipDataSource.ZipDataSourceException
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
PlayerController.addTimelineChangedListener(TimelineChangedListener)
orPlayerController.addPeriodChangedListener(PeriodChangedListener)
instead.