SRGAssetLoader

SRG SSR implementation of an AssetLoader.

Parameters

akamaiTokenProvider
dataSourceFactory

The data source factory to use with DefaultMediaSourceFactory.

mediaCompositionService

The service to load a MediaComposition.

commanderActTrackerFactory

The CommandersAct tracker factory.

comscoreTrackerFactory

The ComScore tracker factory.

customTrackerData

The block to configure MutableMediaItemTrackerData.

customMediaMetadata

The block to configure MediaMetadata.

resourceSelector

The ResourceSelector.

Properties

Functions

Link copied to clipboard
open override fun canLoadAsset(mediaItem: MediaItem): Boolean
Link copied to clipboard
open suspend override fun loadAsset(mediaItem: MediaItem): Asset