HlsMediaPlaylist.ServerControl


class HlsMediaPlaylist.ServerControl


Server control attributes.

Summary

Public constructors

ServerControl(
    skipUntilUs: Long,
    canSkipDateRanges: Boolean,
    holdBackUs: Long,
    partHoldBackUs: Long,
    canBlockReload: Boolean
)

Creates a new instance.

Public properties

Boolean

Whether the server supports blocking playlist reload.

Boolean

Whether the playlist can produce delta updates that skip older #EXT-X-DATERANGE tags in addition to media segments.

Long

The server-recommended live offset in microseconds, or TIME_UNSET if none defined.

Long

The server-recommended live offset in microseconds in low-latency mode, or TIME_UNSET if none defined.

Long

The skip boundary for delta updates in microseconds, or TIME_UNSET if delta updates are not supported.

Public constructors

ServerControl

ServerControl(
    skipUntilUs: Long,
    canSkipDateRanges: Boolean,
    holdBackUs: Long,
    partHoldBackUs: Long,
    canBlockReload: Boolean
)

Creates a new instance.

Parameters
skipUntilUs: Long

See skipUntilUs.

canSkipDateRanges: Boolean

See canSkipDateRanges.

holdBackUs: Long

See holdBackUs.

partHoldBackUs: Long

See partHoldBackUs.

canBlockReload: Boolean

See canBlockReload.

Public properties

canBlockReload

val canBlockReloadBoolean

Whether the server supports blocking playlist reload.

canSkipDateRanges

val canSkipDateRangesBoolean

Whether the playlist can produce delta updates that skip older #EXT-X-DATERANGE tags in addition to media segments.

holdBackUs

val holdBackUsLong

The server-recommended live offset in microseconds, or TIME_UNSET if none defined.

partHoldBackUs

val partHoldBackUsLong

The server-recommended live offset in microseconds in low-latency mode, or TIME_UNSET if none defined.

skipUntilUs

val skipUntilUsLong

The skip boundary for delta updates in microseconds, or TIME_UNSET if delta updates are not supported.