DashManifest
@UnstableApi
class DashManifest : FilterableManifest
Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014 Section 5.3.1.2.
Summary
Public constructors |
---|
DashManifest( |
Public functions |
|
---|---|
DashManifest! |
Returns a copy of the manifest including only the streams specified by the given keys. |
Period! |
|
Int |
|
Long |
getPeriodDurationMs(index: Int) |
Long |
getPeriodDurationUs(index: Int) |
Public properties |
|
---|---|
Long |
The |
Long |
The duration of the presentation in milliseconds, or |
Boolean |
Whether the manifest has value "dynamic" for the |
Uri? |
The location of this manifest, or null if not present. |
Long |
The |
Long |
The |
ProgramInformation? |
The |
Long |
The |
ServiceDescriptionElement? |
The |
Long |
The |
Long |
The |
UtcTimingElement? |
The |
Public constructors
DashManifest
DashManifest(
availabilityStartTimeMs: Long,
durationMs: Long,
minBufferTimeMs: Long,
dynamic: Boolean,
minUpdatePeriodMs: Long,
timeShiftBufferDepthMs: Long,
suggestedPresentationDelayMs: Long,
publishTimeMs: Long,
programInformation: ProgramInformation?,
utcTiming: UtcTimingElement?,
serviceDescription: ServiceDescriptionElement?,
location: Uri?,
periods: (Mutable)List<Period!>!
)
Public functions
copy
fun copy(streamKeys: (Mutable)List<StreamKey!>!): DashManifest!
Returns a copy of the manifest including only the streams specified by the given keys. If the manifest is unchanged then the instance may return itself.
Returns | |
---|---|
DashManifest! |
The filtered manifest. |
Public properties
availabilityStartTimeMs
val availabilityStartTimeMs: Long
The availabilityStartTime
value in milliseconds since epoch, or TIME_UNSET
if not present.
durationMs
val durationMs: Long
The duration of the presentation in milliseconds, or TIME_UNSET
if not applicable.
minBufferTimeMs
val minBufferTimeMs: Long
The minBufferTime
value in milliseconds, or TIME_UNSET
if not present.
minUpdatePeriodMs
val minUpdatePeriodMs: Long
The minimumUpdatePeriod
value in milliseconds, or TIME_UNSET
if not applicable.
programInformation
val programInformation: ProgramInformation?
The ProgramInformation
, or null if not present.
publishTimeMs
val publishTimeMs: Long
The publishTime
value in milliseconds since epoch, or TIME_UNSET
if not present.
serviceDescription
val serviceDescription: ServiceDescriptionElement?
The ServiceDescriptionElement
, or null if not present.
suggestedPresentationDelayMs
val suggestedPresentationDelayMs: Long
The suggestedPresentationDelay
value in milliseconds, or TIME_UNSET
if not present.
timeShiftBufferDepthMs
val timeShiftBufferDepthMs: Long
The timeShiftBufferDepth
value in milliseconds, or TIME_UNSET
if not present.
utcTiming
val utcTiming: UtcTimingElement?
The UtcTimingElement
, or null if not present. Defined in DVB A168:7/2016, Section 4.7.2.