AdQualitySelectionContext

data class AdQualitySelectionContext(val available: List<MediaFile>, val suggested: MediaFile, val bitrateEstimate: Long)

Context provided to the BitmovinAdvertisingConfig.onSelectAdQuality callback, containing information about the available media files and the current network conditions.

Constructors

Link copied to clipboard
constructor(available: List<MediaFile>, suggested: MediaFile, bitrateEstimate: Long)

Properties

Link copied to clipboard

The list of media files provided in the VAST response.

Link copied to clipboard

The most recent bitrateEstimate estimate in bits per second.

Link copied to clipboard

The media file that would be selected by the default selection algorithm if no custom selection is made.