Class SsManifestParser
- java.lang.Object
-
- com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
-
- All Implemented Interfaces:
ParsingLoadable.Parser<SsManifest>
@Deprecated public class SsManifestParser extends Object implements ParsingLoadable.Parser<SsManifest>
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.
-
-
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.
-
-
-
Method Detail
-
parse
public SsManifest parse(Uri uri, InputStream inputStream) throws IOException
Deprecated.Description copied from interface:ParsingLoadable.Parser
Parses an object from a response.- Specified by:
parse
in interfaceParsingLoadable.Parser<SsManifest>
- Parameters:
uri
- The sourceUri
of the response, after any redirection.inputStream
- AnInputStream
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.
-
-