Class MediaParserChunkExtractor

    • Constructor Detail

      • MediaParserChunkExtractor

        public MediaParserChunkExtractor​( int primaryTrackType,
                                         Format manifestFormat,
                                         List<Format> closedCaptionFormats,
                                         PlayerId playerId)
        Creates a new instance.
        primaryTrackType - The type of the primary track. C.TRACK_TYPE_NONE if there is no primary track.
        manifestFormat - The chunks Format as obtained from the manifest.
        closedCaptionFormats - A list containing the Formats of the closed-caption tracks in the chunks.
        playerId - The PlayerId of the player this chunk extractor is used for.