HlsMediaPlaylist.ServerControl


public final class HlsMediaPlaylist.ServerControl


Server control attributes.

Summary

Public fields

final boolean

Whether the server supports blocking playlist reload.

final boolean

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

final long

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

final long

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

final long

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

Public constructors

ServerControl(
    long skipUntilUs,
    boolean canSkipDateRanges,
    long holdBackUs,
    long partHoldBackUs,
    boolean canBlockReload
)

Creates a new instance.

Public fields

canBlockReload

public final boolean canBlockReload

Whether the server supports blocking playlist reload.

canSkipDateRanges

public final boolean canSkipDateRanges

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

holdBackUs

public final long holdBackUs

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

partHoldBackUs

public final long partHoldBackUs

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

skipUntilUs

public final long skipUntilUs

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

Public constructors

ServerControl

public ServerControl(
    long skipUntilUs,
    boolean canSkipDateRanges,
    long holdBackUs,
    long partHoldBackUs,
    boolean canBlockReload
)

Creates a new instance.

Parameters
long skipUntilUs

See skipUntilUs.

boolean canSkipDateRanges

See canSkipDateRanges.

long holdBackUs

See holdBackUs.

long partHoldBackUs

See partHoldBackUs.

boolean canBlockReload

See canBlockReload.