DefaultDashChunkSource.RepresentationHolder


protected class DefaultDashChunkSource.RepresentationHolder


Holds information about a snapshot of a single Representation.

Summary

Public functions

Long
Long
Long
Long
Long
Long
getSegmentNum(positionUs: Long)
Long
RangedUri!
getSegmentUrl(segmentNum: Long)
Boolean
isSegmentAvailableAtFullNetworkSpeed(
    segmentNum: Long,
    nowPeriodTimeUs: Long
)

Public functions

getFirstAvailableSegmentNum

fun getFirstAvailableSegmentNum(nowUnixTimeUs: Long): Long

getFirstSegmentNum

fun getFirstSegmentNum(): Long

getLastAvailableSegmentNum

fun getLastAvailableSegmentNum(nowUnixTimeUs: Long): Long

getSegmentCount

fun getSegmentCount(): Long

getSegmentEndTimeUs

fun getSegmentEndTimeUs(segmentNum: Long): Long

getSegmentNum

fun getSegmentNum(positionUs: Long): Long

getSegmentStartTimeUs

fun getSegmentStartTimeUs(segmentNum: Long): Long

getSegmentUrl

fun getSegmentUrl(segmentNum: Long): RangedUri!

isSegmentAvailableAtFullNetworkSpeed

fun isSegmentAvailableAtFullNetworkSpeed(
    segmentNum: Long,
    nowPeriodTimeUs: Long
): Boolean

Public properties

representation

val representationRepresentation!

segmentIndex

val segmentIndexDashSegmentIndex?

selectedBaseUrl

val selectedBaseUrlBaseUrl!