Back to Exoplayer

DashManifest (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/dash/manifest/DashManifest.html

latest10.0 KB
Original Source

Package com.google.android.exoplayer2.source.dash.manifest

Class DashManifest

  • java.lang.Object

    • com.google.android.exoplayer2.source.dash.manifest.DashManifest
  • All Implemented Interfaces:FilterableManifest<DashManifest>


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classDashManifestextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[FilterableManifest](../../../offline/FilterableManifest.html "interface in com.google.android.exoplayer2.offline")<[DashManifest](DashManifest.html "class in com.google.android.exoplayer2.source.dash.manifest")>

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.

The availabilityStartTime value in milliseconds since epoch, or C.TIME_UNSET if not present. | | long | durationMs | Deprecated.

The duration of the presentation in milliseconds, or C.TIME_UNSET if not applicable. | | boolean | dynamic | Deprecated.

Whether the manifest has value "dynamic" for the type attribute. | | Uri | location | Deprecated.

The location of this manifest, or null if not present. | | long | minBufferTimeMs | Deprecated.

The minBufferTime value in milliseconds, or C.TIME_UNSET if not present. | | long | minUpdatePeriodMs | Deprecated.

The minimumUpdatePeriod value in milliseconds, or C.TIME_UNSET if not applicable. | | ProgramInformation | programInformation | Deprecated.

The ProgramInformation, or null if not present. | | long | publishTimeMs | Deprecated.

The publishTime value in milliseconds since epoch, or C.TIME_UNSET if not present. | | ServiceDescriptionElement | serviceDescription | Deprecated.

The ServiceDescriptionElement, or null if not present. | | long | suggestedPresentationDelayMs | Deprecated.

The suggestedPresentationDelay value in milliseconds, or C.TIME_UNSET if not present. | | long | timeShiftBufferDepthMs | Deprecated.

The timeShiftBufferDepth value in milliseconds, or C.TIME_UNSET if not present. | | UtcTimingElement | utcTiming | Deprecated.

The UtcTimingElement, 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. |

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

availabilityStartTimeMs

public final long availabilityStartTimeMs

Deprecated.

The availabilityStartTime value in milliseconds since epoch, or C.TIME_UNSET if not present.

- 

durationMs

public final long durationMs

Deprecated.

The duration of the presentation in milliseconds, or C.TIME_UNSET if not applicable.

- 

minBufferTimeMs

public final long minBufferTimeMs

Deprecated.

The minBufferTime value in milliseconds, or C.TIME_UNSET if not present.

- 

dynamic

public final boolean dynamic

Deprecated.

Whether the manifest has value "dynamic" for the type attribute.

- 

minUpdatePeriodMs

public final long minUpdatePeriodMs

Deprecated.

The minimumUpdatePeriod value in milliseconds, or C.TIME_UNSET if not applicable.

- 

timeShiftBufferDepthMs

public final long timeShiftBufferDepthMs

Deprecated.

The timeShiftBufferDepth value in milliseconds, or C.TIME_UNSET if not present.

- 

suggestedPresentationDelayMs

public final long suggestedPresentationDelayMs

Deprecated.

The suggestedPresentationDelay value in milliseconds, or C.TIME_UNSET if not present.

- 

publishTimeMs

public final long publishTimeMs

Deprecated.

The publishTime value in milliseconds since epoch, or C.TIME_UNSET if not present.

- 

utcTiming

@Nullable
public final[UtcTimingElement](UtcTimingElement.html "class in com.google.android.exoplayer2.source.dash.manifest")utcTiming

Deprecated.

The UtcTimingElement, or null if not present. Defined in DVB A168:7/2016, Section 4.7.2.

- 

serviceDescription

@Nullable
public final[ServiceDescriptionElement](ServiceDescriptionElement.html "class in com.google.android.exoplayer2.source.dash.manifest")serviceDescription

Deprecated.

The ServiceDescriptionElement, or null if not present.

- 

location

@Nullable
public final[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")location

Deprecated.

The location of this manifest, or null if not present.

- 

programInformation

@Nullable
public final[ProgramInformation](ProgramInformation.html "class in com.google.android.exoplayer2.source.dash.manifest")programInformation

Deprecated.

The ProgramInformation, 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.html "class in com.google.android.exoplayer2.source.dash.manifest")programInformation,
                    @Nullable[UtcTimingElement](UtcTimingElement.html "class in com.google.android.exoplayer2.source.dash.manifest")utcTiming,
                    @Nullable[ServiceDescriptionElement](ServiceDescriptionElement.html "class in com.google.android.exoplayer2.source.dash.manifest")serviceDescription,
                    @Nullable[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")location,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Period](Period.html "class in com.google.android.exoplayer2.source.dash.manifest")> periods)

Deprecated.

Method Detail

- 

getPeriodCount

public final int getPeriodCount()

Deprecated.

- 

getPeriod

public final[Period](Period.html "class in com.google.android.exoplayer2.source.dash.manifest")getPeriod​(int index)

Deprecated.

- 

getPeriodDurationMs

public final long getPeriodDurationMs​(int index)

Deprecated.

- 

getPeriodDurationUs

public final long getPeriodDurationUs​(int index)

Deprecated.

- 

copy

public final[DashManifest](DashManifest.html "class in com.google.android.exoplayer2.source.dash.manifest")copy​([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[StreamKey](../../../offline/StreamKey.html "class in com.google.android.exoplayer2.offline")> 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 interface FilterableManifest<DashManifest>Parameters:streamKeys - A non-empty list of stream keys.Returns:The filtered manifest.