onVideoAdaptation

abstract fun onVideoAdaptation(data: VideoAdaptationData): String

Is called before the next video segment is downloaded.Returns the ID of the VideoQuality that should be downloaded next.

Return

The ID of the VideoQuality that should be downloaded next.

Parameters

data

VideoAdaptationData holding information for the adaptation.