com.bitmovin.player.api.source

com.bitmovin.player.api.source

Types

NameSummary
AdaptiveSourceabstract class AdaptiveSource : MediaSource
Base class for all adaptive media sources.
CmcdConfigsealed interface CmcdConfig : Parcelable
Configures Common Media Client Data (CMCD) for a SourceConfig.
CmcdKeysealed interface CmcdKey : Serializable
A CMCD key.
CmcdSessionIdsealed interface CmcdSessionId : Parcelable
Represents how the CMCD session identifier is resolved.
CmcdTransmissionModeenum CmcdTransmissionMode : Enum<CmcdTransmissionMode>
How CMCD data is transmitted.
DASHSourceopen class DASHSource : AdaptiveSource
Represents a DASH media source.
HLSSourceopen class HLSSource : AdaptiveSource
Represents a HLS media source.
LoadingStateenum LoadingState : Enum<LoadingState>
Contains the different loading states a Source can be in.
MediaSourceabstract class MediaSource : Parcelable
Base class for all media sources.
NetworkEnginesealed interface NetworkEngine
The network engine used to make network requests supported by the Player.
ProgressiveSourceopen class ProgressiveSource : MediaSource
Represents a progressive media source.
SmoothSourceopen class SmoothSource : AdaptiveSource
Represents a Smooth Streaming media source.
Sourceinterface Source : EventEmitter<SourceEvent>
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.
SourceAdaptationConfigdata class SourceAdaptationConfig(val bandwidthFractionAvailableToUse: Float? = null) : Parcelable
Configures the adaptation logic for a Source.
SourceConfigopen 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(), var cmcdConfig: CmcdConfig = CmcdConfig.Disabled) : Parcelable
Configures a Source that can be loaded into a Player.
SourceNetworkConfigdata class SourceNetworkConfig(val engine: NetworkEngine = NetworkEngine.HttpURLConnection()) : Parcelable
The network configuration gives the ability to influence network requests for a Source.
SourceOptionsdata class SourceOptions(var startOffset: Double? = null, var startOffsetTimelineReference: TimelineReferencePoint? = null) : Parcelable
SourceTypeenum SourceType : Parcelable, Enum<SourceType>
Available types for a Source.
TimelineReferencePointenum TimelineReferencePoint : Parcelable, Enum<TimelineReferencePoint>
Reference points on a timeline to allow definition of relative offsets.