protected static final class DashChunkSource.PeriodHolder extends Object
Modifier and Type | Field and Description |
---|---|
int |
localIndex |
HashMap<String,DashChunkSource.RepresentationHolder> |
representationHolders |
long |
startTimeUs |
Constructor and Description |
---|
PeriodHolder(int localIndex,
MediaPresentationDescription manifest,
int manifestIndex,
DashChunkSource.ExposedTrack selectedTrack) |
Modifier and Type | Method and Description |
---|---|
long |
getAvailableEndTimeUs() |
long |
getAvailableStartTimeUs() |
DrmInitData |
getDrmInitData() |
boolean |
isIndexExplicit() |
boolean |
isIndexUnbounded() |
void |
updatePeriod(MediaPresentationDescription manifest,
int manifestIndex,
DashChunkSource.ExposedTrack selectedTrack) |
public final int localIndex
public final long startTimeUs
public final HashMap<String,DashChunkSource.RepresentationHolder> representationHolders
public PeriodHolder(int localIndex, MediaPresentationDescription manifest, int manifestIndex, DashChunkSource.ExposedTrack selectedTrack)
public void updatePeriod(MediaPresentationDescription manifest, int manifestIndex, DashChunkSource.ExposedTrack selectedTrack) throws BehindLiveWindowException
BehindLiveWindowException
public long getAvailableStartTimeUs()
public long getAvailableEndTimeUs()
public boolean isIndexUnbounded()
public boolean isIndexExplicit()
public DrmInitData getDrmInitData()