MediaSourceUtil
class MediaSourceUtil
Provides utility method to work with DashManifest and HlsMultivariantPlaylist.
Functions
Link copied to clipboard
Finds the location of the representation's initialization data.
Link copied to clipboard
Finds the rendition url from the manifest object given the track type and the format.
Finds the rendition url from the DashManifest object for the specified track type and 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.
Link copied to clipboard
Finds the track type of the specified format.
Link copied to clipboard
Gets the Brightcove Role Flag matching the Role Value.
Link copied to clipboard
Gets the Brightcove Role Value matching the Role Flag.
Link copied to clipboard
Check if the Tracks has an audio track and no video track.