docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/HlsMediaPlaylist.ServerControl.html
Package com.google.android.exoplayer2.source.hls.playlist
Enclosing class:HlsMediaPlaylist
public static final classHlsMediaPlaylist.ServerControlextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Server control attributes.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| boolean | canBlockReload |
Whether the server supports blocking playlist reload.
|
| boolean | canSkipDateRanges |
Whether the playlist can produce delta updates that skip older #EXT-X-DATERANGE tags in addition to media segments.
|
| long | holdBackUs |
The server-recommended live offset in microseconds, or C.TIME_UNSET if none defined.
|
| long | partHoldBackUs |
The server-recommended live offset in microseconds in low-latency mode, or C.TIME_UNSET if none defined.
|
| long | skipUntilUs |
The skip boundary for delta updates in microseconds, or C.TIME_UNSET if delta updates are not supported.
|
Constructors | Constructor | Description |
| --- | --- |
| ServerControl(long skipUntilUs, boolean canSkipDateRanges, long holdBackUs, long partHoldBackUs, boolean canBlockReload) |
Creates a new instance.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.
-
public ServerControl(long skipUntilUs,
boolean canSkipDateRanges,
long holdBackUs,
long partHoldBackUs,
boolean canBlockReload)
Creates a new instance.
Parameters:skipUntilUs - See skipUntilUs.canSkipDateRanges - See canSkipDateRanges.holdBackUs - See holdBackUs.partHoldBackUs - See partHoldBackUs.canBlockReload - See canBlockReload.