protected static final class DefaultDashChunkSource.RepresentationHolder extends Object
Modifier and Type | Field and Description |
---|---|
ChunkExtractorWrapper |
extractorWrapper |
Representation |
representation |
Format |
sampleFormat |
DashSegmentIndex |
segmentIndex |
Constructor and Description |
---|
RepresentationHolder(long periodDurationUs,
Representation representation) |
Modifier and Type | Method and Description |
---|---|
int |
getFirstSegmentNum() |
int |
getLastSegmentNum() |
long |
getSegmentEndTimeUs(int segmentNum) |
int |
getSegmentNum(long positionUs) |
long |
getSegmentStartTimeUs(int segmentNum) |
RangedUri |
getSegmentUrl(int segmentNum) |
void |
setSampleFormat(Format sampleFormat) |
void |
updateRepresentation(long newPeriodDurationUs,
Representation newRepresentation) |
public final ChunkExtractorWrapper extractorWrapper
public Representation representation
public DashSegmentIndex segmentIndex
public Format sampleFormat
public RepresentationHolder(long periodDurationUs, Representation representation)
public void setSampleFormat(Format sampleFormat)
public void updateRepresentation(long newPeriodDurationUs, Representation newRepresentation) throws BehindLiveWindowException
BehindLiveWindowException
public int getFirstSegmentNum()
public int getLastSegmentNum()
public long getSegmentStartTimeUs(int segmentNum)
public long getSegmentEndTimeUs(int segmentNum)
public int getSegmentNum(long positionUs)
public RangedUri getSegmentUrl(int segmentNum)