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