protected static final class DashChunkSource.RepresentationHolder extends Object
Modifier and Type | Field and Description |
---|---|
ChunkExtractorWrapper |
extractorWrapper |
MediaFormat |
mediaFormat |
boolean |
mimeTypeIsRawText |
Representation |
representation |
DashSegmentIndex |
segmentIndex |
Constructor and Description |
---|
RepresentationHolder(long periodStartTimeUs,
long periodDurationUs,
Representation representation) |
Modifier and Type | Method and Description |
---|---|
int |
getFirstAvailableSegmentNum() |
int |
getLastSegmentNum() |
long |
getSegmentEndTimeUs(int segmentNum) |
int |
getSegmentNum(long positionUs) |
long |
getSegmentStartTimeUs(int segmentNum) |
RangedUri |
getSegmentUrl(int segmentNum) |
boolean |
isBeyondLastSegment(int segmentNum) |
void |
updateRepresentation(long newPeriodDurationUs,
Representation newRepresentation) |
public final boolean mimeTypeIsRawText
public final ChunkExtractorWrapper extractorWrapper
public Representation representation
public DashSegmentIndex segmentIndex
public MediaFormat mediaFormat
public RepresentationHolder(long periodStartTimeUs, long periodDurationUs, Representation representation)
public void updateRepresentation(long newPeriodDurationUs, Representation newRepresentation) throws BehindLiveWindowException
BehindLiveWindowException
public int getSegmentNum(long positionUs)
public long getSegmentStartTimeUs(int segmentNum)
public long getSegmentEndTimeUs(int segmentNum)
public int getLastSegmentNum()
public boolean isBeyondLastSegment(int segmentNum)
public int getFirstAvailableSegmentNum()
public RangedUri getSegmentUrl(int segmentNum)