HlsMediaPlaylist.RenditionReport


class HlsMediaPlaylist.RenditionReport


A rendition report for an alternative rendition defined in another media playlist.

See RFC 8216, section 4.4.5.1.4.

Summary

Public constructors

RenditionReport(
    playlistUri: Uri!,
    lastMediaSequence: Long,
    lastPartIndex: Int
)

Creates a new instance.

Public properties

Long

The last media sequence that is in the playlist of the reported rendition.

Int

The last part index that is in the playlist of the reported rendition, or INDEX_UNSET if the rendition does not contain partial segments.

Uri!

The URI of the media playlist of the reported rendition.

Public constructors

RenditionReport

RenditionReport(
    playlistUri: Uri!,
    lastMediaSequence: Long,
    lastPartIndex: Int
)

Creates a new instance.

Parameters
playlistUri: Uri!

See playlistUri.

lastMediaSequence: Long

See lastMediaSequence.

lastPartIndex: Int

See lastPartIndex.

Public properties

lastMediaSequence

val lastMediaSequenceLong

The last media sequence that is in the playlist of the reported rendition.

lastPartIndex

val lastPartIndexInt

The last part index that is in the playlist of the reported rendition, or INDEX_UNSET if the rendition does not contain partial segments.

playlistUri

val playlistUriUri!

The URI of the media playlist of the reported rendition.