Skip navigation links
A B C D E F G H I M O P R S T U V W 

A

AAC_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
AC3_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Registers a listener to receive events from the playlist tracker.
audios - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The list of demuxed audios declared by the playlist.

B

baseUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
The base uri.
byterangeLength - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The segment's byte range length, as defined by #EXT-X-BYTERANGE, or C.LENGTH_UNSET if no byte range is specified.
byterangeOffset - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The segment's byte range offset, as defined by #EXT-X-BYTERANGE.

C

CMF_FILE_EXTENSION_PREFIX - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
com.google.android.exoplayer2.source.hls - package com.google.android.exoplayer2.source.hls
 
com.google.android.exoplayer2.source.hls.offline - package com.google.android.exoplayer2.source.hls.offline
 
com.google.android.exoplayer2.source.hls.playlist - package com.google.android.exoplayer2.source.hls.playlist
 
compareTo(Long) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
 
continueLoading(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except for the start time, the discontinuity sequence and hasDiscontinuitySequence values.
copyWithEndTag() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns a playlist identical to this one except that an end tag is added.
createDataSource(int) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
 
createDataSource(int) - Method in interface com.google.android.exoplayer2.source.hls.HlsDataSourceFactory
Creates a DataSource for the given data type.
createDownloadAction(Uri, byte[], List<StreamKey>) - Static method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadAction
Creates a HLS download action.
createDownloader(DownloaderConstructorHelper) - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadAction
 
createExtractor(Extractor, Uri, Format, List<Format>, DrmInitData, TimestampAdjuster, Map<String, List<String>>, ExtractorInput) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
createExtractor(Extractor, Uri, Format, List<Format>, DrmInitData, TimestampAdjuster, Map<String, List<String>>, ExtractorInput) - Method in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
Creates an Extractor for extracting HLS media chunks.
createMediaPlaylistHlsUrl(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
Creates an HLS url from a given http url.
createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Returns a new HlsMediaSource using the current parameters.
createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Deprecated.
Use HlsMediaSource.Factory.createMediaSource(Uri) and BaseMediaSource.addEventListener(Handler, MediaSourceEventListener) instead.
createPeriod(MediaSource.MediaPeriodId, Allocator) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
createPlaylistParser() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
createPlaylistParser(HlsMasterPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
 
createPlaylistParser() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
Returns a stand-alone playlist parser.
createPlaylistParser(HlsMasterPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
Returns a playlist parser for playlists that were referenced by the given HlsMasterPlaylist.
createRemoveAction(Uri, byte[]) - Static method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadAction
Creates a HLS remove action.
createSingleVariantMasterPlaylist(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Creates a playlist with a single variant.
createTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.Factory
Creates a new tracker instance.

D

DEFAULT - Static variable in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
 
DefaultHlsDataSourceFactory - Class in com.google.android.exoplayer2.source.hls
Default implementation of HlsDataSourceFactory.
DefaultHlsDataSourceFactory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
 
DefaultHlsExtractorFactory - Class in com.google.android.exoplayer2.source.hls
Default HlsExtractorFactory implementation.
DefaultHlsExtractorFactory() - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
Creates a factory for HLS segment extractors.
DefaultHlsExtractorFactory(int) - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
Creates a factory for HLS segment extractors.
DefaultHlsPlaylistParserFactory - Class in com.google.android.exoplayer2.source.hls.playlist
Default implementation for HlsPlaylistParserFactory.
DefaultHlsPlaylistParserFactory() - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
Creates an instance that does not filter any parsing results.
DefaultHlsPlaylistParserFactory(List<StreamKey>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
Creates an instance that filters the parsing results using the given streamKeys.
DefaultHlsPlaylistTracker - Class in com.google.android.exoplayer2.source.hls.playlist
Default implementation for HlsPlaylistTracker.
DefaultHlsPlaylistTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, ParsingLoadable.Parser<HlsPlaylist>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
Deprecated.
Use DefaultHlsPlaylistTracker.DefaultHlsPlaylistTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) instead. Using this constructor prevents support for attributes that are carried over from the master playlist to the media playlists.
DefaultHlsPlaylistTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
DESERIALIZER - Static variable in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadAction
 
discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
discontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The discontinuity sequence number of the first media segment in the playlist, as defined by #EXT-X-DISCONTINUITY-SEQUENCE.
drmInitData - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
DRM initialization data for sample decryption, or null if the segment does not use CDM-DRM protection.
durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The total duration of the playlist in microseconds.
durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The duration of the segment in microseconds, as defined by #EXTINF.

E

EC3_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
EMPTY - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Represents an empty master playlist, from which no attributes can be inherited.
encryptionIV - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The encryption initialization vector as defined by #EXT-X-KEY, or null if the segment is not encrypted.

F

Factory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Creates a new factory for HlsMediaSources.
Factory(HlsDataSourceFactory) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Creates a new factory for HlsMediaSources.
FACTORY - Static variable in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
Factory for DefaultHlsPlaylistTracker instances.
format - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
Format information associated with the HLS url.
fullSegmentEncryptionKeyUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The encryption identity key uri as defined by #EXT-X-KEY, or null if the segment does not use full segment encryption with identity key.

G

getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
getAdjuster(int) - Method in class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
Returns a TimestampAdjuster suitable for adjusting the pts timestamps contained in a chunk with a given discontinuity sequence.
getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
getDownloadAction(byte[], List<TrackKey>) - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadHelper
 
getEndTimeUs() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns the result of adding the duration of the playlist to its start time.
getInitialStartTimeUs() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
getInitialStartTimeUs() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns the start time of the first loaded primary playlist, or C.TIME_UNSET if no media playlist has been loaded.
getManifest(DataSource, Uri) - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloader
 
getMasterPlaylist() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
getMasterPlaylist() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns the master playlist.
getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
getPeriodCount() - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadHelper
 
getPlaylist() - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadHelper
Returns the HLS playlist.
getPlaylistSnapshot(HlsMasterPlaylist.HlsUrl, boolean) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
getPlaylistSnapshot(HlsMasterPlaylist.HlsUrl, boolean) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns the most recent snapshot available of the playlist referenced by the provided HlsMasterPlaylist.HlsUrl.
getRemoveAction(byte[]) - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadHelper
 
getSegments(DataSource, HlsPlaylist, boolean) - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloader
 
getSupportedTypes() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
 
getTrackGroups() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
getTrackGroups(int) - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadHelper
 
GROUP_INDEX_AUDIO - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
GROUP_INDEX_SUBTITLE - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
GROUP_INDEX_VARIANT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 

H

hasDiscontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains the #EXT-X-DISCONTINUITY-SEQUENCE tag.
hasEndTag - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains the #EXT-X-ENDLIST tag.
hasGapTag - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
Whether the segment is tagged with #EXT-X-GAP.
hasIndependentSegments - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
Whether the media is formed of independent segments, as defined by the #EXT-X-INDEPENDENT-SEGMENTS tag.
hasProgramDateTime - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Whether the playlist contains a #EXT-X-PROGRAM-DATE-TIME tag.
HlsDataSourceFactory - Interface in com.google.android.exoplayer2.source.hls
Creates DataSources for HLS playlists, encryption and media chunks.
HlsDownloadAction - Class in com.google.android.exoplayer2.source.hls.offline
An action to download or remove downloaded HLS streams.
HlsDownloadAction(Uri, boolean, byte[], List<StreamKey>) - Constructor for class com.google.android.exoplayer2.source.hls.offline.HlsDownloadAction
HlsDownloader - Class in com.google.android.exoplayer2.source.hls.offline
A downloader for HLS streams.
HlsDownloader(Uri, List<StreamKey>, DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.source.hls.offline.HlsDownloader
 
HlsDownloadHelper - Class in com.google.android.exoplayer2.source.hls.offline
A DownloadHelper for HLS streams.
HlsDownloadHelper(Uri, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.hls.offline.HlsDownloadHelper
 
HlsExtractorFactory - Interface in com.google.android.exoplayer2.source.hls
Factory for HLS media chunk extractors.
HlsManifest - Class in com.google.android.exoplayer2.source.hls
Holds a master playlist along with a snapshot of one of its media playlists.
HlsMasterPlaylist - Class in com.google.android.exoplayer2.source.hls.playlist
Represents an HLS master playlist.
HlsMasterPlaylist(String, List<String>, List<HlsMasterPlaylist.HlsUrl>, List<HlsMasterPlaylist.HlsUrl>, List<HlsMasterPlaylist.HlsUrl>, Format, List<Format>, boolean, Map<String, String>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
 
HlsMasterPlaylist.HlsUrl - Class in com.google.android.exoplayer2.source.hls.playlist
Represents a url in an HLS master playlist.
HlsMediaPeriod - Class in com.google.android.exoplayer2.source.hls
A MediaPeriod that loads an HLS stream.
HlsMediaPeriod(HlsExtractorFactory, HlsPlaylistTracker, HlsDataSourceFactory, TransferListener, LoadErrorHandlingPolicy, MediaSourceEventListener.EventDispatcher, Allocator, CompositeSequenceableLoaderFactory, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
Creates an HLS media period.
HlsMediaPlaylist - Class in com.google.android.exoplayer2.source.hls.playlist
Represents an HLS media playlist.
HlsMediaPlaylist(int, String, List<String>, long, long, boolean, int, long, int, long, boolean, boolean, boolean, DrmInitData, List<HlsMediaPlaylist.Segment>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
HlsMediaPlaylist.PlaylistType - Annotation Type in com.google.android.exoplayer2.source.hls.playlist
Type of the playlist, as defined by #EXT-X-PLAYLIST-TYPE.
HlsMediaPlaylist.Segment - Class in com.google.android.exoplayer2.source.hls.playlist
Media segment reference.
HlsMediaSource - Class in com.google.android.exoplayer2.source.hls
An HLS MediaSource.
HlsMediaSource(Uri, DataSource.Factory, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource
Deprecated.
HlsMediaSource(Uri, DataSource.Factory, int, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource
Deprecated.
HlsMediaSource(Uri, HlsDataSourceFactory, HlsExtractorFactory, int, Handler, MediaSourceEventListener, ParsingLoadable.Parser<HlsPlaylist>) - Constructor for class com.google.android.exoplayer2.source.hls.HlsMediaSource
Deprecated.
HlsMediaSource.Factory - Class in com.google.android.exoplayer2.source.hls
Factory for HlsMediaSources.
HlsPlaylist - Class in com.google.android.exoplayer2.source.hls.playlist
Represents an HLS playlist.
HlsPlaylist(String, List<String>, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
 
HlsPlaylistParser - Class in com.google.android.exoplayer2.source.hls.playlist
HLS playlists parsing logic.
HlsPlaylistParser() - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
Creates an instance where media playlists are parsed without inheriting attributes from a master playlist.
HlsPlaylistParser(HlsMasterPlaylist) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
Creates an instance where parsed media playlists inherit attributes from the given master playlist.
HlsPlaylistParserFactory - Interface in com.google.android.exoplayer2.source.hls.playlist
Factory for HlsPlaylist parsers.
HlsPlaylistTracker - Interface in com.google.android.exoplayer2.source.hls.playlist
Tracks playlists associated to an HLS stream and provides snapshots.
HlsPlaylistTracker.Factory - Interface in com.google.android.exoplayer2.source.hls.playlist
Factory for HlsPlaylistTracker instances.
HlsPlaylistTracker.PlaylistEventListener - Interface in com.google.android.exoplayer2.source.hls.playlist
Called on playlist loading events.
HlsPlaylistTracker.PlaylistResetException - Exception in com.google.android.exoplayer2.source.hls.playlist
Thrown when the media sequence of a new snapshot indicates the server has reset.
HlsPlaylistTracker.PlaylistStuckException - Exception in com.google.android.exoplayer2.source.hls.playlist
Thrown when a playlist is considered to be stuck due to a server side error.
HlsPlaylistTracker.PrimaryPlaylistListener - Interface in com.google.android.exoplayer2.source.hls.playlist
Listener for primary playlist changes.
HlsUrl(String, Format) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
 

I

init(ExtractorOutput) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
initializationSegment - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The media initialization section for this segment, as defined by #EXT-X-MAP.
isLive() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
isLive() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns whether the tracked playlists describe a live stream.
isNewerThan(HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Returns whether this playlist is newer than other.
isSnapshotValid(HlsMasterPlaylist.HlsUrl) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
isSnapshotValid(HlsMasterPlaylist.HlsUrl) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Returns whether the snapshot of the playlist referenced by the provided HlsMasterPlaylist.HlsUrl is valid, meaning all the segments referenced by the playlist are expected to be available.

M

M4_FILE_EXTENSION_PREFIX - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
masterPlaylist - Variable in class com.google.android.exoplayer2.source.hls.HlsManifest
The master playlist of an HLS stream.
maybeThrowPlaylistRefreshError(HlsMasterPlaylist.HlsUrl) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
maybeThrowPlaylistRefreshError(HlsMasterPlaylist.HlsUrl) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
If the playlist is having trouble refreshing the playlist referenced by the given HlsMasterPlaylist.HlsUrl, this method throws the underlying error.
maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
maybeThrowPrimaryPlaylistRefreshError() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
maybeThrowPrimaryPlaylistRefreshError() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
If the tracker is having trouble refreshing the master playlist or the primary playlist, this method throws the underlying error.
maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
mediaPlaylist - Variable in class com.google.android.exoplayer2.source.hls.HlsManifest
A snapshot of a media playlist referred to by HlsManifest.masterPlaylist.
mediaSequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The media sequence number of the first media segment in the playlist, as defined by #EXT-X-MEDIA-SEQUENCE.
MP3_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
MP4_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
MP4_FILE_EXTENSION_PREFIX - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
muxedAudioFormat - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The format of the audio muxed in the variants.
muxedCaptionFormats - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The format of the closed captions declared by the playlist.

O

onContinueLoadingRequested(HlsSampleStreamWrapper) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onLoadCanceled(ParsingLoadable<HlsPlaylist>, long, long, boolean) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
onLoadCompleted(ParsingLoadable<HlsPlaylist>, long, long) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
onLoadError(ParsingLoadable<HlsPlaylist>, long, long, IOException, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
onPlaylistChanged() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPlaylistChanged() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistEventListener
Called a playlist changes.
onPlaylistError(HlsMasterPlaylist.HlsUrl, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPlaylistError(HlsMasterPlaylist.HlsUrl, long) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistEventListener
Called if an error is encountered while loading a playlist.
onPlaylistRefreshRequired(HlsMasterPlaylist.HlsUrl) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPrepared() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
onPrimaryPlaylistRefreshed(HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
onPrimaryPlaylistRefreshed(HlsMediaPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PrimaryPlaylistListener
Called when the primary playlist changes.

P

parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
 
PLAYLIST_TYPE_EVENT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PLAYLIST_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PLAYLIST_TYPE_VOD - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
 
PlaylistResetException(String) - Constructor for exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistResetException
Creates an instance.
PlaylistStuckException(String) - Constructor for exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistStuckException
Creates an instance.
playlistType - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The type of the playlist.
prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
prepareInternal() - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloadHelper
 
prepareSourceInternal(ExoPlayer, boolean, TransferListener) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
protectionSchemes - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
Contains the CDM protection schemes used by segments in this playlist.

R

read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
readDiscontinuity() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
refreshPlaylist(HlsMasterPlaylist.HlsUrl) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
refreshPlaylist(HlsMasterPlaylist.HlsUrl) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Requests a playlist refresh and whitelists it.
relativeDiscontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The number of #EXT-X-DISCONTINUITY tags in the playlist before the segment.
relativeStartTimeUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The start time of the segment in microseconds, relative to the start of the playlist.
release() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
release() - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
 
removeListener(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
removeListener(HlsPlaylistTracker.PlaylistEventListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Unregisters a listener.
reset() - Method in class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
Resets the provider.

S

SampleQueueMappingException - Exception in com.google.android.exoplayer2.source.hls
Thrown when it is not possible to map a TrackGroup to a SampleQueue.
SampleQueueMappingException(String) - Constructor for exception com.google.android.exoplayer2.source.hls.SampleQueueMappingException
 
seek(long, long) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
seekToUs(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
Segment(String, long, long) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
 
Segment(String, HlsMediaPlaylist.Segment, String, long, int, long, DrmInitData, String, String, long, long, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
 
segments - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The list of segments in the playlist.
selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
 
setAllowChunklessPreparation(boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets whether chunkless preparation is allowed.
setCompositeSequenceableLoaderFactory(CompositeSequenceableLoaderFactory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the factory to create composite SequenceableLoaders for when this media source loads data from multiple streams (video, audio etc...).
setExtractorFactory(HlsExtractorFactory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the factory for Extractors for the segments.
setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the LoadErrorHandlingPolicy.
setMinLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
setPlaylistParserFactory(HlsPlaylistParserFactory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the factory from which playlist parsers will be obtained.
setPlaylistTrackerFactory(HlsPlaylistTracker.Factory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets the HlsPlaylistTracker factory.
setTag(Object) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
Sets a tag for the media source which will be published in the Timeline of the source as Timeline.Window.tag.
sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
start(Uri, MediaSourceEventListener.EventDispatcher, HlsPlaylistTracker.PrimaryPlaylistListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
start(Uri, MediaSourceEventListener.EventDispatcher, HlsPlaylistTracker.PrimaryPlaylistListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Starts the playlist tracker.
startOffsetUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The start offset in microseconds, as defined by #EXT-X-START.
startTimeUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
If HlsMediaPlaylist.hasProgramDateTime is true, contains the datetime as microseconds since epoch.
stop() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
 
stop() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
Stops the playlist tracker and releases any acquired resources.
subtitles - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The list of subtitles declared by the playlist.

T

tags - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
The list of tags in the playlist.
targetDurationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The target duration in microseconds, as defined by #EXT-X-TARGETDURATION.
TimestampAdjusterProvider - Class in com.google.android.exoplayer2.source.hls
Provides TimestampAdjuster instances for use during HLS playbacks.
TimestampAdjusterProvider() - Constructor for class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
 
title - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The human readable title of the segment.

U

url - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
The http url from which the media playlist can be obtained.
url - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
The url of the segment.
url - Variable in exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistResetException
The url of the reset playlist.
url - Variable in exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistStuckException
The url of the stuck playlist.

V

variableDefinitions - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
Contains variable definitions, as defined by the #EXT-X-DEFINE tag.
variants - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
The list of variants declared by the playlist.
version - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
The compatibility version, as defined by #EXT-X-VERSION.
VTT_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 

W

WEBVTT_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
 
WebvttExtractor - Class in com.google.android.exoplayer2.source.hls
A special purpose extractor for WebVTT content in HLS.
WebvttExtractor(String, TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.source.hls.WebvttExtractor
 
A B C D E F G H I M O P R S T U V W 
Skip navigation links