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
| Property | Returns | Description |
|---|---|---|
| bandwidth | Integer | Approximate encoded bitrate of this rendition, in bits per second, as advertised in the HLS playlist. |
| height | Integer | Pixel height of this rendition's video, or null if the height was not recorded. |
| segments | 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. |
| width | Integer | Pixel 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.