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 java.lang.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
Constructors Constructor Description OfflineDashManifestParser(com.google.android.exoplayer2.source.dash.manifest.DashManifestParser wrappedManifestParser, android.content.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.android.exoplayer2.source.dash.manifest.DashManifest
parse(android.net.Uri uri, java.io.InputStream inputStream)
-
-
-
Method Detail
-
parse
public com.google.android.exoplayer2.source.dash.manifest.DashManifest parse(android.net.Uri uri, java.io.InputStream inputStream) throws java.io.IOException
- Specified by:
parse
in interfacecom.google.android.exoplayer2.upstream.ParsingLoadable.Parser<com.google.android.exoplayer2.source.dash.manifest.DashManifest>
- Throws:
java.io.IOException
-
-