Class MediaParserChunkExtractor

    • Constructor Detail

      • MediaParserChunkExtractor

        public MediaParserChunkExtractor​(int primaryTrackType,
                                         Format manifestFormat,
                                         List<Format> closedCaptionFormats)
        Creates a new instance.
        Parameters:
        primaryTrackType - The type of the primary track, or C.TRACK_TYPE_NONE if there is no primary track. Must be one of the C.TRACK_TYPE_* constants.
        manifestFormat - The chunks Format as obtained from the manifest.
        closedCaptionFormats - A list containing the Formats of the closed-caption tracks in the chunks.