PillarboxMediaSourceFactory
class PillarboxMediaSourceFactory(context: Context, timeSource: TimeSource = TimeSource.Monotonic) : MediaSource.Factory
Pillarbox media source factory create a new PillarboxMediaSource from a MediaItem. It selects the first AssetLoader to use by checking if AssetLoader.canLoadAsset.
Parameters
context
to create the defaultAssetLoader.
timeSource
The TimeSource.
Properties
Functions
Link copied to clipboard
Add asset loader
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setDrmSessionManagerProvider(drmSessionManagerProvider: DrmSessionManagerProvider): MediaSource.Factory
Link copied to clipboard
open override fun setLoadErrorHandlingPolicy(loadErrorHandlingPolicy: LoadErrorHandlingPolicy): MediaSource.Factory
Link copied to clipboard