Android OpenTV Player SDK
5.35.0.1710620932
|
OTVPlayerConfiguration class is used to configure the playback of audio/video files and streams.
Inherits Parcelable.
Classes | |
class | Builder |
Builds OTVPlayerConfiguration instances. More... | |
class | OTVAbrConfiguration |
Configuration class for adaptive track selector. More... | |
class | OTVBufferingControlConfiguration |
Configuration class for BufferingControl. More... | |
class | OTVDashLiveStartConfiguration |
Configuration class for DashLiveStart. More... | |
class | OTVHlsLiveStartConfiguration |
Configuration class for HlsLiveStart. More... | |
class | OTVHttpDataSourceConfiguration |
Configuration class for HttpDataSource. More... | |
class | OTVLiveConfiguration |
Configuration class for Live. More... | |
class | OTVLivePlaybackSpeedControl |
Configuration class for live playback speed control. More... | |
class | OTVTrackSelectorConfiguration |
Configuration class for TrackSelector. More... | |
Public Member Functions | |
OTVPlayerConfiguration.Builder | buildUpon () |
Returns a OTVPlayerConfiguration.Builder initialized with the values of this instance. More... | |
Public Attributes | |
final OTVAbrConfiguration | abr |
abr configuration instance More... | |
final OTVHttpDataSourceConfiguration | httpDataSource |
httpDataSource configuration instance More... | |
final OTVDashLiveStartConfiguration | dashLiveStart |
dashLiveStart configuration instance More... | |
final OTVHlsLiveStartConfiguration | hlsLiveStart |
hlsLiveStart configuration instance More... | |
final OTVTrackSelectorConfiguration | trackSelector |
trackSelector configuration instance More... | |
final OTVBufferingControlConfiguration | bufferingControl |
bufferingControl configuration instance More... | |
final OTVLiveConfiguration | liveConfiguration |
live configuration instance More... | |
final OTVLivePlaybackSpeedControl | livePlaybackSpeedControl |
live playback speed control configuration instance More... | |
final boolean | overrideKeepScreenOn |
Override SDK's default keepScreenOn behaviour. More... | |
final float | thumbnailsPerMinute |
Initial population of thumbnails before 'prepared' is declared. More... | |
final boolean | keepThumbnailsSpaced |
Specify whether gaps in spaced thumbnails should be filled after initial preparation. More... | |
final float | thumbnailsMaximumMemoryMB |
Memory size cap (in MB) limiting the allowed memory used by thumbnail images. More... | |
Static Public Attributes | |
static final long | TIME_UNSET = Long.MIN_VALUE + 1 |
Special constant representing an unset or unknown time or duration. More... | |
static final int | VIEWPORT_UNSET = Integer.MIN_VALUE + 1 |
Represents an unset for viewport size value. More... | |
static final float | RATE_UNSET = -Float.MAX_VALUE |
Represents an unset or unknown rate. More... | |
static final int | VIDEO_TRACK_BITRATE_UNSET = 0 |
Represents an unset for video track bitrate selection value. More... | |
static final int | VIDEO_TRACK_BITRATE_HIGHEST = 1 |
Represents on selecting video track with highest bitrate. More... | |
static final int | VIDEO_TRACK_BITRATE_LOWEST = 2 |
Represents on selecting video track with lowest bitrate. More... | |
static final int | INITIAL_ABR_STRATEGY_BANDWIDTH = 0 |
Initially select the video track with the bitrate closest to the available bandwidth. More... | |
static final int | INITIAL_ABR_STRATEGY_PERFORMANCE = 1 |
Initially select the video track with the lowest bitrate, to achieve the best performance. More... | |
static final int | INITIAL_ABR_STRATEGY_QUALITY = 2 |
Initially select the video track with the highest bitrate, to achieve the highest quality. More... | |
OTVPlayerConfiguration.Builder buildUpon | ( | ) |
Returns a OTVPlayerConfiguration.Builder initialized with the values of this instance.
final OTVAbrConfiguration abr |
abr configuration instance
final OTVBufferingControlConfiguration bufferingControl |
bufferingControl configuration instance
final OTVDashLiveStartConfiguration dashLiveStart |
dashLiveStart configuration instance
final OTVHlsLiveStartConfiguration hlsLiveStart |
hlsLiveStart configuration instance
final OTVHttpDataSourceConfiguration httpDataSource |
httpDataSource configuration instance
|
static |
Initially select the video track with the bitrate closest to the available bandwidth.
|
static |
Initially select the video track with the lowest bitrate, to achieve the best performance.
|
static |
Initially select the video track with the highest bitrate, to achieve the highest quality.
final boolean keepThumbnailsSpaced |
Specify whether gaps in spaced thumbnails should be filled after initial preparation.
Applies only to DASH-IF thumbnails.
final OTVLiveConfiguration liveConfiguration |
live configuration instance
final OTVLivePlaybackSpeedControl livePlaybackSpeedControl |
live playback speed control configuration instance
final boolean overrideKeepScreenOn |
Override SDK's default keepScreenOn behaviour.
|
static |
Represents an unset or unknown rate.
final float thumbnailsMaximumMemoryMB |
Memory size cap (in MB) limiting the allowed memory used by thumbnail images.
0.0f means no cap is set. Applies only to DASH-IF thumbnails.
final float thumbnailsPerMinute |
Initial population of thumbnails before 'prepared' is declared.
0.0f means use all thumbnails. Applies only to DASH-IF thumbnails.
|
static |
Special constant representing an unset or unknown time or duration.
final OTVTrackSelectorConfiguration trackSelector |
trackSelector configuration instance
|
static |
Represents on selecting video track with highest bitrate.
|
static |
Represents on selecting video track with lowest bitrate.
|
static |
Represents an unset for video track bitrate selection value.
|
static |
Represents an unset for viewport size value.