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 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 interface com.google.android.exoplayer2.upstream.ParsingLoadable.Parser<com.google.android.exoplayer2.source.dash.manifest.DashManifest>
      Throws:
      IOException