@UnstableApi
public class SsManifestParser implements ParsingLoadable.Parser


Parses SmoothStreaming client manifests.

See the IIS Smooth Streaming Client Manifest Format

Summary

Nested types

Thrown if a required field is missing.

Public constructors

Public methods

SsManifest
parse(Uri uri, InputStream inputStream)

Parses an object from a response.

Public constructors

SsManifestParser

public SsManifestParser()

Public methods

parse

public SsManifest parse(Uri uri, InputStream inputStream)

Parses an object from a response.

Parameters
Uri uri

The source Uri of the response, after any redirection.

InputStream inputStream

An InputStream from which the response data can be read.

Returns
SsManifest

The parsed object.

Throws
androidx.media3.common.ParserException

If an error occurs parsing the data.

java.io.IOException

If an error occurs reading data from the stream.