Read-only snapshot of a single HLS program, wrapping a persisted HlsProgram entity. A program is one encoded rendition of the source video at a particular resolution and bitrate, together with the segments that make it up. Segments are loaded lazily on first access.


Properties

PropertyReturnsDescription
bandwidthIntegerApproximate encoded bitrate of this rendition, in bits per second, as advertised in the HLS playlist.
heightIntegerPixel height of this rendition's video, or null if the height was not recorded.
segmentsList<HlsSegmentBean>The individual video/audio segments that make up this rendition, ordered as loaded from the database. Loaded lazily and cached on first access.
widthIntegerPixel width of this rendition's video, or null if the width was not recorded.

Methods

getHeight()

Returns: Integer

Pixel height of this rendition's video, or null if the height was not recorded.

getWidth()

Returns: Integer

Pixel width of this rendition's video, or null if the width was not recorded.

getBandwidth()

Returns: Integer

Approximate encoded bitrate of this rendition, in bits per second, as advertised in the HLS playlist.

getSegments()

Returns: List<HlsSegmentBean>

The individual video/audio segments that make up this rendition, ordered as loaded from the database. Loaded lazily and cached on first access.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.