public final class

HlsMediaPlaylist.ServerControl

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.hls.playlist.HlsMediaPlaylist.ServerControl

Overview

Server control attributes.

Summary

Fields
public final booleancanBlockReload

Whether the server supports blocking playlist reload.

public final booleancanSkipDateRanges

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

public final longholdBackUs

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

public final longpartHoldBackUs

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

public final longskipUntilUs

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

Constructors
publicServerControl(long skipUntilUs, boolean canSkipDateRanges, long holdBackUs, long partHoldBackUs, boolean canBlockReload)

Creates a new instance.

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public final long skipUntilUs

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

public final boolean canSkipDateRanges

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

public final long holdBackUs

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

public final long partHoldBackUs

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

public final boolean canBlockReload

Whether the server supports blocking playlist reload.

Constructors

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

Creates a new instance.

Parameters:

skipUntilUs: See HlsMediaPlaylist.ServerControl.skipUntilUs.
canSkipDateRanges: See HlsMediaPlaylist.ServerControl.canSkipDateRanges.
holdBackUs: See HlsMediaPlaylist.ServerControl.holdBackUs.
partHoldBackUs: See HlsMediaPlaylist.ServerControl.partHoldBackUs.
canBlockReload: See HlsMediaPlaylist.ServerControl.canBlockReload.