com.bitmovin.player.api.source
Types
| Name | Summary |
|---|---|
| AdaptiveSource | abstract class Base class for all adaptive media sources. |
| CmcdConfig | sealed interface CmcdConfig : Parcelable Configures Common Media Client Data (CMCD) for a SourceConfig. |
| CmcdKey | sealed interface CmcdKey : Serializable A CMCD key. |
| CmcdSessionId | sealed interface CmcdSessionId : Parcelable Represents how the CMCD session identifier is resolved. |
| CmcdTransmissionMode | enum CmcdTransmissionMode : Enum<CmcdTransmissionMode> How CMCD data is transmitted. |
| DASHSource | open class Represents a DASH media source. |
| HLSSource | open class Represents a HLS media source. |
| LoadingState | enum LoadingState : Enum<LoadingState> Contains the different loading states a Source can be in. |
| MediaSource | abstract class Base class for all media sources. |
| NetworkEngine | sealed interface NetworkEngine The network engine used to make network requests supported by the Player. |
| ProgressiveSource | open class Represents a progressive media source. |
| SmoothSource | open class Represents a Smooth Streaming media source. |
| Source | interface 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. |
| SourceAdaptationConfig | data class SourceAdaptationConfig(val bandwidthFractionAvailableToUse: Float? = null) : Parcelable Configures the adaptation logic for a Source. |
| SourceConfig | 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(), var cmcdConfig: CmcdConfig = CmcdConfig.Disabled) : Parcelable Configures a Source that can be loaded into a Player. |
| SourceNetworkConfig | data class SourceNetworkConfig(val engine: NetworkEngine = NetworkEngine.HttpURLConnection()) : Parcelable The network configuration gives the ability to influence network requests for a Source. |
| SourceOptions | data class SourceOptions(var startOffset: Double? = null, var startOffsetTimelineReference: TimelineReferencePoint? = null) : Parcelable |
| SourceType | enum SourceType : Parcelable, Enum<SourceType> Available types for a Source. |
| TimelineReferencePoint | enum TimelineReferencePoint : Parcelable, Enum<TimelineReferencePoint> Reference points on a timeline to allow definition of relative offsets. |