Package-level declarations
Types
Link copied to clipboard
Base class for all adaptive media sources.
Link copied to clipboard
Represents a DASH media source.
Link copied to clipboard
Represents a HLS media source.
Link copied to clipboard
Contains the different loading states a Source can be in.
Link copied to clipboard
Base class for all media sources.
Link copied to clipboard
The network engine used to make network requests supported by the Player.
Link copied to clipboard
Represents a progressive media source.
Link copied to clipboard
Represents a Smooth Streaming media source.
Link copied to clipboard
Represents audio and video content that can be loaded into a Player to start a playback session. A source instance can be created via the Source() function and will idle until it is loaded into a player. After loading the source into a player, isAttachedToPlayer is true and the same source can not be loaded into a different player until unloaded.
Link copied to clipboard
Configures the adaptation logic for a Source.
Link copied to clipboard
open class SourceConfig(val url: String, val type: SourceType, var title: String? = null, var description: String? = null, var posterSource: String? = null, var isPosterPersistent: Boolean = false, var subtitleTracks: List<SubtitleTrack> = emptyList(), var thumbnailTrack: ThumbnailTrack? = null, var drmConfig: DrmConfig? = null, var labelingConfig: LabelingConfig = LabelingConfig(), var vrConfig: VrConfig = VrConfig(), var videoCodecPriority: List<String> = emptyList(), var audioCodecPriority: List<String> = emptyList(), var options: SourceOptions = SourceOptions(), var metadata: Map<String, String>? = null, var liveConfig: SourceLiveConfig? = null, var networkConfig: SourceNetworkConfig = SourceNetworkConfig(), var adaptationConfig: SourceAdaptationConfig = SourceAdaptationConfig()) : Parcelable
Link copied to clipboard
data class SourceNetworkConfig(val engine: NetworkEngine = NetworkEngine.HttpURLConnection) : Parcelable
The network configuration gives the ability to influence network requests for a Source.
Link copied to clipboard
data class SourceOptions(var startOffset: Double? = null, var startOffsetTimelineReference: TimelineReferencePoint? = null) : Parcelable
Link copied to clipboard
Available types for a Source.
Link copied to clipboard
Reference points on a timeline to allow definition of relative offsets.