Package com.brightcove.player.dash
Class OfflineDashManifestParser
java.lang.Object
com.brightcove.player.dash.OfflineDashManifestParser
- All Implemented Interfaces:
com.google.android.exoplayer2.upstream.ParsingLoadable.Parser<com.google.android.exoplayer2.source.dash.manifest.DashManifest>
public class OfflineDashManifestParser
extends Object
implements com.google.android.exoplayer2.upstream.ParsingLoadable.Parser<com.google.android.exoplayer2.source.dash.manifest.DashManifest>
This class is used to parse an offline Dash Manifest and filters in only the Representations
which were previously stored in the device.
-
Constructor Summary
ConstructorDescriptionOfflineDashManifestParser
(com.google.android.exoplayer2.source.dash.manifest.DashManifestParser wrappedManifestParser, android.content.Context context) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.android.exoplayer2.source.dash.manifest.DashManifest
parse
(android.net.Uri uri, InputStream inputStream)
-
Constructor Details
-
OfflineDashManifestParser
public OfflineDashManifestParser(@NonNull com.google.android.exoplayer2.source.dash.manifest.DashManifestParser wrappedManifestParser, android.content.Context context)
-
-
Method Details
-
parse
public com.google.android.exoplayer2.source.dash.manifest.DashManifest parse(android.net.Uri uri, InputStream inputStream) throws IOException - Specified by:
parse
in interfacecom.google.android.exoplayer2.upstream.ParsingLoadable.Parser<com.google.android.exoplayer2.source.dash.manifest.DashManifest>
- Throws:
IOException
-