Class DashManifest
- java.lang.Object
-
- com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- All Implemented Interfaces:
FilterableManifest<DashManifest>
@Deprecated public class DashManifest extends Object implements FilterableManifest<DashManifest>
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014 Section 5.3.1.2.
-
-
Field Summary
Fields Modifier and Type Field Description long
availabilityStartTimeMs
Deprecated.TheavailabilityStartTime
value in milliseconds since epoch, orC.TIME_UNSET
if not present.long
durationMs
Deprecated.The duration of the presentation in milliseconds, orC.TIME_UNSET
if not applicable.boolean
dynamic
Deprecated.Whether the manifest has value "dynamic" for thetype
attribute.Uri
location
Deprecated.The location of this manifest, or null if not present.long
minBufferTimeMs
Deprecated.TheminBufferTime
value in milliseconds, orC.TIME_UNSET
if not present.long
minUpdatePeriodMs
Deprecated.TheminimumUpdatePeriod
value in milliseconds, orC.TIME_UNSET
if not applicable.ProgramInformation
programInformation
Deprecated.TheProgramInformation
, or null if not present.long
publishTimeMs
Deprecated.ThepublishTime
value in milliseconds since epoch, orC.TIME_UNSET
if not present.ServiceDescriptionElement
serviceDescription
Deprecated.TheServiceDescriptionElement
, or null if not present.long
suggestedPresentationDelayMs
Deprecated.ThesuggestedPresentationDelay
value in milliseconds, orC.TIME_UNSET
if not present.long
timeShiftBufferDepthMs
Deprecated.ThetimeShiftBufferDepth
value in milliseconds, orC.TIME_UNSET
if not present.UtcTimingElement
utcTiming
Deprecated.TheUtcTimingElement
, or null if not present.
-
Constructor Summary
Constructors Constructor Description DashManifest(long availabilityStartTimeMs, long durationMs, long minBufferTimeMs, boolean dynamic, long minUpdatePeriodMs, long timeShiftBufferDepthMs, long suggestedPresentationDelayMs, long publishTimeMs, ProgramInformation programInformation, UtcTimingElement utcTiming, ServiceDescriptionElement serviceDescription, Uri location, List<Period> periods)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DashManifest
copy(List<StreamKey> streamKeys)
Deprecated.Returns a copy of the manifest including only the streams specified by the given keys.Period
getPeriod(int index)
Deprecated.int
getPeriodCount()
Deprecated.long
getPeriodDurationMs(int index)
Deprecated.long
getPeriodDurationUs(int index)
Deprecated.
-
-
-
Field Detail
-
availabilityStartTimeMs
public final long availabilityStartTimeMs
Deprecated.TheavailabilityStartTime
value in milliseconds since epoch, orC.TIME_UNSET
if not present.
-
durationMs
public final long durationMs
Deprecated.The duration of the presentation in milliseconds, orC.TIME_UNSET
if not applicable.
-
minBufferTimeMs
public final long minBufferTimeMs
Deprecated.TheminBufferTime
value in milliseconds, orC.TIME_UNSET
if not present.
-
dynamic
public final boolean dynamic
Deprecated.Whether the manifest has value "dynamic" for thetype
attribute.
-
minUpdatePeriodMs
public final long minUpdatePeriodMs
Deprecated.TheminimumUpdatePeriod
value in milliseconds, orC.TIME_UNSET
if not applicable.
-
timeShiftBufferDepthMs
public final long timeShiftBufferDepthMs
Deprecated.ThetimeShiftBufferDepth
value in milliseconds, orC.TIME_UNSET
if not present.
-
suggestedPresentationDelayMs
public final long suggestedPresentationDelayMs
Deprecated.ThesuggestedPresentationDelay
value in milliseconds, orC.TIME_UNSET
if not present.
-
publishTimeMs
public final long publishTimeMs
Deprecated.ThepublishTime
value in milliseconds since epoch, orC.TIME_UNSET
if not present.
-
utcTiming
@Nullable public final UtcTimingElement utcTiming
Deprecated.TheUtcTimingElement
, or null if not present. Defined in DVB A168:7/2016, Section 4.7.2.
-
serviceDescription
@Nullable public final ServiceDescriptionElement serviceDescription
Deprecated.TheServiceDescriptionElement
, or null if not present.
-
location
@Nullable public final Uri location
Deprecated.The location of this manifest, or null if not present.
-
programInformation
@Nullable public final ProgramInformation programInformation
Deprecated.TheProgramInformation
, or null if not present.
-
-
Constructor Detail
-
DashManifest
public DashManifest(long availabilityStartTimeMs, long durationMs, long minBufferTimeMs, boolean dynamic, long minUpdatePeriodMs, long timeShiftBufferDepthMs, long suggestedPresentationDelayMs, long publishTimeMs, @Nullable ProgramInformation programInformation, @Nullable UtcTimingElement utcTiming, @Nullable ServiceDescriptionElement serviceDescription, @Nullable Uri location, List<Period> periods)
Deprecated.
-
-
Method Detail
-
getPeriodCount
public final int getPeriodCount()
Deprecated.
-
getPeriod
public final Period getPeriod(int index)
Deprecated.
-
getPeriodDurationMs
public final long getPeriodDurationMs(int index)
Deprecated.
-
getPeriodDurationUs
public final long getPeriodDurationUs(int index)
Deprecated.
-
copy
public final DashManifest copy(List<StreamKey> streamKeys)
Deprecated.Description copied from interface:FilterableManifest
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.- Specified by:
copy
in interfaceFilterableManifest<DashManifest>
- Parameters:
streamKeys
- A non-empty list of stream keys.- Returns:
- The filtered manifest.
-
-