findRenditionUrl

open fun findRenditionUrl(manifest: Any, trackType: Int, format: Format): String

Finds the rendition url from the manifest object given the track type and the format. The Manifest object needs to be an instance of either DashManifest or HlsManifest.

Return

the rendition url if found, null otherwise.

Parameters

manifest

the manifest

trackType

the track type

format

the format


open fun findRenditionUrl(manifest: Any, format: Format): String

Finds the rendition url from the manifest object given the track type and the format. The Manifest object needs to be an instance of either DashManifest or HlsManifest.

Return

the rendition url if found, null otherwise.

Parameters

manifest

the manifest

format

the format


open fun findRenditionUrl(dashManifest: DashManifest, trackType: Int, format: Format): String

Finds the rendition url from the DashManifest object for the specified track type and the format.

Return

the rendition url if found, null otherwise.

Parameters

dashManifest

reference to the DASH manifest.

trackType

the track type

format

the format


open fun findRenditionUrl(hlsMasterPlaylist: HlsMultivariantPlaylist, trackType: Int, format: Format): String

Finds the rendition url from the HlsMultivariantPlaylist object for the specified track type and the format.

Return

the rendition url if found, null otherwise.

Parameters

hlsMasterPlaylist

reference to the HLS master playlist.

trackType

the track type

format

the format