Class HlsPlaylistParser

    • Constructor Detail

      • HlsPlaylistParser

        public HlsPlaylistParser()
        Creates an instance where media playlists are parsed without inheriting attributes from a master playlist.
      • HlsPlaylistParser

        public HlsPlaylistParser​(HlsMasterPlaylist masterPlaylist,
                                 HlsMediaPlaylist previousMediaPlaylist)
        Creates an instance where parsed media playlists inherit attributes from the given master playlist.
        masterPlaylist - The master playlist from which media playlists will inherit attributes.
        previousMediaPlaylist - The previous media playlist from which the new media playlist may inherit skipped segments.