Class HlsMediaPlaylist.ServerControl
- java.lang.Object
-
- com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.ServerControl
-
- Enclosing class:
- HlsMediaPlaylist
public static final class HlsMediaPlaylist.ServerControl extends Object
Server control attributes.
-
-
Field Summary
Fields Modifier and Type Field Description booleancanBlockReloadWhether the server supports blocking playlist reload.booleancanSkipDateRangesWhether the playlist can produce delta updates that skip older #EXT-X-DATERANGE tags in addition to media segments.longholdBackUsThe server-recommended live offset in microseconds, orC.TIME_UNSETif none defined.longpartHoldBackUsThe server-recommended live offset in microseconds in low-latency mode, orC.TIME_UNSETif none defined.longskipUntilUsThe skip boundary for delta updates in microseconds, orC.TIME_UNSETif delta updates are not supported.
-
Constructor Summary
Constructors Constructor Description ServerControl(long skipUntilUs, boolean canSkipDateRanges, long holdBackUs, long partHoldBackUs, boolean canBlockReload)Creates a new instance.
-
-
-
Field Detail
-
skipUntilUs
public final long skipUntilUs
The skip boundary for delta updates in microseconds, orC.TIME_UNSETif delta updates are not supported.
-
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, orC.TIME_UNSETif none defined.
-
partHoldBackUs
public final long partHoldBackUs
The server-recommended live offset in microseconds in low-latency mode, orC.TIME_UNSETif none defined.
-
canBlockReload
public final boolean canBlockReload
Whether the server supports blocking playlist reload.
-
-
Constructor Detail
-
ServerControl
public ServerControl(long skipUntilUs, boolean canSkipDateRanges, long holdBackUs, long partHoldBackUs, boolean canBlockReload)Creates a new instance.- Parameters:
skipUntilUs- SeeskipUntilUs.canSkipDateRanges- SeecanSkipDateRanges.holdBackUs- SeeholdBackUs.partHoldBackUs- SeepartHoldBackUs.canBlockReload- SeecanBlockReload.
-
-