docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifest.html
Package com.google.android.exoplayer2.source.smoothstreaming.manifest
All Implemented Interfaces:FilterableManifest<SsManifest>
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classSsManifestextends[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")<[SsManifest](SsManifest.html "class in com.google.android.exoplayer2.source.smoothstreaming.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 SmoothStreaming manifest.
See the IIS Smooth Streaming Client Manifest Format
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static class | SsManifest.ProtectionElement |
Deprecated.
Represents a protection element containing a single header.
|
| static class | SsManifest.StreamElement |
Deprecated.
Represents a StreamIndex element. |
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| long | durationUs |
Deprecated.
The overall presentation duration of the media in microseconds, or C.TIME_UNSET if the duration is unknown.
|
| long | dvrWindowLengthUs |
Deprecated.
The length of the trailing window for a live broadcast in microseconds, or C.TIME_UNSET if the stream is not live or if the window length is unspecified.
|
| boolean | isLive |
Deprecated.
Whether the manifest describes a live presentation still in progress.
|
| int | lookAheadCount |
Deprecated.
The number of fragments in a lookahead, or UNSET_LOOKAHEAD if the lookahead is unspecified.
|
| int | majorVersion |
Deprecated.
The client manifest major version.
|
| int | minorVersion |
Deprecated.
The client manifest minor version.
|
| SsManifest.ProtectionElement | protectionElement |
Deprecated.
Content protection information, or null if the content is not protected.
|
| SsManifest.StreamElement[] | streamElements |
Deprecated.
The contained stream elements.
|
| static int | UNSET_LOOKAHEAD |
Deprecated.
|
Constructors | Constructor | Description |
| --- | --- |
| SsManifest(int majorVersion, int minorVersion, long timescale, long duration, long dvrWindowLength, int lookAheadCount, boolean isLive, SsManifest.ProtectionElement protectionElement, SsManifest.StreamElement[] streamElements) |
Deprecated.
|
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| SsManifest | copy(List<StreamKey> streamKeys) |
Deprecated.
Returns a copy of the manifest including only the streams specified by the given keys. |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static final int UNSET_LOOKAHEAD
Deprecated. See Also:Constant Field Values
-
public final int majorVersion
Deprecated.
The client manifest major version.
-
public final int minorVersion
Deprecated.
The client manifest minor version.
-
public final int lookAheadCount
Deprecated.
The number of fragments in a lookahead, or UNSET_LOOKAHEAD if the lookahead is unspecified.
-
public final boolean isLive
Deprecated.
Whether the manifest describes a live presentation still in progress.
-
@Nullable
public final[SsManifest.ProtectionElement](SsManifest.ProtectionElement.html "class in com.google.android.exoplayer2.source.smoothstreaming.manifest")protectionElement
Deprecated.
Content protection information, or null if the content is not protected.
-
public final[SsManifest.StreamElement](SsManifest.StreamElement.html "class in com.google.android.exoplayer2.source.smoothstreaming.manifest")[] streamElements
Deprecated.
The contained stream elements.
-
public final long durationUs
Deprecated.
The overall presentation duration of the media in microseconds, or C.TIME_UNSET if the duration is unknown.
-
public final long dvrWindowLengthUs
Deprecated.
The length of the trailing window for a live broadcast in microseconds, or C.TIME_UNSET if the stream is not live or if the window length is unspecified.
-
public SsManifest(int majorVersion,
int minorVersion,
long timescale,
long duration,
long dvrWindowLength,
int lookAheadCount,
boolean isLive,
@Nullable[SsManifest.ProtectionElement](SsManifest.ProtectionElement.html "class in com.google.android.exoplayer2.source.smoothstreaming.manifest")protectionElement,[SsManifest.StreamElement](SsManifest.StreamElement.html "class in com.google.android.exoplayer2.source.smoothstreaming.manifest")[] streamElements)
Deprecated.
Parameters:majorVersion - The client manifest major version.minorVersion - The client manifest minor version.timescale - The timescale of the media as the number of units that pass in one second.duration - The overall presentation duration in units of the timescale attribute, or 0 if the duration is unknown.dvrWindowLength - The length of the trailing window in units of the timescale attribute, or 0 if this attribute is unspecified or not applicable.lookAheadCount - The number of fragments in a lookahead, or UNSET_LOOKAHEAD if this attribute is unspecified or not applicable.isLive - True if the manifest describes a live presentation still in progress. False otherwise.protectionElement - Content protection information, or null if the content is not protected.streamElements - The contained stream elements.
-
public final[SsManifest](SsManifest.html "class in com.google.android.exoplayer2.source.smoothstreaming.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<SsManifest>Parameters:streamKeys - A non-empty list of stream keys.Returns:The filtered manifest.