PillarboxMediaSource

Pillarbox media source

Parameters

mediaItem

The MediaItem to used for the assetLoader.

assetLoader

The AssetLoader to used to load the source.

minLiveDvrDurationMs

Minimal duration in milliseconds to consider a live with seek capabilities.

timeSource

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun canUpdateMediaItem(mediaItem: MediaItem): Boolean

Can update media item

Link copied to clipboard
open override fun createPeriod(id: MediaSource.MediaPeriodId, allocator: Allocator, startPositionUs: Long): MediaPeriod
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getMediaItem(): MediaItem
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun releasePeriod(mediaPeriod: MediaPeriod)
Link copied to clipboard
Link copied to clipboard
open override fun updateMediaItem(mediaItem: MediaItem)