HlsMediaPlaylist.RenditionReport


public final 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 fields

final long

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

final 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.

final Uri

The URI of the media playlist of the reported rendition.

Public constructors

RenditionReport(
    Uri playlistUri,
    long lastMediaSequence,
    int lastPartIndex
)

Creates a new instance.

Public fields

lastMediaSequence

public final long lastMediaSequence

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

lastPartIndex

public final int lastPartIndex

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

public final Uri playlistUri

The URI of the media playlist of the reported rendition.

Public constructors

RenditionReport

public RenditionReport(
    Uri playlistUri,
    long lastMediaSequence,
    int lastPartIndex
)

Creates a new instance.

Parameters
Uri playlistUri

See playlistUri.

long lastMediaSequence

See lastMediaSequence.

int lastPartIndex

See lastPartIndex.