Back to Exoplayer

SsManifestParser (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/manifest/SsManifestParser.html

latest3.6 KB
Original Source

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

Class SsManifestParser

  • java.lang.Object

    • com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
  • All Implemented Interfaces:ParsingLoadable.Parser<SsManifest>


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classSsManifestParserextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[ParsingLoadable.Parser](../../../upstream/ParsingLoadable.Parser.html "interface in com.google.android.exoplayer2.upstream")<[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.

Parses SmoothStreaming client manifests.

See the IIS Smooth Streaming Client Manifest Format

Nested Class Summary

Nested Classes | Modifier and Type | Class | Description | | --- | --- | --- | | static class | SsManifestParser.MissingFieldException | Deprecated.

Thrown if a required field is missing. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | SsManifestParser() | Deprecated. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | SsManifest | parse​(Uri uri, InputStream inputStream) | Deprecated.

Parses an object from a response. |

- 

Methods inherited from class java.lang.Object

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

Constructor Detail

- 

SsManifestParser

public SsManifestParser()

Deprecated.

Method Detail

- 

parse

public[SsManifest](SsManifest.html "class in com.google.android.exoplayer2.source.smoothstreaming.manifest")parse​([Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")uri,[InputStream](https://developer.android.com/reference/java/io/InputStream.html "class or interface in java.io")inputStream)
                 throws[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")

Deprecated.

Description copied from interface: ParsingLoadable.Parser

Parses an object from a response. Specified by:parse in interface ParsingLoadable.Parser<SsManifest>Parameters:uri - The source Uri of the response, after any redirection.inputStream - An InputStream from which the response data can be read.Returns:The parsed object.Throws:ParserException - If an error occurs parsing the data.IOException - If an error occurs reading data from the stream.