Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ABR_SWITCHES - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The number of rendition switches metric name
- AbrPlotsFragment - Class in com.castlabs.sdk.debug.view
-
Fragment that displays ABR (Adaptive Bitrate) plots.
- AbrPlotsFragment() - Constructor for class com.castlabs.sdk.debug.view.AbrPlotsFragment
-
Default constructor for AbrPlotsFragment.
- AbstractSingleListFragment<DataObject> - Class in com.castlabs.sdk.debug.view
-
Abstract Fragment implementation that can be used to implement simple titled lists.
- AbstractSingleListFragment() - Constructor for class com.castlabs.sdk.debug.view.AbstractSingleListFragment
-
Default constructor
- addMetric(Metric) - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Adds a
Metric
to be drawn in this Chart. - addPlayerViewActivityListener(ExtendedPlayerViewProvider.Listener) - Method in interface com.castlabs.sdk.debug.view.ExtendedPlayerViewProvider
-
Add a listener
- attach(Metric.Plotter, PlayerController) - Method in class com.castlabs.sdk.debug.metric.Metric
-
Attach this Metric to the given plotter and PlayerController.
- AVG_BITRATE - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The average bitrate metric name
- AVG_BITRATE_SWITCH_MAGNITUDE - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The average bitrate switch magnitude metric name
B
- BandwidthMetric - Class in com.castlabs.sdk.debug.metric
-
Provides a Metric of the Network estimation.
- BandwidthMetric(int, YAxis.AxisDependency) - Constructor for class com.castlabs.sdk.debug.metric.BandwidthMetric
-
Creates a new BandwidthMetric
- bitrate - Variable in class com.castlabs.sdk.debug.RateLimitTracer.Trace
-
The bitrate of the trace in BPS
- BUFFER_SIZE - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The current buffer size metric name
- BUFFER_TIME - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The current buffer time metric name
- BufferAheadMetric - Class in com.castlabs.sdk.debug.metric
-
Provides a Metric of the Buffer time ahead of the current player position.
- BufferAheadMetric(int, YAxis.AxisDependency) - Constructor for class com.castlabs.sdk.debug.metric.BufferAheadMetric
-
Creates a new BufferAheadMetric
- BufferBehindMetric - Class in com.castlabs.sdk.debug.metric
-
Provides a Metric of the Buffer time behind of the current player position.
- BufferBehindMetric(int, YAxis.AxisDependency) - Constructor for class com.castlabs.sdk.debug.metric.BufferBehindMetric
-
Creates a new BufferBehindMetric
- BUFFERING_TIME - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The buffering time metric name
- Builder() - Constructor for class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Constructs a new Builder.
C
- ChunkDownloadTimeMetric - Class in com.castlabs.sdk.debug.metric
-
Provides a Metric for the chunk download time.
- ChunkDownloadTimeMetric(int, YAxis.AxisDependency, int) - Constructor for class com.castlabs.sdk.debug.metric.ChunkDownloadTimeMetric
-
Creates a new ChunkDownloadTimeMetric
- com.castlabs.sdk.debug - package com.castlabs.sdk.debug
- com.castlabs.sdk.debug.metric - package com.castlabs.sdk.debug.metric
- com.castlabs.sdk.debug.view - package com.castlabs.sdk.debug.view
- create(RateLimiter, InputStream) - Static method in class com.castlabs.sdk.debug.RateLimitTracer
-
Create a new rate limit tracer that, once started, will update the give rate limiter
- createAdapter(MediaCodecAdapter.Configuration) - Method in class com.castlabs.sdk.debug.DebugMediaCodecAdapterFactory
D
- DEBUG_OVERLAY_ID - Static variable in class com.castlabs.sdk.debug.DebugPlugin
-
The ID of the debug overlay view.
- DebugMediaCodecAdapterFactory - Class in com.castlabs.sdk.debug
-
A
MediaCodecAdapter.Factory
that createsDebugMediaCodecAdapterFactory.DebugMediaCodecAdapter
instances. - DebugMediaCodecAdapterFactory(MediaCodecAdapter.Factory) - Constructor for class com.castlabs.sdk.debug.DebugMediaCodecAdapterFactory
-
Creates a new instance.
- DebugMediaCodecAdapterFactory.OnFrameRenderedListener - Interface in com.castlabs.sdk.debug
-
Listener for when a frame is rendered.
- debugOverlay(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Enables or disables the debug overlay.
- debugOverlayPosition(DebugPlugin.DebugOverlayPosition) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Sets the position of the debug overlay.
- DebugPlugin - Class in com.castlabs.sdk.debug
-
This plugin can be registered with
PlayerSDK.register(Plugin)
to enable additional debug logs. - DebugPlugin.Builder - Class in com.castlabs.sdk.debug
-
Use this builder to create new instances of the
DebugPlugin
. - DebugPlugin.DebugOverlayPosition - Enum in com.castlabs.sdk.debug
-
Enum representing the possible positions of the debug overlay.
- DebugRequestResponseModifier - Class in com.castlabs.sdk.debug
-
A
RequestModifier
andResponseModifier
that logs requests and responses based on the configuration of the providedDebugPlugin
. - DebugRequestResponseModifier(DebugPlugin) - Constructor for class com.castlabs.sdk.debug.DebugRequestResponseModifier
-
Creates a new instance of
DebugRequestResponseModifier
. - DEFAULT_MAXIMUM_DATA_AGE_MS - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Maximum age data in this Chart will be kept
- DEFAULT_RENDER_UPDATE_INTERVAL_MS - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Period between Chart updates
- detach() - Method in class com.castlabs.sdk.debug.metric.Metric
-
Unbind this Metric from the previously set PlayerController and Plotter.
- DownloadsFragment - Class in com.castlabs.sdk.debug.view
-
Fragment that show a list of downloads triggered by a player.
- DownloadsFragment() - Constructor for class com.castlabs.sdk.debug.view.DownloadsFragment
-
Default constructor.
E
- enableDebugOverlay - Variable in class com.castlabs.sdk.debug.DebugPlugin
-
If true, the debug overlay is enabled.
- enableMetrics(int) - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Enables the specified Metrics.
- enableRateLimiter(boolean, long) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Enabled or disable rate limiting and set the initial rate limit.
- endTimeMs - Variable in class com.castlabs.sdk.debug.RateLimitTracer.Trace
-
The end time of the trace
- ExtendedPlayerViewProvider - Interface in com.castlabs.sdk.debug.view
-
Interface that must be implemented by activities that use fragments from this plugin where the fragment needs access to the player.
- ExtendedPlayerViewProvider.Listener - Interface in com.castlabs.sdk.debug.view
-
Listener interface that can be implemented to get callbacks when the player view is reloaded or reset
F
- format2Color(Format) - Static method in class com.castlabs.sdk.debug.Utils
-
Converts a video format to a color integer.
- Fullscreen - Enum constant in enum com.castlabs.sdk.debug.DebugPlugin.DebugOverlayPosition
-
Display the debug overlay in fullscreen.
G
- get() - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Create an instance of the debug plugin from this builder.
- getAvgBitrate() - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Get the average bitrate of the traces.
- getDataSet() - Method in class com.castlabs.sdk.debug.metric.Metric
-
Updates and returns the Data set ready to be drawn.
- getDebugOverlayPosition() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for debugOverlayPosition
- getDelegate() - Method in class com.castlabs.sdk.debug.DebugMediaCodecAdapterFactory
-
Returns the delegate
MediaCodecAdapter.Factory
. - getId() - Method in class com.castlabs.sdk.debug.DebugPlugin
- getLimit() - Method in interface com.castlabs.sdk.debug.RateLimiter
-
Get the current rate limit in bps.
- getLogAudioRendererEvents() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logAudioRendererEvents
- getLogDecoderCounters() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logDecoderCounters
- getLogDownloadCanceled() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logDownloadCanceled
- getLogDownloadCompleted() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logDownloadCompleted
- getLogDownloadError() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logDownloadError
- getLogDownloadStarted() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logDownloadStarted
- getLogDownloadUpstreamDiscarded() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logDownloadUpstreamDiscarded
- getLogLoadControl() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logLoadControl
- getLogOpenBundle() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logOpenBundle
- getLogPeriodInfo() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logPeriodInfo
- getLogSupportedDrm() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logSupportedDrm
- getLogTimingDebugInfo() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logTimingDebugInfo
- getLogTransferInfo() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logTransferInfo
- getLogVideoFrameMetadata() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logging video frame metadata
- getLogVideoRendererEvents() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for logVideoRendererEvents
- getMaxBitrate() - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Get the maximum bitrate of the traces.
- getMaximumDataAgeMs() - Method in interface com.castlabs.sdk.debug.metric.Metric.Plotter
-
Maximum time data should be kept.
- getMaximumDataAgeMs() - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
- getMinBitrate() - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Get the minimum bitrate of the traces.
- getRate() - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Get the current rate
- getRateLimiter() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Returns the rate limiter if it was enabled or null
- getRateLimiterEnabled() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Getter for rateLimiterEnabled
- getTimeInTrace() - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Get the current time within the trace range.
- getTraceDurationMs() - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Get the total duration of the traces
- getTraceEndTime(RateLimitTracer.Trace) - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Get the adjusted end time for a trace
- getTraces() - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Get a view on the traces
- getTraceStartTime(RateLimitTracer.Trace) - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
The adjusted start time for a trace
- getVideoCodecAdapterFactory() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Returns the debug media codec adapter factory if it was enabled or null.
H
- hideDebugOverlay() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
hides the debug overlay
I
- initialRateLimitBps - Variable in class com.castlabs.sdk.debug.DebugPlugin
-
The initial rate limit in bits per second.
- isMetricEnabled(int) - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Whether a certain Metric is enabled or not
- isRunning() - Method in class com.castlabs.sdk.debug.view.RateLimitTraces
-
Returns whether the rate tracer is running.
L
- LAST_BUFFER_TIME - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The last buffering time metric name
- LeftBottom - Enum constant in enum com.castlabs.sdk.debug.DebugPlugin.DebugOverlayPosition
-
Display the debug overlay in the bottom-left corner.
- LeftTop - Enum constant in enum com.castlabs.sdk.debug.DebugPlugin.DebugOverlayPosition
-
Display the debug overlay in the top-left corner.
- logAll(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Enable or disable all debug logging
- logAudioRendererEvents(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs audio renderer events.
- logAVSyncThresholdUs - Variable in class com.castlabs.sdk.debug.DebugPlugin
-
The threshold in microseconds for logging AV sync values.
- logDecoderCounters(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs decoder counters.
- logDownloadCanceled(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs when a download is canceled.
- logDownloadCompleted(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs when a download completes.
- logDownloadError(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs download errors.
- logDownloadStarted(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs when a download starts.
- logDownloadUpstreamDiscarded(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs when downloaded data is discarded from upstream.
- logLoadControl(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs load control events.
- logMeanAndDeviationPeriodUs - Variable in class com.castlabs.sdk.debug.DebugPlugin
-
The period in microseconds for logging mean and deviation of AV sync values.
- logOpenBundle(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, Bundle key values pairs passed to
PlayerController.open(Bundle)
will be logged. - logPeriodInfo(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Enables logging for period change events.
- logRequestType(int) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Adds a request type to be logged.
- logRequestTypes - Variable in class com.castlabs.sdk.debug.DebugPlugin
-
A list of request types to log.
- logResponseType(int) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Adds a response type to be logged.
- logResponseTypes - Variable in class com.castlabs.sdk.debug.DebugPlugin
-
A list of response types to log.
- logSupportedDrm(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs supported DRM systems.
- logTimingDebugInfo(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs timing debug information.
- logTransferInfo(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Enables detailed logging for network transfer events.
- logVideoFrameMetadata(boolean, long, long) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
Enable or disable the AV sync measurements.
- logVideoRendererEvents(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin.Builder
-
If enabled, logs video renderer events.
M
- MAX_RATE_LIMIT_BPS - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Maximum allowed rate limit in bits per second
- MediaSegmentView - Class in com.castlabs.sdk.debug.view
-
Simple view that renders a media segment as a line with its relative position and duration
- MediaSegmentView(Context) - Constructor for class com.castlabs.sdk.debug.view.MediaSegmentView
-
Creates a new MediaSegmentView.
- MediaSegmentView(Context, AttributeSet) - Constructor for class com.castlabs.sdk.debug.view.MediaSegmentView
-
Creates a new MediaSegmentView.
- MediaSegmentView(Context, AttributeSet, int) - Constructor for class com.castlabs.sdk.debug.view.MediaSegmentView
-
Creates a new MediaSegmentView.
- MediaSegmentView(Context, AttributeSet, int, int) - Constructor for class com.castlabs.sdk.debug.view.MediaSegmentView
-
Creates a new MediaSegmentView.
- Metric - Class in com.castlabs.sdk.debug.metric
-
Abstract class that provides the required underlying infrastructure to interact with the
PlayerMetricChart
and provide the necessary data to it. - Metric(int, YAxis.AxisDependency) - Constructor for class com.castlabs.sdk.debug.metric.Metric
-
Constructor for a Metric.
- METRIC_ABR_BANDWIDTH_ESTIMATION - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Adds a
BandwidthMetric
- METRIC_ABR_PLAYING_QUALITY - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Adds a
PlayingQualityMetric
- METRIC_ABR_SELECTED_QUALITY - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Adds a
SelectedQualityMetric
- METRIC_BUFFER_AHEAD - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Adds a
BufferAheadMetric
- METRIC_BUFFER_BEHIND - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Adds a
BufferBehindMetric
- METRIC_CHUNK_AUDIO_DOWNLOAD_TIME - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
- METRIC_CHUNK_VIDEO_DOWNLOAD_TIME - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
- METRIC_RATE_LIMIT - Static variable in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Adds a
RateLimitMetric
- Metric.Plotter - Interface in com.castlabs.sdk.debug.metric
-
Represents an object that can plot a metric.
- MIN_RATE_LIMIT_BPS - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Minimum allowed rate limit in bits per second
- MODE_AUDIO - Static variable in class com.castlabs.sdk.debug.metric.ChunkDownloadTimeMetric
-
Mode to display audio chunk download times.
- MODE_VIDEO - Static variable in class com.castlabs.sdk.debug.metric.ChunkDownloadTimeMetric
-
Mode to display video chunk download times.
O
- onAttach(Context) - Method in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
- onAudioTrackChanged(AudioTrack) - Method in class com.castlabs.sdk.debug.metric.SelectedQualityMetric
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.castlabs.sdk.debug.view.AbrPlotsFragment
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.castlabs.sdk.debug.view.AbstractSingleListFragment
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.castlabs.sdk.debug.view.PlayerDataFragment
- onCreateView(LayoutInflater, ViewGroup, Bundle) - Method in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
- onDisplayChanged(DisplayInfo, boolean) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onDurationChanged(long) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onError(CastlabsPlayerException) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onFatalErrorOccurred(CastlabsPlayerException) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onFrameRendered(MediaCodecAdapter, long, long) - Method in interface com.castlabs.sdk.debug.DebugMediaCodecAdapterFactory.OnFrameRenderedListener
-
Called when a frame is rendered.
- onFullyBuffered() - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onPlaybackPositionChanged(long) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onPlayerModelChanged() - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onReload() - Method in class com.castlabs.sdk.debug.view.AbstractSingleListFragment
- onReload() - Method in interface com.castlabs.sdk.debug.view.ExtendedPlayerViewProvider.Listener
-
Triggered when the player view content is re-loaded
- onRequest(Request) - Method in class com.castlabs.sdk.debug.DebugRequestResponseModifier
- onResponse(Response) - Method in class com.castlabs.sdk.debug.DebugRequestResponseModifier
- onSeekCompleted() - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onSeekRangeChanged(long, long) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onSeekTo(long) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onSpeedChanged(float) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onStart() - Method in class com.castlabs.sdk.debug.view.AbrPlotsFragment
- onStart() - Method in class com.castlabs.sdk.debug.view.AbstractSingleListFragment
- onStart() - Method in class com.castlabs.sdk.debug.view.DownloadsFragment
- onStart() - Method in class com.castlabs.sdk.debug.view.PlayerStatsFragment
- onStart() - Method in class com.castlabs.sdk.debug.view.RenditionsFragment
- onStart() - Method in class com.castlabs.sdk.debug.view.TrackSelectionsFragment
- onStateChanged(PlayerController.State) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onStop() - Method in class com.castlabs.sdk.debug.view.AbrPlotsFragment
- onStop() - Method in class com.castlabs.sdk.debug.view.DownloadsFragment
- onStop() - Method in class com.castlabs.sdk.debug.view.PlayerStatsFragment
- onStop() - Method in class com.castlabs.sdk.debug.view.RenditionsFragment
- onStop() - Method in class com.castlabs.sdk.debug.view.TrackSelectionsFragment
- onSubtitleTrackChanged(SubtitleTrack) - Method in class com.castlabs.sdk.debug.metric.SelectedQualityMetric
- onVideoKeyStatusChanged(List<VideoTrackQuality>) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onVideoQualitySelectionChanged(VideoTrackQuality, int, String, long, long) - Method in class com.castlabs.sdk.debug.metric.SelectedQualityMetric
- onVideoSizeChanged(int, int, float) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
- onVideoTrackChanged(VideoTrack) - Method in class com.castlabs.sdk.debug.metric.SelectedQualityMetric
P
- PlayerChart - Interface in com.castlabs.sdk.debug.view
-
Chart that binds itself to a PlayerController, in order to plot data from it.
- PlayerDataFragment - Class in com.castlabs.sdk.debug.view
-
Fragment that shows
RenditionsFragment
,TrackSelectionsFragment
, andDownloadsFragment
horizontally next to each other. - PlayerDataFragment() - Constructor for class com.castlabs.sdk.debug.view.PlayerDataFragment
-
Default constructor.
- PlayerMetricChart - Class in com.castlabs.sdk.debug.view
-
Chart that shows line graph displaying one or more
Metric
s. - PlayerMetricChart(Context) - Constructor for class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Creates a new PlayerMetricChart.
- PlayerMetricChart(Context, AttributeSet) - Constructor for class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Creates a new PlayerMetricChart.
- PlayerMetricChart(Context, AttributeSet, int) - Constructor for class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Creates a new PlayerMetricChart.
- PlayerMetricChart.MetricType - Annotation Type in com.castlabs.sdk.debug.view
-
Defines the type of metric to be displayed in the chart.
- PlayerSettingsFragment - Class in com.castlabs.sdk.debug.view
-
A fragment that provides a user interface for configuring player settings.
- PlayerSettingsFragment() - Constructor for class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Constructor for PlayerSettingsFragment.
- PlayerSettingsFragment.SettingsView - Interface in com.castlabs.sdk.debug.view
-
Interface for views that can be reset to their default values.
- PlayerStateChart - Class in com.castlabs.sdk.debug.view
-
Chart that shows a horizontal player state graph.
- PlayerStateChart(Context) - Constructor for class com.castlabs.sdk.debug.view.PlayerStateChart
-
Creates a new PlayerStateChart with the given context.
- PlayerStateChart(Context, AttributeSet) - Constructor for class com.castlabs.sdk.debug.view.PlayerStateChart
-
Creates a new PlayerStateChart with the given context and attributes.
- PlayerStateChart(Context, AttributeSet, int) - Constructor for class com.castlabs.sdk.debug.view.PlayerStateChart
-
Creates a new PlayerStateChart with the given context, attributes and style.
- PlayerStatsFragment - Class in com.castlabs.sdk.debug.view
-
Fragment that displays real-time statistics and metrics about the video playback session.
- PlayerStatsFragment() - Constructor for class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
Default constructor
- PlayingQualityMetric - Class in com.castlabs.sdk.debug.metric
-
Provides a Metric of the currently playing Video quality
- PlayingQualityMetric(int, YAxis.AxisDependency) - Constructor for class com.castlabs.sdk.debug.metric.PlayingQualityMetric
-
Creates a new instance of PlayingQualityMetric with the specified color and axis dependency.
- PREFS_BACK_BUFFER_DURATION - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for back buffer duration setting
- PREFS_CLIP_END - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for clip end setting
- PREFS_CLIP_START - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for clip start setting
- PREFS_DEGRADATION_PENALTY - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for degradation penalty setting
- PREFS_DEGRADATION_RECOVERY - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for degradation recovery setting
- PREFS_DEGRADATION_SAMPLES - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for degradation samples setting
- PREFS_DRAIN_WHILE_CHARGING - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for drain while charging setting
- PREFS_KEY_ALGO - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for ABR algorithm setting
- PREFS_KEY_BANDWIDTH_FRACTION - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for bandwidth fraction setting
- PREFS_KEY_BUFFER_SIZE_BYTES - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for buffer size in bytes setting
- PREFS_KEY_BUFFER_SIZE_MAX_TIME - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for maximum buffer size time setting
- PREFS_KEY_BUFFER_SIZE_MIN_TIME - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for minimum buffer size time setting
- PREFS_KEY_DOWNLOAD_TIME_FACTOR - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for download time factor setting
- PREFS_KEY_INITIAL_BANDWIDTH - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for initial bandwidth setting
- PREFS_KEY_MAX_DECREASE - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for maximum decrease setting
- PREFS_KEY_MIN_INCREASE - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for minimum increase setting
- PREFS_KEY_RATELIMIT - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for rate limit setting
- PREFS_KEY_RETAIN - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for retain buffer setting
- PREFS_KEY_SAFE_BUFFER - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for safe buffer setting
- PREFS_MIN_RESTART_BUFFER - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for minimum restart buffer setting
- PREFS_MIN_START_BUFFER - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for minimum start buffer setting
- PREFS_PERCENTILE_WEIGHT - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for percentile weight setting
- PREFS_STORE_NAME - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Name of the SharedPreferences store for ABR settings
- PREFS_TIME_OVER_MEMORY - Static variable in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Key for time over memory setting
Q
- QOE_SCORE - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The QoE (Quality of Experience) score metric name
R
- RateLimiter - Interface in com.castlabs.sdk.debug
-
Limit downloads speeds with implementations of this interface.
- RateLimitMetric - Class in com.castlabs.sdk.debug.metric
-
Provides a Metric of the current download plugin rate limit if enabled
- RateLimitMetric(int, YAxis.AxisDependency) - Constructor for class com.castlabs.sdk.debug.metric.RateLimitMetric
-
Creates a new instance of RateLimitMetric with the specified color and axis dependency.
- RateLimitTracer - Class in com.castlabs.sdk.debug
-
Rate limit tracer that can update a race limiter according to a list of traces.
- RateLimitTracer(RateLimiter, List<RateLimitTracer.Trace>) - Constructor for class com.castlabs.sdk.debug.RateLimitTracer
-
Create a new tracer
- RateLimitTracer(RateLimiter, List<RateLimitTracer.Trace>, Clock) - Constructor for class com.castlabs.sdk.debug.RateLimitTracer
-
Create a new tracer
- RateLimitTracer.Trace - Class in com.castlabs.sdk.debug
-
A single download trace with a start and end time.
- RateLimitTraces - Class in com.castlabs.sdk.debug.view
-
This class is responsible for displaying the rate limit traces.
- RateLimitTraces(View, RateLimiter) - Constructor for class com.castlabs.sdk.debug.view.RateLimitTraces
-
Constructor for the RateLimitTraces class.
- REBUFFER_PERCENTAGE - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The rebuffer percentage metric name
- RenditionsFragment - Class in com.castlabs.sdk.debug.view
-
Fragment that shows a list of renditions of the playout.
- RenditionsFragment() - Constructor for class com.castlabs.sdk.debug.view.RenditionsFragment
-
Default constructor
- requestPlot(Metric) - Method in interface com.castlabs.sdk.debug.metric.Metric.Plotter
-
The metric needs to be redrawn.
- requestPlot(Metric) - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
- reset() - Method in class com.castlabs.sdk.debug.view.PlayerSettingsFragment
-
Reset the config views and load their value from the current preferences or defaults
- reset() - Method in interface com.castlabs.sdk.debug.view.PlayerSettingsFragment.SettingsView
-
Resets the view to its default state.
- restart() - Method in class com.castlabs.sdk.debug.view.RateLimitTraces
-
Restarts the rate tracer.
- RightBottom - Enum constant in enum com.castlabs.sdk.debug.DebugPlugin.DebugOverlayPosition
-
Display the debug overlay in the bottom-right corner.
- RightTop - Enum constant in enum com.castlabs.sdk.debug.DebugPlugin.DebugOverlayPosition
-
Display the debug overlay in the top-right corner.
S
- SCORE_BITRATE - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The bitrate score metric name
- SCORE_MAGNITUDE - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The magnitude score metric name
- SCORE_REBUFFER - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The rebuffer score metric name
- SCORE_SWITCH - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The switch score metric name
- SEEKING_TIME - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The seeking time metric name
- SelectedQualityMetric - Class in com.castlabs.sdk.debug.metric
-
Provides a Metric of the currently selected Video quality.
- SelectedQualityMetric(int, YAxis.AxisDependency) - Constructor for class com.castlabs.sdk.debug.metric.SelectedQualityMetric
-
Creates a new instance of SelectedQualityMetric with the specified color and axis dependency.
- setDebugOverlayPosition(DebugPlugin.DebugOverlayPosition) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for debugOverlayPosition
- setLimit(long) - Method in interface com.castlabs.sdk.debug.RateLimiter
-
Set the limit that will be passed to the next data source created by this builder.
- setLogAudioRendererEvents(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logAudioRendererEvents
- setLogDecoderCounters(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logDecoderCounters
- setLogDownloadCanceled(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logDownloadCanceled
- setLogDownloadCompleted(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logDownloadCompleted
- setLogDownloadError(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logDownloadError
- setLogDownloadStarted(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logDownloadStarted
- setLogDownloadUpstreamDiscarded(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logDownloadUpstreamDiscarded
- setLogLoadControl(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logLoadControl
- setLogOpenBundle(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logOpenBundle
- setLogPeriodInfo(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logPeriodInfo
- setLogSupportedDrm(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logSupportedDrm
- setLogTimingDebugInfo(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Log timing info related to playback.
- setLogTransferInfo(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logTransferInfo
- setLogVideoFrameMetadata(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logging video frame metadata
- setLogVideoRendererEvents(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for logVideoRendererEvents
- setMaximumDataAgeMs(long) - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
How much time the data should be kept and drawn.
- setOnFrameRenderedListener(DebugMediaCodecAdapterFactory.OnFrameRenderedListener) - Method in class com.castlabs.sdk.debug.DebugMediaCodecAdapterFactory
-
Sets the listener for when a frame is rendered.
- setPlayerController(PlayerController) - Method in interface com.castlabs.sdk.debug.view.PlayerChart
-
Sets the player controller to which to bind and extract data from.
- setPlayerController(PlayerController) - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
- setPlayerController(PlayerController) - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
-
Sets the player controller to monitor and updates the chart accordingly.
- setRateLimiterEnabled(boolean) - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Setter for rateLimiterEnabled
- setRenderUpdateInterval(int) - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Adjust how often the View is redrawn
- setTimes(long, long, long, int) - Method in class com.castlabs.sdk.debug.view.MediaSegmentView
-
Sets the start and end times for the media segment, as well as the total duration and color.
- showDebugOverlay() - Method in class com.castlabs.sdk.debug.DebugPlugin
-
Shows the debug overlay
- showQualities() - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Enables Video qualities plotting.
- showQualitiesAxis(YAxis.AxisDependency) - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
-
Enables Video qualities plotting.
- start() - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Start the tracer
- start(LineChart) - Method in class com.castlabs.sdk.debug.view.RateLimitTraces
-
Starts the rate tracer.
- START_TIME - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The start time metric name
- startTimeMs - Variable in class com.castlabs.sdk.debug.RateLimitTracer.Trace
-
The start time of the trace
- STATE - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The player state metric name
- stop() - Method in class com.castlabs.sdk.debug.RateLimitTracer
-
Stop the tracer
- stop() - Method in class com.castlabs.sdk.debug.view.RateLimitTraces
-
Stops the rate tracer.
T
- TrackSelectionsFragment - Class in com.castlabs.sdk.debug.view
-
Fragment that shows a list of ABR selections triggered by the player.
- TrackSelectionsFragment() - Constructor for class com.castlabs.sdk.debug.view.TrackSelectionsFragment
-
Default constructor
U
- UNDERRUNS - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The rebuffer events metric name
- unsetPlayerController() - Method in interface com.castlabs.sdk.debug.view.PlayerChart
-
Performs all the necessary cleanup and removes the previously set listeners (if any).
- unsetPlayerController() - Method in class com.castlabs.sdk.debug.view.PlayerMetricChart
- unsetPlayerController() - Method in class com.castlabs.sdk.debug.view.PlayerStateChart
-
Removes the current player controller and stops monitoring it.
- Utils - Class in com.castlabs.sdk.debug
-
Utility class for debug purposes.
V
- valueOf(String) - Static method in enum com.castlabs.sdk.debug.DebugPlugin.DebugOverlayPosition
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.castlabs.sdk.debug.DebugPlugin.DebugOverlayPosition
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VIDEO_CODEC - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The video codec metric name
- VIDEO_CODEC_INIT - Static variable in class com.castlabs.sdk.debug.view.PlayerStatsFragment
-
The codec initialization time metric name
All Classes and Interfaces|All Packages|Constant Field Values