Android OpenTV Player SDK  5.35.0.1710620932
OTVPlayerConfiguration Class Reference

Detailed Description

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...
 

Member Function Documentation

◆ buildUpon()

OTVPlayerConfiguration.Builder buildUpon ( )

Returns a OTVPlayerConfiguration.Builder initialized with the values of this instance.

Member Data Documentation

◆ abr

abr configuration instance

◆ bufferingControl

final OTVBufferingControlConfiguration bufferingControl

bufferingControl configuration instance

◆ dashLiveStart

final OTVDashLiveStartConfiguration dashLiveStart

dashLiveStart configuration instance

◆ hlsLiveStart

final OTVHlsLiveStartConfiguration hlsLiveStart

hlsLiveStart configuration instance

◆ httpDataSource

final OTVHttpDataSourceConfiguration httpDataSource

httpDataSource configuration instance

◆ INITIAL_ABR_STRATEGY_BANDWIDTH

final int INITIAL_ABR_STRATEGY_BANDWIDTH = 0
static

Initially select the video track with the bitrate closest to the available bandwidth.

◆ INITIAL_ABR_STRATEGY_PERFORMANCE

final int INITIAL_ABR_STRATEGY_PERFORMANCE = 1
static

Initially select the video track with the lowest bitrate, to achieve the best performance.

◆ INITIAL_ABR_STRATEGY_QUALITY

final int INITIAL_ABR_STRATEGY_QUALITY = 2
static

Initially select the video track with the highest bitrate, to achieve the highest quality.

◆ keepThumbnailsSpaced

final boolean keepThumbnailsSpaced

Specify whether gaps in spaced thumbnails should be filled after initial preparation.

Applies only to DASH-IF thumbnails.

◆ liveConfiguration

final OTVLiveConfiguration liveConfiguration

live configuration instance

◆ livePlaybackSpeedControl

final OTVLivePlaybackSpeedControl livePlaybackSpeedControl

live playback speed control configuration instance

◆ overrideKeepScreenOn

final boolean overrideKeepScreenOn

Override SDK's default keepScreenOn behaviour.

◆ RATE_UNSET

final float RATE_UNSET = -Float.MAX_VALUE
static

Represents an unset or unknown rate.

◆ thumbnailsMaximumMemoryMB

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.

◆ thumbnailsPerMinute

final float thumbnailsPerMinute

Initial population of thumbnails before 'prepared' is declared.

0.0f means use all thumbnails. Applies only to DASH-IF thumbnails.

◆ TIME_UNSET

final long TIME_UNSET = Long.MIN_VALUE + 1
static

Special constant representing an unset or unknown time or duration.

◆ trackSelector

final OTVTrackSelectorConfiguration trackSelector

trackSelector configuration instance

◆ VIDEO_TRACK_BITRATE_HIGHEST

final int VIDEO_TRACK_BITRATE_HIGHEST = 1
static

Represents on selecting video track with highest bitrate.

◆ VIDEO_TRACK_BITRATE_LOWEST

final int VIDEO_TRACK_BITRATE_LOWEST = 2
static

Represents on selecting video track with lowest bitrate.

◆ VIDEO_TRACK_BITRATE_UNSET

final int VIDEO_TRACK_BITRATE_UNSET = 0
static

Represents an unset for video track bitrate selection value.

◆ VIEWPORT_UNSET

final int VIEWPORT_UNSET = Integer.MIN_VALUE + 1
static

Represents an unset for viewport size value.