Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class LiveStreamMonitorConfiguration(var monitoringTimeIntervalMs: Int = DEFAULT_MONITORING_TIME_INTERVAL_MS, var liveEdgePositionThreshold: Int = DEFAULT_LIVE_EDGE_POSITION_THRESHOLD, var currentWindowBufferedPositionThreshold: Int = DEFAULT_CURRENT_WINDOW_BUFFERED_POSITION_THRESHOLD)

The configuration for monitoring live stream timeline changes.

Link copied to clipboard

Represents a Streaming or Other Media Type

Link copied to clipboard
interface MimeTypes

Holds all possible audio and video MIME types.

Link copied to clipboard
data class PlaybackProperties(val preferredInitialBufferDurationMs: Int = DEFAULT_BUFFER_FOR_PLAYBACK_MS, val preferredMinBufferDurationMs: Int = DEFAULT_MIN_BUFFER_MS, val preferredMaxBufferDurationMs: Int = DEFAULT_MAX_BUFFER_MS, val preferredConnectTimeoutMs: Int = DEFAULT_CONNECT_TIMEOUT_MS, val preferredReadTimeoutMs: Int = DEFAULT_READ_TIMEOUT_MS, val preferredBufferDurationAfterRebufferMs: Int = DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS, val preferredMinLoadableRetryCount: Int = DEFAULT_MIN_LOADABLE_RETRY_COUNT, val autoPlayOnLoad: Boolean = DEFAULT_BOOL_VAL, var initialStartTimeMs: Long = UNKNOWN_LONG_VAL, val monitorLiveStream: Boolean = DEFAULT_BOOL_VAL, val liveStreamMonitorConfiguration: LiveStreamMonitorConfiguration = LiveStreamMonitorConfiguration(), val asyncCodecProcessing: Boolean? = null, val tunnelingMode: Boolean = DEFAULT_BOOL_VAL, val monitorVFPO: Boolean = DEFAULT_BOOL_VAL, val vfpoMonitoringRange: IntRange = IntRange(DEFAULT_MIN_VFPO, DEFAULT_MAX_VFPO), val mediaSessionPlaybackActions: LongArray = SUPPORTED_PLAYBACK_ACTIONS, val preferredInitialNetworkBandwidth: Long? = null, val preferredMinDurationForQualityIncreaseMs: Int? = null, val preferredMaxDurationForQualityDecreaseMs: Int? = null, val preferredMinDurationToRetainAfterDiscardMs: Int? = null, val preferredBandwidthFraction: Float? = null, val preferredMaxPlaybackRecoveryRetryCount: Int = DEFAULT_MAX_PLAYBACK_RECOVERY_RETRY_COUNT, val preferredTargetLiveOffsetMs: Long? = null, val preferredMinPlaybackSpeed: Float? = null, val preferredMaxPlaybackSpeed: Float? = null, val preferredBufferedFractionToLiveEdgeForQualityIncrease: Float? = null, val preferredMinLiveStartPosition: Long? = null, val preferredSeekForwardIncrementMs: Long? = DEFAULT_SEEK_FORWARD_INCREMENT_MS, val preferredSeekBackIncrementMs: Long? = DEFAULT_SEEK_BACK_INCREMENT_MS, val preferredBufferTimeoutMs: Long? = null, val remoteStopLivePlaybackOnPause: Boolean? = null, val handleAudioFocus: Boolean = true, val preferredFallbackMinPlaybackSpeed: Float = DEFAULT_FALLBACK_MIN_PLAYBACK_SPEED, val preferredFallbackMaxPlaybackSpeed: Float = DEFAULT_FALLBACK_MAX_PLAYBACK_SPEED, val preferredTargetLiveOffsetIncrementOnRebufferMs: Long = DEFAULT_TARGET_LIVE_OFFSET_INCREMENT_ON_REBUFFER_MS, val preferredMaxBitrate: Int? = null, val preferredMinBitrate: Int? = null, val preferredBackBufferDurationMs: Int = DEFAULT_BACK_BUFFER_DURATION_MS, val preferredRetainBackBufferFromKeyframe: Boolean = DEFAULT_RETAIN_BACK_BUFFER_FROM_KEYFRAME)

Encapsulates all the configurable properties applicable for playback. All the properties have recommended default values that are suitable for most cases.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Represents the viewing mode of the player's video rendering view.

Link copied to clipboard
Link copied to clipboard

Represents the seeking behaviour of the Player.

Link copied to clipboard
data class TrackVariantInfo(val id: String, val type: TrackVariantInfo.Type, val languageCode: String, val mimeType: String, val bitRate: Int, val channelCount: Int, val codecs: String, val sampleRate: Int, val width: Int, val height: Int, val iso3LanguageCode: String)

Represents an Elementary TrackType and it's meta-data

Link copied to clipboard
data class VideoSize(val width: Int = LENGTH_UNSET, val height: Int = LENGTH_UNSET, val pixelWidthHeightRatio: Float = RATIO_UNSET)

Properties

Link copied to clipboard
const val DEFAULT_BOOL_VAL: Boolean = false
Link copied to clipboard
const val DEFAULT_DOUBLE_VAL: Double = 0.0
Link copied to clipboard
const val DEFAULT_INT_VAL: Int = 0
Link copied to clipboard
const val DEFAULT_LONG_VAL: Long = 0
Link copied to clipboard
const val EMPTY_TEXT: String
Link copied to clipboard
const val INDEX_UNSET: Int

Represents an unset or unknown index.

Link copied to clipboard
const val LENGTH_UNSET: Int
Link copied to clipboard

Represents an unset or unknown percentage.

Link copied to clipboard
const val POSITION_UNSET: Int

Represents an unset or unknown position.

Link copied to clipboard
const val RATIO_UNSET: Float
Link copied to clipboard

Special constant representing a time corresponding to the end of a source. Suitable for use in any time base.

Link copied to clipboard
const val TIME_UNSET: Long

Special constant representing an unset or unknown time or duration. Suitable for use in any time base.

Link copied to clipboard
const val UNKNOWN: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val UNKNOWN_INT_VAL: Int
Link copied to clipboard