protected static final class DefaultDashChunkSource.RepresentationHolder
extends java.lang.Object
Representation.| Modifier and Type | Field and Description |
|---|---|
Representation |
representation |
DashSegmentIndex |
segmentIndex |
| Modifier and Type | Method and Description |
|---|---|
long |
getFirstAvailableSegmentNum(DashManifest manifest,
int periodIndex,
long nowUnixTimeUs) |
long |
getFirstSegmentNum() |
long |
getLastAvailableSegmentNum(DashManifest manifest,
int periodIndex,
long nowUnixTimeUs) |
int |
getSegmentCount() |
long |
getSegmentEndTimeUs(long segmentNum) |
long |
getSegmentNum(long positionUs) |
long |
getSegmentStartTimeUs(long segmentNum) |
RangedUri |
getSegmentUrl(long segmentNum) |
public final Representation representation
@Nullable public final DashSegmentIndex segmentIndex
public long getFirstSegmentNum()
public int getSegmentCount()
public long getSegmentStartTimeUs(long segmentNum)
public long getSegmentEndTimeUs(long segmentNum)
public long getSegmentNum(long positionUs)
public RangedUri getSegmentUrl(long segmentNum)
public long getFirstAvailableSegmentNum(DashManifest manifest, int periodIndex, long nowUnixTimeUs)
public long getLastAvailableSegmentNum(DashManifest manifest, int periodIndex, long nowUnixTimeUs)