- absoluteStreamPosition - Variable in class com.google.android.exoplayer2.upstream.DataSpec
-
The absolute position of the data in the full stream.
- Ac3Extractor - Class in com.google.android.exoplayer2.extractor.ts
-
Facilitates the extraction of AC-3 samples from elementary audio files formatted as AC-3
bitstreams.
- Ac3Extractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- Ac3Extractor(long) - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- Ac3Util - Class in com.google.android.exoplayer2.audio
-
Utility methods for parsing (E-)AC-3 syncframes, which are access units in (E-)AC-3 bitstreams.
- acquireSession(Looper, DrmInitData) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
- acquireSession(Looper, DrmInitData) - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
- AdaptationSet - Class in com.google.android.exoplayer2.source.dash.manifest
-
Represents a set of interchangeable encoded versions of a media content component.
- AdaptationSet(int, int, List<Representation>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
- adaptationSets - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
-
The adaptation sets belonging to the period.
- adaptive - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports seamless resolution switches.
- ADAPTIVE_NOT_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
The
Renderer
can adapt between formats, but may suffer a brief discontinuity
(~50-100ms) when adaptation occurs.
- ADAPTIVE_NOT_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
The
Renderer
does not support adaptation between formats.
- ADAPTIVE_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
The
Renderer
can seamlessly adapt between formats.
- ADAPTIVE_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
- AdaptiveMediaSourceEventListener - Interface in com.google.android.exoplayer2.source
-
Interface for callbacks to be notified of adaptive
MediaSource
events.
- AdaptiveMediaSourceEventListener.EventDispatcher - Class in com.google.android.exoplayer2.source
-
- AdaptiveVideoTrackSelection - Class in com.google.android.exoplayer2.trackselection
-
A bandwidth based adaptive
TrackSelection
for video, whose selected track is updated to
be the one of highest quality given the current network conditions and the state of the buffer.
- AdaptiveVideoTrackSelection(TrackGroup, int[], BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- AdaptiveVideoTrackSelection(TrackGroup, int[], BandwidthMeter, int, long, long, long, float) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- AdaptiveVideoTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
-
- add(long) - Method in class com.google.android.exoplayer2.util.LongArray
-
Appends a value.
- add(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
Register a new task.
- addFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Adds the flag
to this buffer's flags.
- addListener(ExoPlayer.EventListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Register a listener to receive events from the player.
- addListener(ExoPlayer.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- addListener(TrackSelector.EventListener<? super T>) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
Registers a listener to receive events from the selector.
- addListener(String, Cache.Listener) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Registers a listener to listen for changes to a given key.
- addListener(String, Cache.Listener) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- addSample(int, float) - Method in class com.google.android.exoplayer2.util.SlidingPercentile
-
Adds a new weighted value.
- adjustReleaseTime(long, long) - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
-
Adjusts a frame release timestamp.
- adjustSampleTimestamp(long) - Method in class com.google.android.exoplayer2.extractor.TimestampAdjuster
-
Offsets a sample timestamp in microseconds.
- adjustTsTimestamp(long) - Method in class com.google.android.exoplayer2.extractor.TimestampAdjuster
-
Scales and offsets an MPEG-2 TS presentation timestamp considering wraparound.
- AdtsExtractor - Class in com.google.android.exoplayer2.extractor.ts
-
Facilitates the extraction of AAC samples from elementary audio files formatted as AAC with ADTS
headers.
- AdtsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- AdtsExtractor(long) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- advancePeekPosition(int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- advancePeekPosition(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- advancePeekPosition(int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Advances the peek position by length
bytes.
- advancePeekPosition(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Advances the peek position by length
bytes.
- allocate() - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
- allocate() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- Allocation - Class in com.google.android.exoplayer2.upstream
-
An allocation within a byte array.
- Allocation(byte[], int) - Constructor for class com.google.android.exoplayer2.upstream.Allocation
-
- Allocator - Interface in com.google.android.exoplayer2.upstream
-
A source of allocations.
- allowMixedMimeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- allowNonSeamlessAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- allowPassthrough(String) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
Returns whether encoded audio passthrough should be used for playing back the input format.
- ANCHOR_TYPE_END - Static variable in class com.google.android.exoplayer2.text.Cue
-
Anchors the right (for horizontal positions) or bottom (for vertical positions) edge of the cue
box.
- ANCHOR_TYPE_MIDDLE - Static variable in class com.google.android.exoplayer2.text.Cue
-
Anchors the middle of the cue box.
- ANCHOR_TYPE_START - Static variable in class com.google.android.exoplayer2.text.Cue
-
Anchors the left (for horizontal positions) or top (for vertical positions) edge of the cue
box.
- ApicFrame - Class in com.google.android.exoplayer2.metadata.id3
-
APIC (Attached Picture) ID3 frame.
- ApicFrame(String, String, int, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- APPLICATION_CEA608 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_ID3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_M3U8 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_MP4VTT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_PGS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_RAWCC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_SUBRIP - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_TTML - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_TX3G - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_VOBSUB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- areEqual(Object, Object) - Static method in class com.google.android.exoplayer2.util.Util
-
Tests two objects for Object.equals(Object)
equality, handling the case where one or
both may be null.
- ASPECT_RATIO_IDC_VALUES - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
-
Aspect ratios indexed by aspect_ratio_idc, in H.264 and H.265 SPSs.
- AspectRatioFrameLayout - Class in com.google.android.exoplayer2.ui
-
A FrameLayout
that resizes itself to match a specified aspect ratio.
- AspectRatioFrameLayout(Context) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- AspectRatioFrameLayout(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- Assertions - Class in com.google.android.exoplayer2.util
-
Provides methods for asserting the truth of expressions and properties.
- ASSERTIONS_ENABLED - Static variable in interface com.google.android.exoplayer2.ExoPlayerLibraryInfo
-
Whether the library was compiled with
Assertions
checks enabled.
- AssetDataSource - Class in com.google.android.exoplayer2.upstream
-
- AssetDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.AssetDataSource
-
- AssetDataSource(Context, TransferListener<? super AssetDataSource>) - Constructor for class com.google.android.exoplayer2.upstream.AssetDataSource
-
- AssetDataSource.AssetDataSourceException - Exception in com.google.android.exoplayer2.upstream
-
Thrown when an IOException
is encountered reading a local asset.
- AssetDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.AssetDataSource.AssetDataSourceException
-
- attemptMerge(RangedUri) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
Attempts to merge this
RangedUri
with another.
- AUDIO_AAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_AMR_NB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_AMR_WB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_DTS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_DTS_EXPRESS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_DTS_HD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_E_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_FLAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_MPEG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_MPEG_L1 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_MPEG_L2 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_OPUS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_RAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- AUDIO_STREAM_MASK - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- AUDIO_TRUEHD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_VORBIS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AudioCapabilities - Class in com.google.android.exoplayer2.audio
-
Represents the set of audio formats that a device is capable of playing.
- AudioCapabilitiesReceiver - Class in com.google.android.exoplayer2.audio
-
- AudioCapabilitiesReceiver(Context, AudioCapabilitiesReceiver.Listener) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
-
- AudioCapabilitiesReceiver.Listener - Interface in com.google.android.exoplayer2.audio
-
Listener notified when audio capabilities change.
- AudioDecoderException - Exception in com.google.android.exoplayer2.audio
-
Thrown when an audio decoder error occurs.
- AudioDecoderException(String) - Constructor for exception com.google.android.exoplayer2.audio.AudioDecoderException
-
- audioFormat - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
-
- AudioRendererEventListener - Interface in com.google.android.exoplayer2.audio
-
- AudioRendererEventListener.EventDispatcher - Class in com.google.android.exoplayer2.audio
-
- audios - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
- audioSessionId(int) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- AudioTrack - Class in com.google.android.exoplayer2.audio
-
Plays audio data.
- AudioTrack(AudioCapabilities, int) - Constructor for class com.google.android.exoplayer2.audio.AudioTrack
-
- AudioTrack.InitializationException - Exception in com.google.android.exoplayer2.audio
-
Thrown when a failure occurs initializing an AudioTrack
.
- AudioTrack.InvalidAudioTrackTimestampException - Exception in com.google.android.exoplayer2.audio
-
Thrown when AudioTrack.getTimestamp(android.media.AudioTimestamp)
returns a spurious timestamp, if
AudioTrack#failOnSpuriousAudioTimestamp
is set.
- AudioTrack.WriteException - Exception in com.google.android.exoplayer2.audio
-
Thrown when a failure occurs writing to an AudioTrack
.
- audioTrackState - Variable in exception com.google.android.exoplayer2.audio.AudioTrack.InitializationException
-
The state as reported by AudioTrack.getState()
.
- audioTrackUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- availabilityStartTime - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- AvcConfig - Class in com.google.android.exoplayer2.video
-
AVC configuration data.
- backgroundColor - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
The preferred background color.
- BandwidthMeter - Interface in com.google.android.exoplayer2.upstream
-
Provides estimates of the currently available bandwidth.
- BandwidthMeter.EventListener - Interface in com.google.android.exoplayer2.upstream
-
- BASE_TYPE_APPLICATION - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- BASE_TYPE_AUDIO - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- BASE_TYPE_TEXT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- BASE_TYPE_VIDEO - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- BaseMediaChunk - Class in com.google.android.exoplayer2.source.chunk
-
A base implementation of
MediaChunk
, for chunks that contain a single track.
- BaseMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, int) - Constructor for class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
-
- BaseRenderer - Class in com.google.android.exoplayer2
-
An abstract base class suitable for most
Renderer
implementations.
- BaseRenderer(int) - Constructor for class com.google.android.exoplayer2.BaseRenderer
-
- BaseTrackSelection - Class in com.google.android.exoplayer2.trackselection
-
An abstract base class suitable for most
TrackSelection
implementations.
- BaseTrackSelection(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- baseUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
-
- beginSection(String) - Static method in class com.google.android.exoplayer2.util.TraceUtil
-
Writes a trace message to indicate that a given section of code has begun.
- BehindLiveWindowException - Exception in com.google.android.exoplayer2.source
-
Thrown when a live playback falls behind the available media window.
- BehindLiveWindowException() - Constructor for exception com.google.android.exoplayer2.source.BehindLiveWindowException
-
- BinaryFrame - Class in com.google.android.exoplayer2.metadata.id3
-
Binary ID3 frame.
- BinaryFrame(String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.BinaryFrame
-
- binarySearchCeil(long[], long, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the index of the smallest value in an array that is greater than (or optionally equal
to) a specified value.
- binarySearchCeil(List<? extends Comparable<? super T>>, T, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the index of the smallest value in an list that is greater than (or optionally equal
to) a specified value.
- binarySearchFloor(int[], int, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the index of the largest value in an array that is less than (or optionally equal to)
a specified value.
- binarySearchFloor(long[], long, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the index of the largest value in an array that is less than (or optionally equal to)
a specified value.
- binarySearchFloor(List<? extends Comparable<? super T>>, T, boolean, boolean) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the index of the largest value in an list that is less than (or optionally equal to)
a specified value.
- bitrate - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Bitrate of the frame in bit/s.
- bitrate - Variable in class com.google.android.exoplayer2.Format
-
The average bandwidth in bits per second, or
Format.NO_VALUE
if unknown or not applicable.
- bitRate() - Method in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- bitsLeft() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Returns the number of bits yet to be read.
- bitsPerSample - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- blacklist(int, long) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- blacklist(int, long) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
- block() - Method in class com.google.android.exoplayer2.util.ConditionVariable
-
Blocks until the condition is opened.
- blockingSendMessages(ExoPlayer.ExoPlayerMessage...) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
- blockingSendMessages(ExoPlayer.ExoPlayerMessage...) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- bottomFieldPicOrderInFramePresentFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
-
- Buffer - Class in com.google.android.exoplayer2.decoder
-
Base class for buffers with flags.
- Buffer() - Constructor for class com.google.android.exoplayer2.decoder.Buffer
-
- BUFFER_FLAG_DECODE_ONLY - Static variable in class com.google.android.exoplayer2.C
-
Indicates that a buffer should be decoded but not rendered.
- BUFFER_FLAG_ENCRYPTED - Static variable in class com.google.android.exoplayer2.C
-
Indicates that a buffer is (at least partially) encrypted.
- BUFFER_FLAG_END_OF_STREAM - Static variable in class com.google.android.exoplayer2.C
-
Flag for empty buffers that signal that the end of the stream was reached.
- BUFFER_FLAG_KEY_FRAME - Static variable in class com.google.android.exoplayer2.C
-
Indicates that a buffer holds a synchronization sample.
- BUFFER_REPLACEMENT_MODE_DIRECT - Static variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
Allows buffer replacement using ByteBuffer.allocateDirect(int)
.
- BUFFER_REPLACEMENT_MODE_DISABLED - Static variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
Disallows buffer replacement.
- BUFFER_REPLACEMENT_MODE_NORMAL - Static variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
Allows buffer replacement using ByteBuffer.allocate(int)
.
- buildAacAudioSpecificConfig(int, int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
-
Builds a simple AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
- buildAacLcAudioSpecificConfig(int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
-
Builds a simple HE-AAC LC AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
- buildAdaptationSet(int, int, List<Representation>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildFormat(String, String, int, int, float, int, int, int, String, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildMediaPresentationDescription(long, long, long, boolean, long, long, long, UtcTimingElement, Uri, List<Period>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
-
Constructs a NAL unit consisting of the NAL start code followed by the specified data.
- buildPeriod(String, long, List<AdaptationSet>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildPsshAtom(UUID, byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
-
Builds a PSSH atom for a given UUID
containing the given scheme specific data.
- buildRangedUri(String, String, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildRawResourceUri(int) - Static method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
Builds a Uri
for the specified raw resource identifier.
- buildRepresentation(DashManifestParser.RepresentationInfo, String, ArrayList<DrmInitData.SchemeData>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildRequestUri(int, int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
Builds a uri for requesting the specified chunk of the specified track.
- buildSegmentList(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>, List<RangedUri>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildSegmentTemplate(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>, UrlTemplate, UrlTemplate, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildSegmentTimelineElement(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildSingleSegmentBase(RangedUri, long, long, String, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- buildUri(String, int, int, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
-
Constructs a Uri from the template, substituting in the provided arguments.
- buildUtcTimingElement(String, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- ByteArrayDataSink - Class in com.google.android.exoplayer2.upstream
-
- ByteArrayDataSink() - Constructor for class com.google.android.exoplayer2.upstream.ByteArrayDataSink
-
- ByteArrayDataSource - Class in com.google.android.exoplayer2.upstream
-
- ByteArrayDataSource(byte[]) - Constructor for class com.google.android.exoplayer2.upstream.ByteArrayDataSource
-
- byterangeLength - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- byterangeOffset - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- bytesLeft() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Returns the number of bytes yet to be read.
- bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
-
Returns the number of bytes that have been loaded.
- bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
-
- bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- bytesLoaded() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
-
- bytesLoaded() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
Returns the number of bytes loaded.
- bytesRead() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
Returns the total number of bytes that have been read or skipped.
- bytesRead() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- bytesRemaining() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
Returns the number of bytes that are still to be read for the current
DataSpec
.
- bytesSkipped() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- C - Class in com.google.android.exoplayer2
-
Defines constants used by the library.
- C.BufferFlags - Annotation Type in com.google.android.exoplayer2
-
Flags which can apply to a buffer containing a media sample.
- C.ContentType - Annotation Type in com.google.android.exoplayer2
-
Represents a streaming or other media type.
- C.CryptoMode - Annotation Type in com.google.android.exoplayer2
-
Crypto modes for a codec.
- C.Encoding - Annotation Type in com.google.android.exoplayer2
-
Represents an audio encoding, or an invalid or unset value.
- C.PcmEncoding - Annotation Type in com.google.android.exoplayer2
-
Represents a PCM audio encoding, or an invalid or unset value.
- C.SelectionFlags - Annotation Type in com.google.android.exoplayer2
-
Track selection flags.
- C.StereoMode - Annotation Type in com.google.android.exoplayer2
-
The stereo mode for 360/3D/VR videos.
- Cache - Interface in com.google.android.exoplayer2.upstream.cache
-
An interface for cache.
- Cache.Listener - Interface in com.google.android.exoplayer2.upstream.cache
-
Listener of
Cache
events.
- CacheDataSink - Class in com.google.android.exoplayer2.upstream.cache
-
Writes data into a cache.
- CacheDataSink(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
- CacheDataSink.CacheDataSinkException - Exception in com.google.android.exoplayer2.upstream.cache
-
Thrown when IOException is encountered when writing data into sink.
- CacheDataSinkException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.cache.CacheDataSink.CacheDataSinkException
-
- CacheDataSinkFactory - Class in com.google.android.exoplayer2.upstream.cache
-
- CacheDataSinkFactory(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
-
- CacheDataSource - Class in com.google.android.exoplayer2.upstream.cache
-
- CacheDataSource(Cache, DataSource, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- CacheDataSource(Cache, DataSource, int, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Constructs an instance with default
DataSource
and
DataSink
instances for
reading and writing the cache.
- CacheDataSource(Cache, DataSource, DataSource, DataSink, int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Constructs an instance with arbitrary
DataSource
and
DataSink
instances for
reading and writing the cache.
- CacheDataSource.EventListener - Interface in com.google.android.exoplayer2.upstream.cache
-
- CacheDataSource.Flags - Annotation Type in com.google.android.exoplayer2.upstream.cache
-
Flags controlling the cache's behavior.
- CacheDataSourceFactory - Class in com.google.android.exoplayer2.upstream.cache
-
- CacheDataSourceFactory(Cache, DataSource.Factory, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
-
- CacheDataSourceFactory(Cache, DataSource.Factory, int, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
-
- CacheDataSourceFactory(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
-
- CacheEvictor - Interface in com.google.android.exoplayer2.upstream.cache
-
Evicts data from a
Cache
.
- CacheSpan - Class in com.google.android.exoplayer2.upstream.cache
-
Defines a span of data that may or may not be cached (as indicated by
CacheSpan.isCached
).
- cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
-
- cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
-
- cancelLoad() - Method in interface com.google.android.exoplayer2.upstream.Loader.Loadable
-
Cancels the load.
- cancelLoad() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
- cancelLoading() - Method in class com.google.android.exoplayer2.upstream.Loader
-
Cancels the current load.
- canDecode(String) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
- canDecode(String) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoder
-
Checks whether the decoder supports a given mime type.
- canReadBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Returns whether it's possible to read n
bits starting from the current offset.
- canReadExpGolombCodedNum() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Returns whether it is possible to read an Exp-Golomb-coded integer starting from the current
offset.
- canReconfigureCodec(MediaCodec, boolean, Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Determines whether the existing MediaCodec
should be reconfigured for a new format by
sending codec specific initialization data at the start of the next input buffer.
- canReconfigureCodec(MediaCodec, boolean, Format, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- capacity() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Returns the capacity of the array, which may be larger than the limit.
- CaptionStyleCompat - Class in com.google.android.exoplayer2.text
-
A compatibility wrapper for CaptioningManager.CaptionStyle
.
- CaptionStyleCompat(int, int, int, int, int, Typeface) - Constructor for class com.google.android.exoplayer2.text.CaptionStyleCompat
-
- CaptionStyleCompat.EdgeType - Annotation Type in com.google.android.exoplayer2.text
-
The type of edge, which may be none.
- Cea608Decoder - Class in com.google.android.exoplayer2.text.cea
-
A
SubtitleDecoder
for CEA-608 (also known as "line 21 captions" and "EIA-608").
- Cea608Decoder() - Constructor for class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- CeaOutputBuffer - Class in com.google.android.exoplayer2.text.cea
-
- CeaOutputBuffer(CeaDecoder) - Constructor for class com.google.android.exoplayer2.text.cea.CeaOutputBuffer
-
- ceilDivide(int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Divides a numerator
by a denominator
, returning the ceiled result.
- ceilDivide(long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Divides a numerator
by a denominator
, returning the ceiled result.
- CHANNEL_OUT_7POINT1_SURROUND - Static variable in class com.google.android.exoplayer2.C
-
- channelCount - Variable in class com.google.android.exoplayer2.Format
-
The number of audio channels, or
Format.NO_VALUE
if unknown or not applicable.
- channels - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Number of audio channels in the frame.
- channels - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- checkArgument(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws IllegalArgumentException
if expression
evaluates to false.
- checkArgument(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws IllegalArgumentException
if expression
evaluates to false.
- checkIndex(int, int, int) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws IndexOutOfBoundsException
if index
falls outside the specified bounds.
- checkMainThread() - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws IllegalStateException
if the calling thread is not the application's main
thread.
- checkNotEmpty(String) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws IllegalArgumentException
if string
is null or zero length.
- checkNotEmpty(String, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws IllegalArgumentException
if string
is null or zero length.
- checkNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws NullPointerException
if reference
is null.
- checkNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws NullPointerException
if reference
is null.
- checkState(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws IllegalStateException
if expression
evaluates to false.
- checkState(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
Throws IllegalStateException
if expression
evaluates to false.
- Chunk - Class in com.google.android.exoplayer2.source.chunk
-
An abstract base class for
Loader.Loadable
implementations that load chunks of data required
for the playback of streams.
- Chunk(DataSource, DataSpec, int, Format, int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.Chunk
-
- chunk - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
-
The chunk.
- chunkCount - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- ChunkedTrackBlacklistUtil - Class in com.google.android.exoplayer2.source.chunk
-
Helper class for blacklisting tracks in a
TrackSelection
when 404 (Not Found) and 410
(Gone) HTTP response codes are encountered.
- ChunkExtractorWrapper - Class in com.google.android.exoplayer2.source.chunk
-
An
Extractor
wrapper for loading chunks containing a single track.
- ChunkExtractorWrapper(Extractor, Format, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- ChunkExtractorWrapper.SingleTrackMetadataOutput - Interface in com.google.android.exoplayer2.source.chunk
-
Receives metadata associated with the track as extracted by the wrapped
Extractor
.
- ChunkHolder - Class in com.google.android.exoplayer2.source.chunk
-
Holds a chunk or an indication that the end of the stream has been reached.
- ChunkHolder() - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkHolder
-
- ChunkIndex - Class in com.google.android.exoplayer2.extractor
-
Defines chunks of samples within a media stream.
- ChunkIndex(int[], long[], long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.ChunkIndex
-
- chunkIndex - Variable in class com.google.android.exoplayer2.source.chunk.MediaChunk
-
The chunk index.
- ChunkSampleStream<T extends ChunkSource> - Class in com.google.android.exoplayer2.source.chunk
-
- ChunkSampleStream(int, T, SequenceableLoader.Callback<ChunkSampleStream<T>>, Allocator, long, int, AdaptiveMediaSourceEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- ChunkSource - Interface in com.google.android.exoplayer2.source.chunk
-
- clear() - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Clears the buffer.
- clear() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- clear() - Method in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
- clear() - Method in class com.google.android.exoplayer2.source.chunk.ChunkHolder
-
Clears the holder.
- clear() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- clearAllRequestProperties() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- clearAllRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
- clearFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Removes the flag
from this buffer's flags, if it is set.
- clearPrefixFlags(boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
- clearRequestProperty(String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- clearRequestProperty(String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
Clears the value of a request header field.
- clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
Clears a track selection override for the specified renderer and
TrackGroupArray
.
- clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
Clears all track selection override for the specified renderer.
- clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
Clears all track selection overrides.
- clearVideoSurface() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Clears any Surface
, SurfaceHolder
, SurfaceView
or TextureView
currently set on the player.
- Clock - Interface in com.google.android.exoplayer2.util
-
An interface through which system clocks can be read.
- close() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
-
- close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
- close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
-
- close() - Method in interface com.google.android.exoplayer2.upstream.DataSink
-
Closes the sink.
- close() - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
Closes the source.
- close() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- close() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
-
- close() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
-
- close() - Method in class com.google.android.exoplayer2.util.ConditionVariable
-
Closes the condition.
- closeQuietly(DataSource) - Static method in class com.google.android.exoplayer2.util.Util
-
Closes a
DataSource
, suppressing any
IOException
that may occur.
- closeQuietly(OutputStream) - Static method in class com.google.android.exoplayer2.util.Util
-
Closes an OutputStream
, suppressing any IOException
that may occur.
- closeSession(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- closeSession(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- codecs - Variable in class com.google.android.exoplayer2.Format
-
Codecs of the format as described in RFC 6381, or null if unknown or not applicable.
- CodecSpecificDataUtil - Class in com.google.android.exoplayer2.util
-
Provides static utility methods for manipulating various types of codec specific data.
- ColorParser - Class in com.google.android.exoplayer2.util
-
Parser for color expressions found in styling formats, e.g.
- ColorParser() - Constructor for class com.google.android.exoplayer2.util.ColorParser
-
- com.google.android.exoplayer2 - package com.google.android.exoplayer2
-
- com.google.android.exoplayer2.audio - package com.google.android.exoplayer2.audio
-
- com.google.android.exoplayer2.decoder - package com.google.android.exoplayer2.decoder
-
- com.google.android.exoplayer2.drm - package com.google.android.exoplayer2.drm
-
- com.google.android.exoplayer2.extractor - package com.google.android.exoplayer2.extractor
-
- com.google.android.exoplayer2.extractor.flv - package com.google.android.exoplayer2.extractor.flv
-
- com.google.android.exoplayer2.extractor.mkv - package com.google.android.exoplayer2.extractor.mkv
-
- com.google.android.exoplayer2.extractor.mp3 - package com.google.android.exoplayer2.extractor.mp3
-
- com.google.android.exoplayer2.extractor.mp4 - package com.google.android.exoplayer2.extractor.mp4
-
- com.google.android.exoplayer2.extractor.ogg - package com.google.android.exoplayer2.extractor.ogg
-
- com.google.android.exoplayer2.extractor.rawcc - package com.google.android.exoplayer2.extractor.rawcc
-
- com.google.android.exoplayer2.extractor.ts - package com.google.android.exoplayer2.extractor.ts
-
- com.google.android.exoplayer2.extractor.wav - package com.google.android.exoplayer2.extractor.wav
-
- com.google.android.exoplayer2.mediacodec - package com.google.android.exoplayer2.mediacodec
-
- com.google.android.exoplayer2.metadata - package com.google.android.exoplayer2.metadata
-
- com.google.android.exoplayer2.metadata.id3 - package com.google.android.exoplayer2.metadata.id3
-
- com.google.android.exoplayer2.source - package com.google.android.exoplayer2.source
-
- com.google.android.exoplayer2.source.chunk - package com.google.android.exoplayer2.source.chunk
-
- com.google.android.exoplayer2.source.dash - package com.google.android.exoplayer2.source.dash
-
- com.google.android.exoplayer2.source.dash.manifest - package com.google.android.exoplayer2.source.dash.manifest
-
- com.google.android.exoplayer2.source.hls - package com.google.android.exoplayer2.source.hls
-
- com.google.android.exoplayer2.source.hls.playlist - package com.google.android.exoplayer2.source.hls.playlist
-
- com.google.android.exoplayer2.source.smoothstreaming - package com.google.android.exoplayer2.source.smoothstreaming
-
- com.google.android.exoplayer2.source.smoothstreaming.manifest - package com.google.android.exoplayer2.source.smoothstreaming.manifest
-
- com.google.android.exoplayer2.text - package com.google.android.exoplayer2.text
-
- com.google.android.exoplayer2.text.cea - package com.google.android.exoplayer2.text.cea
-
- com.google.android.exoplayer2.text.subrip - package com.google.android.exoplayer2.text.subrip
-
- com.google.android.exoplayer2.text.ttml - package com.google.android.exoplayer2.text.ttml
-
- com.google.android.exoplayer2.text.tx3g - package com.google.android.exoplayer2.text.tx3g
-
- com.google.android.exoplayer2.text.webvtt - package com.google.android.exoplayer2.text.webvtt
-
- com.google.android.exoplayer2.trackselection - package com.google.android.exoplayer2.trackselection
-
- com.google.android.exoplayer2.ui - package com.google.android.exoplayer2.ui
-
- com.google.android.exoplayer2.upstream - package com.google.android.exoplayer2.upstream
-
- com.google.android.exoplayer2.upstream.cache - package com.google.android.exoplayer2.upstream.cache
-
- com.google.android.exoplayer2.util - package com.google.android.exoplayer2.util
-
- com.google.android.exoplayer2.video - package com.google.android.exoplayer2.video
-
- commitFile(File) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Commits a file into the cache.
- commitFile(File) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- compare(DrmInitData.SchemeData, DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
- compare(CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- compareTo(Long) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- compareTo(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.SubtitleInputBuffer
-
- compareTo(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
- compile(String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
-
Compile an instance from the provided template string.
- CompositeSequenceableLoader - Class in com.google.android.exoplayer2.source
-
- CompositeSequenceableLoader(SequenceableLoader[]) - Constructor for class com.google.android.exoplayer2.source.CompositeSequenceableLoader
-
- ConcatenatingMediaSource - Class in com.google.android.exoplayer2.source
-
- ConcatenatingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- ConditionVariable - Class in com.google.android.exoplayer2.util
-
- ConditionVariable() - Constructor for class com.google.android.exoplayer2.util.ConditionVariable
-
- configure(String, int, int, int, int) - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
Configures (or reconfigures) the audio track.
- configureCodec(MediaCodec, Format, MediaCrypto) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- configureCodec(MediaCodec, Format, MediaCrypto) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Configures a newly created MediaCodec
.
- configureCodec(MediaCodec, Format, MediaCrypto) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- constrainValue(int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Constrains a value to the specified bounds.
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Consumes (possibly partial) data from the current packet.
- consume(byte[], int) - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
-
- ContainerMediaChunk - Class in com.google.android.exoplayer2.source.chunk
-
- ContainerMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, int, long, ChunkExtractorWrapper, Format) - Constructor for class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- containerMimeType - Variable in class com.google.android.exoplayer2.Format
-
The mime type of the container, or null if unknown or not applicable.
- contains(Object[], Object) - Static method in class com.google.android.exoplayer2.util.Util
-
Tests whether an items
array contains an object equal to item
, according to
Object.equals(Object)
.
- containsTrack(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.SelectionOverride
-
Returns whether this override contains the specified track index.
- ContentDataSource - Class in com.google.android.exoplayer2.upstream
-
- ContentDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.ContentDataSource
-
- ContentDataSource(Context, TransferListener<? super ContentDataSource>) - Constructor for class com.google.android.exoplayer2.upstream.ContentDataSource
-
- ContentDataSource.ContentDataSourceException - Exception in com.google.android.exoplayer2.upstream
-
Thrown when an IOException
is encountered reading from a content URI.
- ContentDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException
-
- contentId - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
- contentLength - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
- contentType - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
-
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
-
- continueLoading(long) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
-
Attempts to continue loading.
- copyWithContainerInfo(String, String, int, int, int, int, String) - Method in class com.google.android.exoplayer2.Format
-
- copyWithDrmInitData(DrmInitData) - Method in class com.google.android.exoplayer2.Format
-
- copyWithGaplessInfo(int, int) - Method in class com.google.android.exoplayer2.Format
-
- copyWithManifestFormatInfo(Format, boolean) - Method in class com.google.android.exoplayer2.Format
-
- copyWithMaxInputSize(int) - Method in class com.google.android.exoplayer2.Format
-
- copyWithSubsampleOffsetUs(long) - Method in class com.google.android.exoplayer2.Format
-
- crc(byte[], int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the result of updating a CRC with the specified bytes in a "most significant bit first"
order.
- createAudioContainerFormat(String, String, String, String, int, int, int, List<byte[]>, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createAudioSampleFormat(String, String, String, int, int, int, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createAudioSampleFormat(String, String, String, int, int, int, int, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createAudioSampleFormat(String, String, String, int, int, int, int, int, int, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createCacheEntry(File) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
Creates a cache span from an underlying cache file.
- createChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, TrackEncryptionBox[]) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource.Factory
-
- createChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, TrackEncryptionBox[]) - Method in interface com.google.android.exoplayer2.source.smoothstreaming.SsChunkSource.Factory
-
- createClosedHole(String, long, long) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
- createContainerFormat(String, String, String, String, int) - Static method in class com.google.android.exoplayer2.Format
-
- createDashChunkSource(LoaderErrorThrower, DashManifest, int, int, TrackSelection, long) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource.Factory
-
- createDashChunkSource(LoaderErrorThrower, DashManifest, int, int, TrackSelection, long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
-
- createDataSink() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
-
- createDataSink() - Method in interface com.google.android.exoplayer2.upstream.DataSink.Factory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
-
- createDataSource() - Method in interface com.google.android.exoplayer2.upstream.DataSource.Factory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.FileDataSourceFactory
-
- createDataSource() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
-
- createDecoder(Format) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
Creates a decoder for the given format.
- createDecoder(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
-
- createExtractors() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
- createExtractors() - Method in interface com.google.android.exoplayer2.extractor.ExtractorsFactory
-
- createForRenderer(Exception, int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- createForSource(IOException) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- createFromCaptionStyle(CaptioningManager.CaptionStyle) - Static method in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
- createImageSampleFormat(String, String, String, int, List<byte[]>, String, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createInputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Creates a new input buffer.
- createInputBuffer() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- createLookup(String, long) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
- createMediaCrypto(UUID, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- createMediaCrypto(UUID, byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- createMediaPlaylistHlsUrl(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
-
- createOpenHole(String, long) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
- createOutputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Creates a new output buffer.
- createOutputBuffer() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- createPeriod(int, Allocator, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- createPeriod(int, Allocator, long) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- createPeriod(int, Allocator, long) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- createPeriod(int, Allocator, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- createPeriod(int, Allocator, long) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- createPeriod(int, Allocator, long) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
Returns a
MediaPeriod
corresponding to the period at the specified index.
- createPeriod(int, Allocator, long) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- createPeriod(int, Allocator, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- createPeriod(int, Allocator, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- createSampleFormat(String, String, String, int, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- createTextContainerFormat(String, String, String, String, int, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createTextSampleFormat(String, String, String, int, int, String, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createTextSampleFormat(String, String, String, int, int, String, DrmInitData, long) - Static method in class com.google.android.exoplayer2.Format
-
- createTrackSelection(TrackGroup, int...) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection.Factory
-
- createTrackSelection(TrackGroup, int...) - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection.Factory
-
- createTrackSelection(TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.SelectionOverride
-
Creates an selection from this override.
- createTrackSelection(TrackGroup, int...) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
-
- createTrackSelection(TrackGroup, int...) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection.Factory
-
Creates a new selection.
- createVideoContainerFormat(String, String, String, String, int, int, int, float, List<byte[]>) - Static method in class com.google.android.exoplayer2.Format
-
- createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, byte[], int, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- CREATOR - Static variable in class com.google.android.exoplayer2.drm.DrmInitData
-
- CREATOR - Static variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- CREATOR - Static variable in class com.google.android.exoplayer2.Format
-
Creator
implementation.
- CRYPTO_MODE_AES_CBC - Static variable in class com.google.android.exoplayer2.C
-
- CRYPTO_MODE_AES_CTR - Static variable in class com.google.android.exoplayer2.C
-
- CRYPTO_MODE_UNENCRYPTED - Static variable in class com.google.android.exoplayer2.C
-
- CryptoInfo - Class in com.google.android.exoplayer2.decoder
-
Compatibility wrapper for MediaCodec.CryptoInfo
.
- CryptoInfo() - Constructor for class com.google.android.exoplayer2.decoder.CryptoInfo
-
- cryptoInfo - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- Cue - Class in com.google.android.exoplayer2.text
-
Contains information about a specific cue, including textual content and formatting data.
- Cue(CharSequence) - Constructor for class com.google.android.exoplayer2.text.Cue
-
- Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
-
- Cue.AnchorType - Annotation Type in com.google.android.exoplayer2.text
-
The type of anchor, which may be unset.
- Cue.LineType - Annotation Type in com.google.android.exoplayer2.text
-
The type of line, which may be unset.
- CURRENT_POSITION_NOT_SET - Static variable in class com.google.android.exoplayer2.audio.AudioTrack
-
- DashChunkSource - Interface in com.google.android.exoplayer2.source.dash
-
- DashChunkSource.Factory - Interface in com.google.android.exoplayer2.source.dash
-
- DashManifest - Class in com.google.android.exoplayer2.source.dash.manifest
-
Represents a DASH media presentation description (mpd).
- DashManifest(long, long, long, boolean, long, long, long, UtcTimingElement, Uri, List<Period>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- DashManifestParser - Class in com.google.android.exoplayer2.source.dash.manifest
-
A parser of media presentation description files.
- DashManifestParser() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Equivalent to calling new DashManifestParser(null)
.
- DashManifestParser(String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- DashMediaSource - Class in com.google.android.exoplayer2.source.dash
-
- DashMediaSource(Uri, DataSource.Factory, DashChunkSource.Factory, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DashMediaSource(Uri, DataSource.Factory, DashChunkSource.Factory, int, long, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DashSegmentIndex - Interface in com.google.android.exoplayer2.source.dash
-
Indexes the segments within a media stream.
- data - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
The buffer's data, or null
if no data has been set.
- data - Variable in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
- data - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
The initialization data.
- data - Variable in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
-
- data - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- data - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
-
- data - Variable in class com.google.android.exoplayer2.upstream.Allocation
-
The array containing the allocated space.
- data - Variable in class com.google.android.exoplayer2.util.ParsableBitArray
-
- data - Variable in class com.google.android.exoplayer2.util.ParsableByteArray
-
- DATA_TYPE_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
-
Applications or extensions may define custom DATA_TYPE_*
constants greater than or
equal to this value.
- DATA_TYPE_DRM - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for drm or encryption data.
- DATA_TYPE_MANIFEST - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for a manifest file.
- DATA_TYPE_MEDIA - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for media, typically containing media samples.
- DATA_TYPE_MEDIA_INITIALIZATION - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for media, typically containing only initialization data.
- DATA_TYPE_TIME_SYNCHRONIZATION - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for time synchronization data.
- DATA_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for data of unknown or unspecified type.
- DataChunk - Class in com.google.android.exoplayer2.source.chunk
-
A base class for
Chunk
implementations where the data should be loaded into a
byte[]
before being consumed.
- DataChunk(DataSource, DataSpec, int, Format, int, Object, byte[]) - Constructor for class com.google.android.exoplayer2.source.chunk.DataChunk
-
- DataSink - Interface in com.google.android.exoplayer2.upstream
-
A component to which streams of data can be written.
- DataSink.Factory - Interface in com.google.android.exoplayer2.upstream
-
- dataSource - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
- DataSource - Interface in com.google.android.exoplayer2.upstream
-
A component from which streams of data can be read.
- DataSource.Factory - Interface in com.google.android.exoplayer2.upstream
-
- DataSourceException - Exception in com.google.android.exoplayer2.upstream
-
Used to specify reason of a DataSource error.
- DataSourceException(int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
-
Constructs a DataSourceException.
- DataSourceInputStream - Class in com.google.android.exoplayer2.upstream
-
Allows data corresponding to a given
DataSpec
to be read from a
DataSource
and
consumed through an
InputStream
.
- DataSourceInputStream(DataSource, DataSpec) - Constructor for class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- dataSpec - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
The
DataSpec
that defines the data to be loaded.
- DataSpec - Class in com.google.android.exoplayer2.upstream
-
Defines a region of data.
- DataSpec(Uri) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, long, long, String) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- dataSpec - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
The
DataSpec
associated with the current connection.
- dataSpec - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
The
DataSpec
that defines the data to be loaded.
- DataSpec.Flags - Annotation Type in com.google.android.exoplayer2.upstream
-
The flags that apply to any request for data.
- DEAFULT_SOCKET_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
-
The default socket timeout, in milliseconds.
- DebugTextViewHelper - Class in com.google.android.exoplayer2.ui
-
A helper class for periodically updating a
TextView
with debug information obtained from
a
SimpleExoPlayer
.
- DebugTextViewHelper(SimpleExoPlayer, TextView) - Constructor for class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- decode(I, O, boolean) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Decodes the inputBuffer
and stores any decoded output in outputBuffer
.
- decode(byte[], int) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
- decode(byte[], int) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoder
-
Decodes a metadata object from the provided binary data.
- decode(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- decode(SubtitleInputBuffer, SubtitleOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- decode(byte[], int) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- decode(byte[], int) - Method in class com.google.android.exoplayer2.text.subrip.SubripDecoder
-
- decode(byte[], int) - Method in class com.google.android.exoplayer2.text.ttml.TtmlDecoder
-
- decode(byte[], int) - Method in class com.google.android.exoplayer2.text.tx3g.Tx3gDecoder
-
- decode(byte[], int) - Method in class com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder
-
- decode(byte[], int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttDecoder
-
- Decoder<I,O,E extends java.lang.Exception> - Interface in com.google.android.exoplayer2.decoder
-
A media decoder.
- DecoderCounters - Class in com.google.android.exoplayer2.decoder
-
Maintains decoder event counts, for debugging purposes only.
- DecoderCounters() - Constructor for class com.google.android.exoplayer2.decoder.DecoderCounters
-
- decoderCounters - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- decoderInitCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of times a decoder has been initialized.
- DecoderInitializationException(Format, Throwable, boolean, int) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
- DecoderInitializationException(Format, Throwable, boolean, String) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
- decoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- decoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- DecoderInputBuffer - Class in com.google.android.exoplayer2.decoder
-
Holds input for a decoder.
- DecoderInputBuffer(int) - Constructor for class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- DecoderInputBuffer.BufferReplacementMode - Annotation Type in com.google.android.exoplayer2.decoder
-
The buffer replacement mode, which may disable replacement.
- decoderName - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
The name of the decoder that failed to initialize.
- decoderReleaseCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of times a decoder has been released.
- DEFAULT - Static variable in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
-
- DEFAULT - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
Default caption style.
- DEFAULT - Static variable in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
-
- DEFAULT_ALLOWED_VIDEO_JOINING_TIME_MS - Static variable in class com.google.android.exoplayer2.ExoPlayerFactory
-
The default maximum duration for which a video renderer can attempt to seamlessly join an
ongoing playback.
- DEFAULT_AUDIO_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.C
-
A default size in bytes for an audio buffer.
- DEFAULT_AUDIO_CAPABILITIES - Static variable in class com.google.android.exoplayer2.audio.AudioCapabilities
-
The minimum audio capabilities supported by all devices.
- DEFAULT_BANDWIDTH_FRACTION - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- DEFAULT_BOTTOM_PADDING_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
-
- DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default duration of media that must be buffered for playback to resume after a rebuffer,
in milliseconds.
- DEFAULT_BUFFER_FOR_PLAYBACK_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default duration of media that must be buffered for playback to start or resume following a
user action such as a seek, in milliseconds.
- DEFAULT_BUFFER_SEGMENT_SIZE - Static variable in class com.google.android.exoplayer2.C
-
A default size in bytes for an individual allocation that forms part of a larger buffer.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
The default connection timeout, in milliseconds.
- DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
-
- DEFAULT_LIVE_PRESENTATION_DELAY_FIXED_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
A fixed default presentation delay for live streams.
- DEFAULT_LIVE_PRESENTATION_DELAY_MS - Static variable in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
The default presentation delay for live streams.
- DEFAULT_LIVE_PRESENTATION_DELAY_PREFER_MANIFEST_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DEFAULT_MAX_BUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default maximum duration of media that the player will attempt to buffer, in milliseconds.
- DEFAULT_MAX_CACHE_FILE_SIZE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Default maximum single cache file size.
- DEFAULT_MAX_DURATION_FOR_QUALITY_DECREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- DEFAULT_MAX_INITIAL_BITRATE - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- DEFAULT_MAX_PACKET_SIZE - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
-
The default maximum datagram packet size, in bytes.
- DEFAULT_MAX_WEIGHT - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
The default maximum weight for the sliding window.
- DEFAULT_METADATA_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.C
-
A default size in bytes for a metadata buffer.
- DEFAULT_MIN_BUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default minimum duration of media that the player will attempt to ensure is buffered at all
times, in milliseconds.
- DEFAULT_MIN_DURATION_FOR_QUALITY_INCREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- DEFAULT_MIN_DURATION_TO_RETAIN_AFTER_DISCARD_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
The default minimum number of times to retry loading data prior to failing.
- DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
The default minimum number of times to retry loading data prior to failing.
- DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
The default minimum number of times to retry loading data prior to failing.
- DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
The default minimum number of times to retry loading data prior to failing.
- DEFAULT_MIN_LOADABLE_RETRY_COUNT_LIVE - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
The default minimum number of times to retry loading prior to failing for live streams.
- DEFAULT_MIN_LOADABLE_RETRY_COUNT_ON_DEMAND - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
The default minimum number of times to retry loading prior to failing for on-demand streams.
- DEFAULT_MUXED_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.C
-
A default size in bytes for a muxed buffer (e.g.
- DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
The default read timeout, in milliseconds.
- DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
-
- DEFAULT_SHOW_DURATION_MS - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
-
- DEFAULT_TEXT_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.C
-
A default size in bytes for a text buffer.
- DEFAULT_TEXT_SIZE_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
-
The default fractional text size.
- DEFAULT_TRACK_BLACKLIST_MS - Static variable in class com.google.android.exoplayer2.source.chunk.ChunkedTrackBlacklistUtil
-
The default duration for which a track is blacklisted in milliseconds.
- DEFAULT_VIDEO_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.C
-
A default size in bytes for a video buffer.
- DefaultAllocator - Class in com.google.android.exoplayer2.upstream
-
- DefaultAllocator(boolean, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultAllocator
-
Constructs an instance without creating any
Allocation
s up front.
- DefaultAllocator(boolean, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultAllocator
-
Constructs an instance with some
Allocation
s created up front.
- DefaultBandwidthMeter - Class in com.google.android.exoplayer2.upstream
-
Estimates bandwidth by listening to data transfers.
- DefaultBandwidthMeter() - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- DefaultBandwidthMeter(Handler, BandwidthMeter.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- DefaultBandwidthMeter(Handler, BandwidthMeter.EventListener, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- DefaultDashChunkSource - Class in com.google.android.exoplayer2.source.dash
-
- DefaultDashChunkSource(LoaderErrorThrower, DashManifest, int, int, TrackSelection, DataSource, long) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- DefaultDashChunkSource.Factory - Class in com.google.android.exoplayer2.source.dash
-
- DefaultDashChunkSource.RepresentationHolder - Class in com.google.android.exoplayer2.source.dash
-
- DefaultDataSource - Class in com.google.android.exoplayer2.upstream
-
- DefaultDataSource(Context, TransferListener<? super DataSource>, String, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
-
Constructs a new instance, optionally configured to follow cross-protocol redirects.
- DefaultDataSource(Context, TransferListener<? super DataSource>, String, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
-
Constructs a new instance, optionally configured to follow cross-protocol redirects.
- DefaultDataSource(Context, TransferListener<? super DataSource>, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
-
Constructs a new instance that delegates to a provided
DataSource
for URI schemes other
than file, asset and content.
- DefaultDataSourceFactory - Class in com.google.android.exoplayer2.upstream
-
- DefaultDataSourceFactory(Context, String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
-
- DefaultDataSourceFactory(Context, String, TransferListener<? super DataSource>) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
-
- DefaultDataSourceFactory(Context, TransferListener<? super DataSource>, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
-
- DefaultExtractorInput - Class in com.google.android.exoplayer2.extractor
-
- DefaultExtractorInput(DataSource, long, long) - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- DefaultExtractorsFactory - Class in com.google.android.exoplayer2.extractor
-
- DefaultExtractorsFactory() - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
Creates a new factory for the default extractors.
- DefaultHttpDataSource - Class in com.google.android.exoplayer2.upstream
-
- DefaultHttpDataSource(String, Predicate<String>) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSource(String, Predicate<String>, TransferListener<? super DefaultHttpDataSource>) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSource(String, Predicate<String>, TransferListener<? super DefaultHttpDataSource>, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSource(String, Predicate<String>, TransferListener<? super DefaultHttpDataSource>, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSourceFactory - Class in com.google.android.exoplayer2.upstream
-
- DefaultHttpDataSourceFactory(String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
-
Constructs a DefaultHttpDataSourceFactory.
- DefaultHttpDataSourceFactory(String, TransferListener<? super DataSource>) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
-
Constructs a DefaultHttpDataSourceFactory.
- DefaultHttpDataSourceFactory(String, TransferListener<? super DataSource>, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
-
- DefaultLoadControl - Class in com.google.android.exoplayer2
-
- DefaultLoadControl() - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
-
Constructs a new instance, using the DEFAULT_*
constants defined in this class.
- DefaultLoadControl(DefaultAllocator) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
-
Constructs a new instance, using the DEFAULT_*
constants defined in this class.
- DefaultLoadControl(DefaultAllocator, int, int, long, long) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
-
Constructs a new instance.
- DefaultSsChunkSource - Class in com.google.android.exoplayer2.source.smoothstreaming
-
- DefaultSsChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, DataSource, TrackEncryptionBox[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- DefaultSsChunkSource.Factory - Class in com.google.android.exoplayer2.source.smoothstreaming
-
- DefaultStreamReaderFactory - Class in com.google.android.exoplayer2.extractor.ts
-
- DefaultStreamReaderFactory() - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultStreamReaderFactory
-
- DefaultStreamReaderFactory(int) - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultStreamReaderFactory
-
- DefaultStreamReaderFactory.WorkaroundFlags - Annotation Type in com.google.android.exoplayer2.extractor.ts
-
Flags controlling what workarounds are enabled for elementary stream readers.
- DefaultTrackOutput - Class in com.google.android.exoplayer2.extractor
-
A
TrackOutput
that buffers extracted samples in a queue and allows for consumption from
that queue.
- DefaultTrackOutput(Allocator) - Constructor for class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
- DefaultTrackOutput.UpstreamFormatChangedListener - Interface in com.google.android.exoplayer2.extractor
-
A listener for changes to the upstream format.
- DefaultTrackSelector - Class in com.google.android.exoplayer2.trackselection
-
- DefaultTrackSelector(Handler) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Constructs an instance that does not support adaptive video.
- DefaultTrackSelector(Handler, TrackSelection.Factory) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Constructs an instance that uses a factory to create adaptive video track selections.
- DefaultTrackSelector.Parameters - Class in com.google.android.exoplayer2.trackselection
-
- deltaPicOrderAlwaysZeroFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- dequeueInputBuffer() - Method in interface com.google.android.exoplayer2.decoder.Decoder
-
Dequeues the next input buffer to be filled and queued to the decoder.
- dequeueInputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
- dequeueOutputBuffer() - Method in interface com.google.android.exoplayer2.decoder.Decoder
-
Dequeues the next output buffer from the decoder.
- dequeueOutputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
- describeContents() - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
- describeContents() - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- describeContents() - Method in class com.google.android.exoplayer2.Format
-
- description - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- description - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- description - Variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
-
- description - Variable in class com.google.android.exoplayer2.metadata.id3.TxxxFrame
-
- descriptorBytes - Variable in class com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader.EsInfo
-
- DEVICE - Static variable in class com.google.android.exoplayer2.util.Util
-
Like Build.DEVICE
, but in a place where it can be conveniently overridden for local
testing.
- diagnosticInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
An optional developer-readable diagnostic information string.
- DIMEN_UNSET - Static variable in class com.google.android.exoplayer2.text.Cue
-
An unset position or width.
- disable() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- disable() - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Disables buffering of sample data and metadata.
- disable() - Method in interface com.google.android.exoplayer2.Renderer
-
- disable() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
-
Disables the helper.
- disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- discardToSps(ByteBuffer) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Discards data from the buffer up to the first SPS, where data.position()
is interpreted
as the length of the buffer.
- discardUpstreamSamples(int) - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Discards samples from the write side of the buffer.
- discontinuitySequenceNumber - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- dispatchDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
- dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
- dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- displayHeight - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- displayWidth - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- DO_NOT_OFFSET - Static variable in class com.google.android.exoplayer2.extractor.TimestampAdjuster
-
A special firstSampleTimestampUs
value indicating that presentation timestamps should
not be offset.
- DONT_RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
-
- DONT_RETRY_FATAL - Static variable in class com.google.android.exoplayer2.upstream.Loader
-
- downstreamFormatChanged(int, Format, int, Object, long) - Method in class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
-
- DrmInitData - Class in com.google.android.exoplayer2.drm
-
Initialization data for one or more DRM schemes.
- DrmInitData(List<DrmInitData.SchemeData>) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
-
- DrmInitData(DrmInitData.SchemeData...) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
-
- drmInitData - Variable in class com.google.android.exoplayer2.Format
-
DRM initialization data if the stream is protected, or null otherwise.
- DrmInitData.SchemeData - Class in com.google.android.exoplayer2.drm
-
Scheme initialization data.
- DrmSession<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
-
A DRM session.
- DrmSession.State - Annotation Type in com.google.android.exoplayer2.drm
-
The state of the DRM session.
- DrmSessionManager<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
-
Manages a DRM session.
- droppedFrames(int, long) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- droppedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of dropped output buffers.
- DtsUtil - Class in com.google.android.exoplayer2.audio
-
Utility methods for parsing DTS frames.
- DummyTrackOutput - Class in com.google.android.exoplayer2.extractor
-
- DummyTrackOutput() - Constructor for class com.google.android.exoplayer2.extractor.DummyTrackOutput
-
- duration - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- durationSecs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- durationsUs - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
-
The chunk durations, in microseconds.
- durationUs - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
The duration of the track in microseconds, or
C.TIME_UNSET
if unknown.
- durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- durationUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The overall presentation duration of the media in microseconds, or
C.TIME_UNSET
if the duration is unknown.
- durationUs() - Method in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- dvrWindowLengthUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The length of the trailing window for a live broadcast in microseconds, or
C.TIME_UNSET
if the stream is not live or if the window length is unspecified.
- dynamic - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- EDGE_TYPE_DEPRESSED - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
Edge type value specifying depressed bevel character edges.
- EDGE_TYPE_DROP_SHADOW - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
Edge type value specifying drop-shadowed character edges.
- EDGE_TYPE_NONE - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
Edge type value specifying no character edges.
- EDGE_TYPE_OUTLINE - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
Edge type value specifying uniformly outlined character edges.
- EDGE_TYPE_RAISED - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
Edge type value specifying raised bevel character edges.
- edgeColor - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
- edgeType - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
The preferred edge type.
- editListDurations - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
Durations of edit list segments in the movie timescale.
- editListMediaTimes - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
Media times for edit list segments in the track timescale.
- elapsedRealtime() - Method in interface com.google.android.exoplayer2.util.Clock
-
Returns SystemClock.elapsedRealtime()
.
- elapsedRealtime() - Method in class com.google.android.exoplayer2.util.SystemClock
-
- ElementaryStreamReader - Class in com.google.android.exoplayer2.extractor.ts
-
Extracts individual samples from an elementary media stream, preserving original order.
- ElementaryStreamReader(TrackOutput) - Constructor for class com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
- ElementaryStreamReader.EsInfo - Class in com.google.android.exoplayer2.extractor.ts
-
Holds descriptor information associated with an elementary stream.
- ElementaryStreamReader.Factory - Interface in com.google.android.exoplayer2.extractor.ts
-
- enable(Format[], SampleStream, long, boolean, long) - Method in class com.google.android.exoplayer2.BaseRenderer
-
- enable(Format[], SampleStream, long, boolean, long) - Method in interface com.google.android.exoplayer2.Renderer
-
Enables the renderer to consume from the specified
SampleStream
.
- enable() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
-
Enables the helper.
- enabled(DecoderCounters) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- enabled(DecoderCounters) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- enablePreV21AudioSessionWorkaround - Static variable in class com.google.android.exoplayer2.audio.AudioTrack
-
Whether to enable a workaround for an issue where an audio effect does not keep its session
active across releasing/initializing a new audio track, on platform builds where
Util.SDK_INT
< 21.
- encoderDelay - Variable in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
-
The number of samples to trim from the start of the decoded audio stream, or
Format.NO_VALUE
if not set.
- encoderDelay - Variable in class com.google.android.exoplayer2.Format
-
The number of samples to trim from the start of the decoded audio stream.
- encoderPadding - Variable in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
-
The number of samples to trim from the end of the decoded audio stream, or
Format.NO_VALUE
if not set.
- encoderPadding - Variable in class com.google.android.exoplayer2.Format
-
The number of samples to trim from the end of the decoded audio stream.
- ENCODING_AC3 - Static variable in class com.google.android.exoplayer2.C
-
- ENCODING_DTS - Static variable in class com.google.android.exoplayer2.C
-
- ENCODING_DTS_HD - Static variable in class com.google.android.exoplayer2.C
-
- ENCODING_E_AC3 - Static variable in class com.google.android.exoplayer2.C
-
- ENCODING_INVALID - Static variable in class com.google.android.exoplayer2.C
-
- ENCODING_PCM_16BIT - Static variable in class com.google.android.exoplayer2.C
-
- ENCODING_PCM_24BIT - Static variable in class com.google.android.exoplayer2.C
-
PCM encoding with 24 bits per sample.
- ENCODING_PCM_32BIT - Static variable in class com.google.android.exoplayer2.C
-
PCM encoding with 32 bits per sample.
- ENCODING_PCM_8BIT - Static variable in class com.google.android.exoplayer2.C
-
- ENCRYPTION_METHOD_AES_128 - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- ENCRYPTION_METHOD_NONE - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- encryptionIV - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- encryptionKeyUri - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- endOfStream - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
-
Indicates that the end of the stream has been reached.
- endSection() - Static method in class com.google.android.exoplayer2.util.TraceUtil
-
Writes a trace message to indicate that a given section of code has ended.
- endTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
The end time of the media contained by the chunk, or
C.TIME_UNSET
if the data being
loaded does not contain media samples.
- endTracks() - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
-
- endTracks() - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- ensureSpaceForWrite(int) - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
Ensures that
DecoderInputBuffer.data
is large enough to accommodate a write of a given length at its
current position.
- ensureUpdated() - Method in class com.google.android.exoplayer2.decoder.DecoderCounters
-
Should be called to ensure counter values are made visible across threads.
- equals(Object) - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
-
- equals(Object) - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
- equals(Object) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- equals(Object) - Method in class com.google.android.exoplayer2.Format
-
- equals(Object) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
- equals(Object) - Method in class com.google.android.exoplayer2.source.TrackGroup
-
- equals(Object) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
-
- equals(Object) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- equals(Object) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- equals(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelections
-
- errorCode - Variable in exception com.google.android.exoplayer2.audio.AudioTrack.WriteException
-
An error value returned from AudioTrack.write(byte[], int, int)
.
- escapeFileName(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Escapes a string so that it's safe for use as a file or directory name on at least FAT32
filesystems.
- EsInfo(int, String, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader.EsInfo
-
- evaluate(T) - Method in interface com.google.android.exoplayer2.util.Predicate
-
Evaluates an input.
- evaluateQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- evaluateQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- evaluateQueueSize(long, List<? extends MediaChunk>) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
May be called periodically by sources that load media in discrete
MediaChunk
s and
support discarding of buffered chunks in order to re-buffer using a different selected track.
- EventDispatcher(Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- EventDispatcher(Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener.EventDispatcher
-
- EventDispatcher(Handler, VideoRendererEventListener) - Constructor for class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- exceedVideoConstraintsIfNecessary - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
-
- executeKeyRequest(UUID, ExoMediaDrm.KeyRequest) - Method in interface com.google.android.exoplayer2.drm.MediaDrmCallback
-
Executes a key request.
- executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
-
- executeProvisionRequest(UUID, ExoMediaDrm.ProvisionRequest) - Method in interface com.google.android.exoplayer2.drm.MediaDrmCallback
-
Executes a provisioning request.
- ExoMediaCrypto - Interface in com.google.android.exoplayer2.drm
-
An opaque MediaCrypto
equivalent.
- ExoMediaDrm<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
-
Used to obtain keys for decrypting protected media streams.
- ExoMediaDrm.KeyRequest - Interface in com.google.android.exoplayer2.drm
-
- ExoMediaDrm.OnEventListener<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
-
- ExoMediaDrm.ProvisionRequest - Interface in com.google.android.exoplayer2.drm
-
- ExoPlaybackException - Exception in com.google.android.exoplayer2
-
Thrown when a non-recoverable playback failure occurs.
- ExoPlaybackException.Type - Annotation Type in com.google.android.exoplayer2
-
The type of source that produced the error.
- ExoPlayer - Interface in com.google.android.exoplayer2
-
An extensible media player exposing traditional high-level media player functionality, such as
the ability to buffer media, play, pause and seek.
- ExoPlayer.EventListener - Interface in com.google.android.exoplayer2
-
Listener of changes in player state.
- ExoPlayer.ExoPlayerComponent - Interface in com.google.android.exoplayer2
-
A component of an
ExoPlayer
that can receive messages on the playback thread.
- ExoPlayer.ExoPlayerMessage - Class in com.google.android.exoplayer2
-
- ExoPlayerFactory - Class in com.google.android.exoplayer2
-
- ExoPlayerLibraryInfo - Interface in com.google.android.exoplayer2
-
Information about the ExoPlayer library.
- ExoPlayerMessage(ExoPlayer.ExoPlayerComponent, int, Object) - Constructor for class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
-
- EXTENDED_SAR - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
-
Value for aspect_ratio_idc indicating an extended aspect ratio, in H.264 and H.265 SPSs.
- Extractor - Interface in com.google.android.exoplayer2.extractor
-
Extracts media data from a container format.
- ExtractorInput - Interface in com.google.android.exoplayer2.extractor
-
Provides data to be consumed by an
Extractor
.
- ExtractorMediaSource - Class in com.google.android.exoplayer2.source
-
Provides one period that loads data from a
Uri
and extracted using an
Extractor
.
- ExtractorMediaSource(Uri, DataSource.Factory, ExtractorsFactory, Handler, ExtractorMediaSource.EventListener) - Constructor for class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- ExtractorMediaSource(Uri, DataSource.Factory, ExtractorsFactory, int, Handler, ExtractorMediaSource.EventListener) - Constructor for class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- ExtractorMediaSource.EventListener - Interface in com.google.android.exoplayer2.source
-
- ExtractorMediaSource.UnrecognizedInputFormatException - Exception in com.google.android.exoplayer2.source
-
Thrown if the input format could not recognized.
- ExtractorOutput - Interface in com.google.android.exoplayer2.extractor
-
Receives stream level data extracted by an
Extractor
.
- ExtractorsFactory - Interface in com.google.android.exoplayer2.extractor
-
- extractorWrapper - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- GaplessInfoHolder - Class in com.google.android.exoplayer2.extractor
-
Holder for gapless playback information.
- GaplessInfoHolder() - Constructor for class com.google.android.exoplayer2.extractor.GaplessInfoHolder
-
Creates a new holder for gapless playback information.
- GeobFrame - Class in com.google.android.exoplayer2.metadata.id3
-
GEOB (General Encapsulated Object) ID3 frame.
- GeobFrame(String, String, String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- get(UUID) - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
Retrieves data for a given DRM scheme, specified by its UUID.
- get(int) - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
- get(int) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
-
Returns the group at a given index.
- get(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelections
-
Returns the selection at a given index.
- get(int) - Method in class com.google.android.exoplayer2.util.LongArray
-
Returns the value at a specified index.
- getAc3SyncframeAudioSampleCount() - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the number of audio samples in an AC-3 syncframe.
- getAdaptationSetIndex(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.Period
-
Returns the index of the first adaptation set of a given type, or
C.INDEX_UNSET
if no
adaptation set of the specified type exists.
- getAdaptiveSupport(int, int, boolean) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the extent to which the renderer supports adaptation between supported tracks in a
specified
TrackGroup
.
- getAdaptiveSupport(int, int, int[]) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the extent to which the renderer supports adaptation between specified tracks within
a
TrackGroup
.
- getAdjuster(int, long) - 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.
- getAll() - Method in class com.google.android.exoplayer2.trackselection.TrackSelections
-
Returns the selections in a newly allocated array.
- getAllocator() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- getAllocator() - Method in interface com.google.android.exoplayer2.LoadControl
-
Returns the
Allocator
that should be used to obtain media buffer allocations.
- getAttributeValue(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns the value of an attribute of the current start tag.
- getAudioDecoderCounters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getAudioFormat() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Returns the audio format currently being played, or null if no audio is being played.
- getAudioMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Derives a audio sample mimeType from a codecs attribute.
- getAudioSessionId() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Returns the audio session identifier, or AudioTrack.SESSION_ID_NOT_SET
if not set.
- getBitrateEstimate() - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
-
- getBitrateEstimate() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- getBufferedPercentage() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns an estimate of the percentage in the current window up to which data is buffered, or 0
if no estimate is available.
- getBufferedPercentage() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getBufferedPosition() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns an estimate of the position in the current window up to which data is buffered, in
milliseconds.
- getBufferedPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
Returns an estimate of the position up to which data is buffered.
- getBufferedPositionUs() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Returns an estimate of the position up to which data is buffered for the enabled tracks.
- getBufferSize() - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
Returns the size of this
AudioTrack
's buffer in bytes.
- getBufferSizeUs() - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
- getBytesFromHexString(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a byte array containing values parsed from the hex string provided.
- getCachedSpans(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Returns the cached spans for a given cache key.
- getCachedSpans(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getCacheFileName(File, String, long, long) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
- getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Returns a cache key for the representation, in the format
contentId + "." + format.id + "." + revisionId
.
- getCacheSpace() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Returns the total disk space in bytes used by the cache.
- getCacheSpace() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getCapabilities(Context) - Static method in class com.google.android.exoplayer2.audio.AudioCapabilities
-
Returns the current audio capabilities for the device.
- getCapabilities() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getCapabilities() - Method in interface com.google.android.exoplayer2.Renderer
-
Returns the capabilities of the renderer.
- getChunkDurationUs(int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
Returns the duration of the specified chunk.
- getChunkIndex(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
-
Obtains the index of the chunk corresponding to a given time.
- getChunkIndex(long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
Returns the index of the chunk that contains the specified time.
- getChunkSource() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- getCodecProfileAndLevel(String) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns profile and level (as defined by MediaCodecInfo.CodecProfileLevel
) corresponding to the given
codec description string (as defined by RFC 6381).
- getCommaDelimitedSimpleClassNames(Object[]) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a string with comma delimited simple names of each object's class.
- getConnection() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
Returns the current connection, or null if the source is not currently opened.
- getContentLength(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Returns the content length for the given key if one set, or
C.LENGTH_UNSET
otherwise.
- getContentLength(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getContentType(Format) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- getCues(long) - Method in interface com.google.android.exoplayer2.text.Subtitle
-
Retrieve the cues that should be displayed at a given time.
- getCues(long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- getCurrentManifest() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns the current manifest.
- getCurrentManifest() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentPeriodIndex() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns the index of the period currently being played, or
C.INDEX_UNSET
if unknown.
- getCurrentPeriodIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentPosition() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns the playback position in the current window, in milliseconds.
- getCurrentPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentPositionUs(boolean) - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
- getCurrentSelections() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
Returns the current track selections.
- getCurrentTimeline() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns the current
Timeline
, or
null
if there is no timeline.
- getCurrentTimeline() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentWindowIndex() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns the index of the window currently being played.
- getCurrentWindowIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getData() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
-
- getData() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
-
- getData() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
-
- getDataHolder() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
-
Returns the array in which the data is held.
- getDecoderInfo(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- getDecoderInfo(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- getDecoderInfo(String, boolean) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
-
Selects a decoder to instantiate for a given mime type.
- getDecoderInfo(String, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns information about the preferred decoder for a given mime type.
- getDecoderInfos(String, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns all
MediaCodecInfo
s for the given mime type, in the order given by
MediaCodecList
.
- getDefaultBufferSize(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Maps a
C
TRACK_TYPE_*
constant to the corresponding
C
DEFAULT_*_BUFFER_SIZE
constant.
- getDefaultPositionMs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the default position relative to the start of the window at which to begin playback,
in milliseconds.
- getDefaultPositionUs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the default position relative to the start of the window at which to begin playback,
in microseconds.
- getDefaultUrl() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
-
- getDefaultUrl() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
-
- getDequeueOutputBufferTimeoutUs() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Returns the maximum time to block whilst waiting for a decoded output buffer.
- getDtsFrameSize(byte[]) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
-
Returns the size in bytes of the given DTS frame.
- getDuration() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns the duration of the current window in milliseconds, or
C.TIME_UNSET
if the
duration is not known.
- getDuration() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getDurationMs() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the duration of the period in milliseconds, or
C.TIME_UNSET
if unknown.
- getDurationMs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the duration of the window in milliseconds, or
C.TIME_UNSET
if unknown.
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
-
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- getDurationUs() - Method in interface com.google.android.exoplayer2.extractor.SeekMap
-
Returns the duration of the stream in microseconds.
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
-
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- getDurationUs() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
-
Returns the duration of the chunk in microseconds.
- getDurationUs(int, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns the duration of a segment.
- getDurationUs(int, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getDurationUs() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the duration of this period in microseconds, or
C.TIME_UNSET
if unknown.
- getDurationUs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the duration of this window in microseconds, or
C.TIME_UNSET
if unknown.
- getError() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
Returns the cause of the error state.
- getError() - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
- getEventTime(int) - Method in interface com.google.android.exoplayer2.text.Subtitle
-
Returns the event time at a specified index.
- getEventTime(int) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- getEventTimeCount() - Method in interface com.google.android.exoplayer2.text.Subtitle
-
Returns the number of event times, where events are defined as points in time at which the cues
returned by
Subtitle.getCues(long)
changes.
- getEventTimeCount() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- getFirstSampleIndex() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
-
- getFirstSegmentNum() - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns the segment number of the first segment.
- getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Returns whether the specified flag has been set on this buffer.
- getFormat(int) - Method in class com.google.android.exoplayer2.source.TrackGroup
-
Returns the format of the track at a given index.
- getFormat(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getFormat(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the format of the track at a given index in the selection.
- getFrameSize(int) - Static method in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Returns the size of the frame associated with
header
, or
C.LENGTH_UNSET
if it
is invalid.
- getFrameworkCryptoInfoV16() - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
-
Returns an equivalent MediaCodec.CryptoInfo
instance.
- getFrameworkMediaFormatV16() - Method in class com.google.android.exoplayer2.Format
-
Returns a MediaFormat
representation of this format.
- getH265NalUnitType(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Returns the type of the H.265 NAL unit in data
that starts at offset
.
- getHexString(byte[]) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a hex string representation of the given byte array.
- getIndex() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Returns the index of the renderer within the player.
- getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Returns an index if the representation provides one directly, or null otherwise.
- getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
- getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
-
- getIndexInTrackGroup(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getIndexInTrackGroup(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index in the track group of the track at a given index in the selection.
- getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.Timeline
-
Returns the index of the period identified by its unique
id
, or
C.INDEX_UNSET
if the period is not in the timeline.
- getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Returns a
RangedUri
defining the location of the representation's segment index, or
null if the representation provides an index directly.
- getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
- getIndividualAllocationLength() - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
- getIndividualAllocationLength() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- getInitialization(Representation) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
-
Returns the
RangedUri
defining the location of initialization data for a given
representation, or null if no initialization data exists.
- getInitialization(Representation) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
-
- getInitializationUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Returns a
RangedUri
defining the location of the representation's initialization data,
or null if no initialization data exists.
- getIntegerCodeForString(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the integer equal to the big-endian concatenation of the characters in string
as bytes.
- getKeyRequest(byte[], byte[], String, int, HashMap<String, String>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- getKeyRequest(byte[], byte[], String, int, HashMap<String, String>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getKeys() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Returns all keys in the cache.
- getKeys() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getLargestQueuedTimestampUs() - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
- getLastSegmentNum(long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
- getLastSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getLastSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getLastSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getLastSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
-
- getLastSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
-
- getLength() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- getLength() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Returns the length of the source stream, or
C.LENGTH_UNSET
if it is unknown.
- getMaxChannelCount() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
-
Returns the maximum number of channels the device can play at the same time.
- getMediaClock() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- getMediaClock() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- getMediaClock() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getMediaClock() - Method in interface com.google.android.exoplayer2.Renderer
-
If the renderer advances its own playback position then this method returns a corresponding
MediaClock
.
- getMediaCrypto() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
- getMediaCrypto() - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
- getMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Derives a mimeType from a codec identifier, as defined in RFC 6381.
- getNalUnitType(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Returns the type of the NAL unit in data
that starts at offset
.
- getName() - Method in interface com.google.android.exoplayer2.decoder.Decoder
-
Returns the name of the decoder.
- getName() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- getName() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- getNextChunk(MediaChunk, long, ChunkHolder) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
Returns the next chunk to load.
- getNextChunk(MediaChunk, long, ChunkHolder) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- getNextChunk(MediaChunk, long, ChunkHolder) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- getNextChunkIndex() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunk
-
Returns the next chunk index.
- getNextEventTimeIndex(long) - Method in interface com.google.android.exoplayer2.text.Subtitle
-
Returns the index of the first event that occurs after a given time (exclusive).
- getNextEventTimeIndex(long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
-
- getNextLoadPositionUs() - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
-
- getOutputFormat() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
Returns the format of audio buffers output by the decoder.
- getParameters() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Gets the current selection parameters.
- getPassthroughDecoderInfo() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
-
Selects a decoder to instantiate for audio passthrough.
- getPassthroughDecoderInfo() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns information about a decoder suitable for audio passthrough.
- getPcmEncoding(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Converts a sample bit depth to a corresponding PCM encoding constant.
- getPeekPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- getPeekPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Returns the current peek position (byte offset) in the stream.
- getPercentile(float) - Method in class com.google.android.exoplayer2.util.SlidingPercentile
-
Computes a percentile by integration.
- getPeriod(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getPeriod(int, Timeline.Period) - Method in class com.google.android.exoplayer2.Timeline
-
Populates a
Timeline.Period
with data for the period at the specified index.
- getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.Timeline
-
Populates a
Timeline.Period
with data for the period at the specified index.
- getPeriodCount() - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- getPeriodCount() - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getPeriodCount() - Method in class com.google.android.exoplayer2.Timeline
-
Returns the number of periods in the timeline.
- getPeriodDurationMs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- getPeriodDurationUs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- getPhysicalDisplaySize(Context) - Static method in class com.google.android.exoplayer2.util.Util
-
Gets the physical size of the default display, in pixels.
- getPhysicalDisplaySize(Context, Display) - Static method in class com.google.android.exoplayer2.util.Util
-
Gets the physical size of the specified display, in pixels.
- getPixelCount() - Method in class com.google.android.exoplayer2.Format
-
- getPlaybackParams() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Returns the PlaybackParams
governing audio playback, or null if not set.
- getPlaybackState() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns the current state of the player.
- getPlaybackState() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getPlayer() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
Returns the player currently being controlled by this view, or null if no player is set.
- getPlayer() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
Returns the player currently set on this view, or null if no player is set.
- getPlayWhenReady() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
- getPlayWhenReady() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getPosition(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
-
- getPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- getPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Returns the current read position (byte offset) in the stream.
- getPosition(long) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- getPosition(long) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- getPosition(long) - Method in interface com.google.android.exoplayer2.extractor.SeekMap
-
Maps a seek position in microseconds to a corresponding position (byte offset) in the stream
from which data can be provided to the extractor.
- getPosition(long) - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
-
- getPosition(long) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- getPosition() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Returns the current bit offset.
- getPosition() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Returns the current offset in the array, in bytes.
- getPositionInFirstPeriodMs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the position of the start of this window relative to the start of the first period
belonging to it, in milliseconds.
- getPositionInFirstPeriodUs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the position of the start of this window relative to the start of the first period
belonging to it, in microseconds.
- getPositionInWindowMs() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the position of the start of this period relative to the start of the window to which
it belongs, in milliseconds.
- getPositionInWindowUs() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the position of the start of this period relative to the start of the window to which
it belongs, in microseconds.
- getPositionUs() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- getPositionUs() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- getPositionUs() - Method in interface com.google.android.exoplayer2.util.MediaClock
-
Returns the current media position in microseconds.
- getPositionUs() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
- getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
Evaluates whether
MediaChunk
s should be removed from the back of the queue.
- getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- getPresentationTimeOffsetUs() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
-
Returns the presentation time offset, in microseconds.
- getProfileLevels() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
The profile levels supported by the decoder.
- getPropertyByteArray(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
Provides access to MediaDrm.getPropertyByteArray(String)
.
- getPropertyString(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- getPropertyString(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getPropertyString(String) - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
Provides access to MediaDrm.getPropertyString(String)
.
- getProvisionRequest() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- getProvisionRequest() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getReadIndex() - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Returns the current absolute read index.
- getRemainderDataSpec(DataSpec, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Given a
DataSpec
and a number of bytes already loaded, returns a
DataSpec
that represents the remainder of the data.
- getRendererCount() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Returns the number of renderers.
- getRendererDisabled(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
Returns whether the renderer is disabled.
- getRendererException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- getRendererSupport(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the extent to which a renderer can support playback of the tracks associated to it.
- getRendererType(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Returns the track type that the renderer at a given index handles.
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- getResponseHeaders() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
Returns the headers provided in the response, or null
if response headers are
unavailable.
- getResult() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
Returns the loaded object, or null if an object has not been loaded.
- getSampleFormat() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
Returns a
Format
parsed from the chunk, or null.
- getSeekMap() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
Returns a
SeekMap
parsed from the chunk, or null.
- getSegmentDurationUs(int, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getSegmentEndTimeUs(int) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getSegmentNum(long, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns the segment number of the segment containing a given media time.
- getSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getSegmentStartTimeUs(int) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getSegmentTimeUs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getSegmentUrl(int) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns a
RangedUri
defining the location of a segment.
- getSegmentUrl(int) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getSegmentUrl(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getSegmentUrl(Representation, int) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
Returns a
RangedUri
defining the location of a segment for the given index in the
given representation.
- getSegmentUrl(Representation, int) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
-
- getSegmentUrl(Representation, int) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
-
- getSelectedFormat() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getSelectedFormat() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the
Format
of the individual selected track.
- getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
-
- getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- getSelectedIndex() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index of the selected track.
- getSelectedIndexInTrackGroup() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getSelectedIndexInTrackGroup() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index in the track group of the individual selected track.
- getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
-
- getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- getSelectionData() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns optional data associated with the current track selection.
- getSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
- getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveVideoTrackSelection
-
- getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
-
- getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- getSelectionReason() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the reason for the current track selection.
- getSourceException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- getStartTimeUs(int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
Returns the start time of the specified chunk.
- getState() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getState() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
Returns the current state of the session.
- getState() - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
- getState() - Method in interface com.google.android.exoplayer2.Renderer
-
Returns the current state of the renderer.
- getStream() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getStream() - Method in interface com.google.android.exoplayer2.Renderer
-
Returns the
SampleStream
being consumed, or null if the renderer is disabled.
- getTimeUs(int) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns the start time of a segment.
- getTimeUs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getTotalBytesAllocated() - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
Returns the total number of bytes currently allocated.
- getTotalBytesAllocated() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- getTrackFormatSupport(int, int, int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the extent to which the format of an individual track is supported by the renderer.
- getTrackGroup() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getTrackGroup() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the
TrackGroup
to which the selected tracks belong.
- getTrackGroups() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
- getTrackGroups(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the array of
TrackGroup
s associated to the renderer at a specified index.
- getTrackOutput() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
-
- getTrackType() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getTrackType() - Method in interface com.google.android.exoplayer2.Renderer
-
Returns the track type that the
Renderer
handles.
- getTrackType() - Method in interface com.google.android.exoplayer2.RendererCapabilities
-
Returns the track type that the
Renderer
handles.
- getTrackType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Returns the
C
.TRACK_TYPE_*
constant that corresponds to a specified mime type.
- getTrackTypeOfCodec(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Equivalent to getTrackType(getMediaMimeType(codec))
.
- getUnassociatedTrackGroups() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the
TrackGroup
s not associated with any renderer.
- getUnexpectedException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- getUpstreamFormat() - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Returns the upstream
Format
in which samples are being queued.
- getUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
Returns the Uri
represented by the instance.
- getUri() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
-
- getUri() - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
When the source is open, returns the Uri
from which data is being read.
- getUri() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
-
- getUriString() - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
Returns the uri represented by the instance as a string.
- getUserAgent(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a user agent string based on the given application name and the library version.
- getUtf8Bytes(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a new byte array containing the code points of a String
encoded using UTF-8.
- getVideoDecoderCounters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getVideoFormat() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Returns the video format currently being played, or null if no video is being played.
- getVideoMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Derives a video sample mimeType from a codecs attribute.
- getVideoSurfaceView() - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
Get the view onto which video is rendered.
- getVolume() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Returns the audio volume, with 0 being silence and 1 being unity gain.
- getWindow(int, Timeline.Window, boolean) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getWindow(int, Timeline.Window) - Method in class com.google.android.exoplayer2.Timeline
-
Populates a
Timeline.Window
with data for the window at the specified index.
- getWindow(int, Timeline.Window, boolean) - Method in class com.google.android.exoplayer2.Timeline
-
Populates a
Timeline.Window
with data for the window at the specified index.
- getWindowCount() - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getWindowCount() - Method in class com.google.android.exoplayer2.Timeline
-
Returns the number of windows in the timeline.
- getWrappedMediaCrypto() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaCrypto
-
- getWriteIndex() - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Returns the current absolute write index.
- group - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- groupIndex - Variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.SelectionOverride
-
- id - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
The track identifier.
- id - Variable in class com.google.android.exoplayer2.Format
-
An identifier for the format, or null if unknown or not applicable.
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- id - Variable in class com.google.android.exoplayer2.metadata.id3.Id3Frame
-
The frame ID.
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.TxxxFrame
-
- id - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
- id - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
-
The period identifier, if one exists.
- id - Variable in class com.google.android.exoplayer2.Timeline.Period
-
An identifier for the period.
- id - Variable in class com.google.android.exoplayer2.Timeline.Window
-
An identifier for the window.
- Id3Decoder - Class in com.google.android.exoplayer2.metadata.id3
-
Decodes individual TXXX text frames from raw ID3 data.
- Id3Decoder() - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
- Id3Frame - Class in com.google.android.exoplayer2.metadata.id3
-
Base class for ID3 frames.
- Id3Frame(String) - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Frame
-
- IllegalMergeException(int) - Constructor for exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
-
- INDEX_UNBOUNDED - Static variable in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
- INDEX_UNSET - Static variable in class com.google.android.exoplayer2.C
-
Represents an unset or unknown index.
- indexOf(Format) - Method in class com.google.android.exoplayer2.source.TrackGroup
-
Returns the index of the track with the given format in the group.
- indexOf(TrackGroup) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
-
Returns the index of a group within the array.
- indexOf(Format) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- indexOf(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- indexOf(Format) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index in the selection of the track with the specified format.
- indexOf(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index in the selection of the track with the specified index in the track group.
- inferContentType(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Makes a best guess to infer the type from a file name.
- info - Variable in class com.google.android.exoplayer2.trackselection.TrackSelections
-
Opaque information associated with the result.
- init(long, int) - Method in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
Initializes the buffer.
- init(ExtractorOutput) - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- init(DefaultTrackOutput) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
-
Initializes the chunk for loading, setting the
DefaultTrackOutput
that will receive
samples as they are loaded.
- init(ChunkExtractorWrapper.SingleTrackMetadataOutput, TrackOutput) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- init(TrackSelector.InvalidationListener) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
Initializes the selector.
- InitializationChunk - Class in com.google.android.exoplayer2.source.chunk
-
A
Chunk
that uses an
Extractor
to decode initialization data for single track.
- InitializationChunk(DataSource, DataSpec, Format, int, Object, ChunkExtractorWrapper) - Constructor for class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- initializationData - Variable in class com.google.android.exoplayer2.Format
-
Initialization data that must be provided to the decoder.
- initializationData - Variable in class com.google.android.exoplayer2.video.AvcConfig
-
- initializationData - Variable in class com.google.android.exoplayer2.video.HevcConfig
-
- InitializationException(int, int, int, int) - Constructor for exception com.google.android.exoplayer2.audio.AudioTrack.InitializationException
-
- initializationSegment - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- initializationVectorSize - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
The initialization vector size in bytes for the samples in the corresponding sample group.
- initialize(int) - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
- inputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of queued input buffers.
- inputFormatChanged(Format) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- inputFormatChanged(Format) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- invalidate() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
Invalidates all previously generated track selections.
- InvalidAudioTrackTimestampException(String) - Constructor for exception com.google.android.exoplayer2.audio.AudioTrack.InvalidAudioTrackTimestampException
-
- InvalidContentTypeException(String, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
-
- InvalidResponseCodeException(int, Map<String, List<String>>, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
-
- isApplication(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Whether the top-level type of mimeType
is application.
- isAudio(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Whether the top-level type of mimeType
is audio.
- isAudioChannelCountSupportedV21(int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports audio with a given channel count.
- isAudioSampleRateSupportedV21(int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports audio with a given sample rate.
- isAvailable() - Method in class com.google.android.exoplayer2.util.LibraryLoader
-
Returns whether the underlying libraries are available, loading them if necessary.
- isBlacklisted(int, long) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
Returns whether the track at the specified index in the selection is blaclisted.
- isCached(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Queries if a range is entirely available in the cache.
- isCached - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
- isCached(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- isCodecSupported(String) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports the given codec
.
- isDecodeOnly() - Method in class com.google.android.exoplayer2.decoder.Buffer
-
- isDynamic - Variable in class com.google.android.exoplayer2.Timeline.Window
-
Whether this window may change when the timeline is updated.
- isEmpty() - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Returns whether the buffer is empty.
- isEncrypted() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- isEncrypted - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
Indicates the encryption state of the samples in the sample group.
- isEncrypted - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- isEnded() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- isEnded() - Method in interface com.google.android.exoplayer2.Renderer
-
- isEnded() - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- isEndOfStream() - Method in class com.google.android.exoplayer2.decoder.Buffer
-
- isEndTag(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns whether the current event is an end tag with the specified name.
- isEndTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns whether the current event is an end tag.
- isExplicit() - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns true if segments are defined explicitly by the index.
- isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
-
- isInitialized() - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
- isKeyFrame() - Method in class com.google.android.exoplayer2.decoder.Buffer
-
- isLive - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
Whether the manifest describes a live presentation still in progress.
- isLoadCanceled() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- isLoadCanceled() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
-
- isLoadCanceled() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- isLoadCanceled() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
-
- isLoadCanceled() - Method in interface com.google.android.exoplayer2.upstream.Loader.Loadable
-
Returns whether the load has been canceled.
- isLoadCanceled() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
- isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunk
-
Returns whether the chunk has been fully loaded.
- isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
-
- isLoading() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Whether the player is currently loading the source.
- isLoading() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- isLoading() - Method in class com.google.android.exoplayer2.upstream.Loader
-
- isLocalFileUri(Uri) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns true if the URI is a path to a local file or a reference to a local file.
- isNewSubtitleDataAvailable() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- isOpenEnded() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
Returns whether this is an open-ended
CacheSpan
.
- isPassthroughSupported(String) - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
Returns whether it's possible to play audio in the specified format using encoded passthrough.
- isReady() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- isReady() - Method in interface com.google.android.exoplayer2.Renderer
-
Whether the renderer is able to immediately render media from the current position.
- isReady() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- isReady() - Method in interface com.google.android.exoplayer2.source.SampleStream
-
Returns whether data is available to be read.
- isReady() - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
-
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- isSeekable() - Method in interface com.google.android.exoplayer2.extractor.SeekMap
-
Returns whether seeking is supported.
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
-
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- isSeekable - Variable in class com.google.android.exoplayer2.Timeline.Window
-
Whether it's possible to seek within this window.
- isSeiMessageCea608(int, int, ParsableByteArray) - Static method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
Inspects an sei message to determine whether it contains CEA-608.
- isSourceReady() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Returns whether the upstream source is ready.
- isStartTag(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns whether the current event is a start tag with the specified name.
- isStartTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns whether the current event is a start tag.
- isText(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Whether the top-level type of mimeType
is text.
- isVideo(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Whether the top-level type of mimeType
is video.
- isVideoSizeAndRateSupportedV21(int, int, double) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports video with a given width, height and frame rate.
- isVideoSizeSupportedV21(int, int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports video with a specified width and height.
- isVisible() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
Returns whether the controller is currently visible.
- iv - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
-
- majorVersion - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The client manifest major version.
- MANUFACTURER - Static variable in class com.google.android.exoplayer2.util.Util
-
Like Build.MANUFACTURER
, but in a place where it can be conveniently overridden for
local testing.
- MappingTrackSelector - Class in com.google.android.exoplayer2.trackselection
-
- MappingTrackSelector(Handler) - Constructor for class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
- MappingTrackSelector.MappedTrackInfo - Class in com.google.android.exoplayer2.trackselection
-
Provides track information for each renderer.
- MappingTrackSelector.SelectionOverride - Class in com.google.android.exoplayer2.trackselection
-
A track selection override.
- matches(UUID) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
Returns whether this initialization data applies to the specified scheme.
- MatroskaExtractor - Class in com.google.android.exoplayer2.extractor.mkv
-
Extracts data from a Matroska or WebM file.
- MatroskaExtractor() - Constructor for class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- MAX_FRAME_SIZE_BYTES - Static variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Theoretical maximum frame size for an MPEG audio stream, which occurs when playing a Layer 2
MPEG 2.5 audio stream at 16 kb/s (with padding).
- maxBlockSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- maxConsecutiveDroppedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The maximum number of dropped output buffers without an interleaving rendered output buffer.
- maxDecodedFrameSize() - Method in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- maxFrameSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- maxH264DecodableFrameSize() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns the maximum frame size supported by the default H264 decoder.
- maxHeight - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- maxInputSize - Variable in class com.google.android.exoplayer2.Format
-
The maximum size of a buffer of data (typically one sample), or
Format.NO_VALUE
if unknown or
not applicable.
- maxVideoHeight - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- maxVideoWidth - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- maxWidth - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- maybeBlacklistTrack(TrackSelection, int, Exception) - Static method in class com.google.android.exoplayer2.source.chunk.ChunkedTrackBlacklistUtil
-
- maybeBlacklistTrack(TrackSelection, int, Exception, long) - Static method in class com.google.android.exoplayer2.source.chunk.ChunkedTrackBlacklistUtil
-
- maybeInitCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- maybeRequestReadExternalStoragePermission(Activity, Uri...) - Static method in class com.google.android.exoplayer2.util.Util
-
Checks whether it's necessary to request the Manifest.permission.READ_EXTERNAL_STORAGE
permission read the specified Uri
s, requesting the permission if necessary.
- maybeThrowError() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- maybeThrowError() - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
If the source is currently having difficulty providing chunks, then this method throws the
underlying error.
- maybeThrowError() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- maybeThrowError() - Method in interface com.google.android.exoplayer2.source.SampleStream
-
Throws an error that's preventing data from being read.
- maybeThrowError() - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- maybeThrowError() - Method in class com.google.android.exoplayer2.upstream.Loader
-
- maybeThrowError(int) - Method in class com.google.android.exoplayer2.upstream.Loader
-
- maybeThrowError() - Method in interface com.google.android.exoplayer2.upstream.LoaderErrorThrower
-
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current
Loader.Loadable
has incurred a number of errors greater than the
Loader
s default
minimum number of retries.
- maybeThrowError(int) - Method in interface com.google.android.exoplayer2.upstream.LoaderErrorThrower
-
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current
Loader.Loadable
has incurred a number of errors greater than the specified minimum number
of retries.
- maybeThrowPrepareError() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Throws an error that's preventing the period from becoming prepared.
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in interface com.google.android.exoplayer2.source.MediaSource
-
Throws any pending error encountered while loading or refreshing source information.
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- maybeThrowStreamError() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- maybeThrowStreamError() - Method in interface com.google.android.exoplayer2.Renderer
-
Throws an error that's preventing the renderer from reading from its
SampleStream
.
- MediaChunk - Class in com.google.android.exoplayer2.source.chunk
-
An abstract base class for
Chunk
s that contain media samples.
- MediaChunk(DataSource, DataSpec, Format, int, Object, long, long, int) - Constructor for class com.google.android.exoplayer2.source.chunk.MediaChunk
-
- MediaClock - Interface in com.google.android.exoplayer2.util
-
Tracks the progression of media time.
- MediaCodecAudioRenderer - Class in com.google.android.exoplayer2.audio
-
Decodes and renders audio using
MediaCodec
and
AudioTrack
.
- MediaCodecAudioRenderer(MediaCodecSelector) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(MediaCodecSelector, DrmSessionManager, boolean) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(MediaCodecSelector, Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener, AudioCapabilities, int) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecInfo - Class in com.google.android.exoplayer2.mediacodec
-
Information about a MediaCodec
for a given mime type.
- MediaCodecRenderer - Class in com.google.android.exoplayer2.mediacodec
-
An abstract renderer that uses MediaCodec
to decode samples for rendering.
- MediaCodecRenderer(int, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean) - Constructor for class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- MediaCodecRenderer.DecoderInitializationException - Exception in com.google.android.exoplayer2.mediacodec
-
Thrown when a failure occurs instantiating a decoder.
- MediaCodecSelector - Interface in com.google.android.exoplayer2.mediacodec
-
Selector of MediaCodec
instances.
- MediaCodecUtil - Class in com.google.android.exoplayer2.mediacodec
-
A utility class for querying the available codecs.
- MediaCodecUtil.DecoderQueryException - Exception in com.google.android.exoplayer2.mediacodec
-
Thrown when an error occurs querying the device for its underlying media capabilities.
- MediaCodecVideoRenderer - Class in com.google.android.exoplayer2.video
-
Decodes and renders video using MediaCodec
.
- MediaCodecVideoRenderer(Context, MediaCodecSelector, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaCodecVideoRenderer(Context, MediaCodecSelector, int, long) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaCodecVideoRenderer(Context, MediaCodecSelector, int, long, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaCodecVideoRenderer(Context, MediaCodecSelector, int, long, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaDrmCallback - Interface in com.google.android.exoplayer2.drm
-
- MediaPeriod - Interface in com.google.android.exoplayer2.source
-
A source of a single period of media.
- MediaPeriod.Callback - Interface in com.google.android.exoplayer2.source
-
- mediaSequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- MediaSource - Interface in com.google.android.exoplayer2.source
-
A source of media consisting of one or more
MediaPeriod
s.
- MediaSource.Listener - Interface in com.google.android.exoplayer2.source
-
Listener for source events.
- merge(DecoderCounters) - Method in class com.google.android.exoplayer2.decoder.DecoderCounters
-
Merges the counts from other
into this instance.
- MergingMediaSource - Class in com.google.android.exoplayer2.source
-
- MergingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.MergingMediaSource
-
- MergingMediaSource.IllegalMergeException - Exception in com.google.android.exoplayer2.source
-
- MergingMediaSource.IllegalMergeException.Reason - Annotation Type in com.google.android.exoplayer2.source
-
The reason the merge failed.
- message - Variable in class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
-
The message.
- messageType - Variable in class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
-
The type of the message.
- MetadataDecoder<T> - Interface in com.google.android.exoplayer2.metadata
-
Decodes metadata from binary data.
- MetadataDecoderException - Exception in com.google.android.exoplayer2.metadata
-
Thrown when an error occurs decoding metadata.
- MetadataDecoderException(String) - Constructor for exception com.google.android.exoplayer2.metadata.MetadataDecoderException
-
- MetadataDecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.metadata.MetadataDecoderException
-
- MetadataRenderer<T> - Class in com.google.android.exoplayer2.metadata
-
A renderer for metadata.
- MetadataRenderer(MetadataRenderer.Output<T>, Looper, MetadataDecoder<T>) - Constructor for class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- MetadataRenderer.Output<T> - Interface in com.google.android.exoplayer2.metadata
-
- MICROS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
-
The number of microseconds in one second.
- mimeType - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- mimeType - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
The mime type.
- mimeType - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
The mime type for which a decoder was being initialized.
- mimeType - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- mimeType - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- MimeTypes - Class in com.google.android.exoplayer2.util
-
Defines common MIME types and helper methods.
- MIN_RETRY_COUNT_DEFAULT_FOR_MEDIA - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- minBlockSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- minBufferTime - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- minFrameSize - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- minorVersion - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The client manifest minor version.
- minUpdatePeriod - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- MissingFieldException(String) - Constructor for exception com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser.MissingFieldException
-
- mode - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
-
- MODEL - Static variable in class com.google.android.exoplayer2.util.Util
-
Like Build.MODEL
, but in a place where it can be conveniently overridden for local
testing.
- movieTimescale - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
The movie timescale.
- Mp3Extractor - Class in com.google.android.exoplayer2.extractor.mp3
-
Extracts data from an MP3 file.
- Mp3Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- Mp3Extractor(long) - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- Mp4Extractor - Class in com.google.android.exoplayer2.extractor.mp4
-
Extracts data from an unfragmented MP4 file.
- Mp4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- Mp4WebvttDecoder - Class in com.google.android.exoplayer2.text.webvtt
-
- Mp4WebvttDecoder() - Constructor for class com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder
-
- MpegAudioHeader - Class in com.google.android.exoplayer2.extractor
-
An MPEG audio frame header.
- MpegAudioHeader() - Constructor for class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
- MSG_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
-
Applications or extensions may define custom MSG_*
constants greater than or equal to
this value.
- MSG_SET_PLAYBACK_PARAMS - Static variable in class com.google.android.exoplayer2.C
-
- MSG_SET_SURFACE - Static variable in class com.google.android.exoplayer2.C
-
- MSG_SET_VOLUME - Static variable in class com.google.android.exoplayer2.C
-
- msToUs(long) - Static method in class com.google.android.exoplayer2.C
-
Converts a time in milliseconds to the corresponding time in microseconds, preserving
C.TIME_UNSET
values.
- MultiSegmentBase(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- MultiSegmentRepresentation(String, long, Format, SegmentBase.MultiSegmentBase, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- muxedAudioFormat - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
- muxedCaptionFormat - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
- OFFSET_SAMPLE_RELATIVE - Static variable in class com.google.android.exoplayer2.Format
-
A value for
Format.subsampleOffsetUs
to indicate that subsample timestamps are relative to
the timestamps of their parent samples.
- offsets - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
-
The chunk byte offsets.
- OggExtractor - Class in com.google.android.exoplayer2.extractor.ogg
-
- OggExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- onAudioCapabilitiesChanged(AudioCapabilities) - Method in interface com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver.Listener
-
Called when the audio capabilities change.
- onAudioDecoderInitialized(String, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when a decoder is created.
- onAudioDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when the renderer is disabled.
- onAudioEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when the renderer is enabled.
- onAudioInputFormatChanged(Format) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when the format of the media being consumed by the renderer changes.
- onAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when the audio session is set.
- onAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
Called when the audio session id becomes known.
- onAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
Called when the audio session id becomes known.
- onAudioTrackUnderrun(int, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
- onBandwidthSample(int, long, long) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter.EventListener
-
Called periodically to indicate that bytes have been transferred.
- onBytesTransferred(Object, int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- onBytesTransferred(S, int) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
-
Called incrementally during a transfer.
- onCachedBytesRead(long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheDataSource.EventListener
-
Called when bytes have been read from the cache.
- onCacheInitialized() - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
-
Called when cache has beeen initialized.
- onCacheInitialized() - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onCacheInitialized() - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onChunkLoadCompleted(Chunk) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
Called when the
ChunkSampleStream
has finished loading a chunk obtained from this
source.
- onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- onChunkLoadError(Chunk, boolean, Exception) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
Called when the
ChunkSampleStream
encounters an error loading a chunk obtained from
this source.
- onChunkLoadError(Chunk, boolean, Exception) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- onChunkLoadError(Chunk, boolean, Exception) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Called when a MediaCodec
has been created and configured.
- onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onContinueLoadingRequested(T) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader.Callback
-
- onCues(List<Cue>) - Method in interface com.google.android.exoplayer2.text.TextRenderer.Output
-
Called each time there is a change in the
Cue
s.
- onCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
- onDisabled() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer is disabled.
- onDisabled() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onDownstreamFormatChanged(int, Format, int, Object, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
-
Called when a downstream format change occurs (i.e.
- onDrmKeysLoaded() - Method in interface com.google.android.exoplayer2.drm.StreamingDrmSessionManager.EventListener
-
Called each time keys are loaded.
- onDrmSessionManagerError(Exception) - Method in interface com.google.android.exoplayer2.drm.StreamingDrmSessionManager.EventListener
-
Called when a drm error occurs.
- onDroppedFrames(int, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called to report the number of frames dropped by the renderer.
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer is enabled.
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onEvent(ExoMediaDrm<? extends T>, byte[], int, int, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.OnEventListener
-
Called when an event occurs that requires the app to be notified
- onInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Called when a new format is read from the upstream
MediaPeriod
.
- onInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onLoadCanceled(DataSpec, int, int, Format, int, Object, long, long, long, long, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
-
Called when a load is canceled.
- onLoadCanceled(Chunk, long, long, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- onLoadCanceled(ParsingLoadable<SsManifest>, long, long, boolean) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- onLoadCanceled(T, long, long, boolean) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
-
Called when a load has been canceled.
- onLoadCompleted(DataSpec, int, int, Format, int, Object, long, long, long, long, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
-
Called when a load ends.
- onLoadCompleted(Chunk, long, long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- onLoadCompleted(ParsingLoadable<SsManifest>, long, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- onLoadCompleted(T, long, long) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
-
Called when a load has completed.
- onLoadError(DataSpec, int, int, Format, int, Object, long, long, long, long, long, IOException, boolean) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
-
Called when a load error occurs.
- onLoadError(Chunk, long, long, IOException) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- onLoadError(IOException) - Method in interface com.google.android.exoplayer2.source.ExtractorMediaSource.EventListener
-
Called when an error occurs loading media data.
- onLoadError(int, IOException) - Method in interface com.google.android.exoplayer2.source.SingleSampleMediaSource.EventListener
-
Called when an error occurs loading media data.
- onLoadError(ParsingLoadable<SsManifest>, long, long, IOException) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- onLoadError(T, long, long, IOException) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
-
Called when a load encounters an error.
- onLoadingChanged(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer.EventListener
-
Called when the player starts or stops loading the source.
- onLoadingChanged(boolean) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- onLoadStarted(DataSpec, int, int, Format, int, Object, long, long, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
-
Called when a load begins.
- onMeasure(int, int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- onMetadata(T) - Method in interface com.google.android.exoplayer2.metadata.MetadataRenderer.Output
-
Called each time there is a metadata associated with current playback time.
- onOutputFormatChanged(MediaCodec, MediaFormat) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onOutputFormatChanged(MediaCodec, MediaFormat) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Called when the output format of the MediaCodec
changes.
- onOutputFormatChanged(MediaCodec, MediaFormat) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onOutputStreamEnded() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onOutputStreamEnded() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Called when the output stream ends, meaning that the last output buffer has been processed and
the MediaCodec.BUFFER_FLAG_END_OF_STREAM
flag has been propagated through the decoder.
- onPlayerError(ExoPlaybackException) - Method in interface com.google.android.exoplayer2.ExoPlayer.EventListener
-
Called when an error occurs.
- onPlayerError(ExoPlaybackException) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- onPlayerStateChanged(boolean, int) - Method in interface com.google.android.exoplayer2.ExoPlayer.EventListener
-
- onPlayerStateChanged(boolean, int) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- onPmtEntry(int, int, ElementaryStreamReader.EsInfo, ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.DefaultStreamReaderFactory
-
- onPmtEntry(int, int, ElementaryStreamReader.EsInfo, ExtractorOutput) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader.Factory
-
- onPositionDiscontinuity() - Method in interface com.google.android.exoplayer2.ExoPlayer.EventListener
-
Called when a position discontinuity occurs.
- onPositionDiscontinuity() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the position is reset.
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onPrepared() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- onPrepared() - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player when prepared with a new source.
- onPrepared(MediaPeriod) - Method in interface com.google.android.exoplayer2.source.MediaPeriod.Callback
-
Called when preparation completes.
- onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Called when an output buffer is successfully processed.
- onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Called immediately before an input buffer is queued into the codec.
- onReleased() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- onReleased() - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player when released.
- onRenderedFirstFrame() - Method in interface com.google.android.exoplayer2.SimpleExoPlayer.VideoListener
-
Called when a frame is rendered for the first time since setting the surface, and when a
frame is rendered for the first time since a video track was selected.
- onRenderedFirstFrame(Surface) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when a frame is rendered for the first time since setting the surface, and when a frame
is rendered for the first time since the renderer was reset.
- onSelectionActivated(TrackSelections<T>) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
- onSourceInfoRefreshed(Timeline, Object) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- onSourceInfoRefreshed(Timeline, Object) - Method in interface com.google.android.exoplayer2.source.MediaSource.Listener
-
Called when manifest and/or timeline has been refreshed.
- onSpanAdded(Cache, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
-
Called when a
CacheSpan
is added to the cache.
- onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onSpanRemoved(Cache, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
-
Called when a
CacheSpan
is removed from the cache.
- onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
-
Called when an existing
CacheSpan
is accessed, causing it to be replaced.
- onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onStarted() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onStarted() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onStarted() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer is started.
- onStarted() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onStarted() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onStartFile(Cache, String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
-
Called when a writer starts writing to the cache.
- onStartFile(Cache, String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onStartFile(Cache, String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onStopped() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onStopped() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onStopped() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer is stopped.
- onStopped() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- onStopped() - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player when stopped.
- onStopped() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onStopped() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onStreamChanged(Format[]) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer's stream has changed.
- onStreamChanged(Format[]) - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- onStreamChanged(Format[]) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onSynced() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
-
- onTimelineChanged(Timeline, Object) - Method in interface com.google.android.exoplayer2.ExoPlayer.EventListener
-
Called when timeline and/or manifest has been refreshed.
- onTimelineChanged(Timeline, Object) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- onTrackballEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- onTrackSelectionsChanged(TrackSelections<? extends T>) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelector.EventListener
-
Called when the track selections have changed.
- onTrackSelectionsInvalidated() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelector.InvalidationListener
-
Called by a
TrackSelector
when previous selections are no longer valid.
- onTracksSelected(Renderer[], TrackGroupArray, TrackSelections<?>) - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- onTracksSelected(Renderer[], TrackGroupArray, TrackSelections<?>) - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player when a track selection occurs.
- onTransferEnd(Object) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- onTransferEnd(S) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
-
Called when a transfer ends.
- onTransferStart(Object, DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- onTransferStart(S, DataSpec) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
-
Called when a transfer starts.
- onUpstreamDiscarded(int, long, long) - Method in interface com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener
-
Called when data is removed from the back of a media buffer, typically so that it can be
re-buffered in a different format.
- onUpstreamFormatChanged(Format) - Method in interface com.google.android.exoplayer2.extractor.DefaultTrackOutput.UpstreamFormatChangedListener
-
Called on the loading thread when an upstream format change occurs.
- onVideoDecoderInitialized(String, long, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when a decoder is created.
- onVideoDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when the renderer is disabled.
- onVideoEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when the renderer is enabled.
- onVideoInputFormatChanged(Format) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when the format of the media being consumed by the renderer changes.
- onVideoSizeChanged(int, int, int, float) - Method in interface com.google.android.exoplayer2.SimpleExoPlayer.VideoListener
-
Called each time there's a change in the size of the video being rendered.
- onVideoSizeChanged(int, int, int, float) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called each time there's a change in the size of the video being rendered.
- onVideoTracksDisabled() - Method in interface com.google.android.exoplayer2.SimpleExoPlayer.VideoListener
-
Called when a video track is no longer selected.
- onVisibilityChange(int) - Method in interface com.google.android.exoplayer2.ui.PlaybackControlView.VisibilityListener
-
Called when the visibility changes.
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
-
- open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.DataSink
-
Opens the sink to consume the specified data.
- open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
Opens the source to read the specified data.
- open() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.FileDataSource
-
- open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
-
- open() - Method in class com.google.android.exoplayer2.util.ConditionVariable
-
Opens the condition and releases all threads that are blocked.
- openSession() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- openSession() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- orientationMayChange - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- output - Variable in class com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
- OutputBuffer - Class in com.google.android.exoplayer2.decoder
-
Output buffer decoded by a
Decoder
.
- OutputBuffer() - Constructor for class com.google.android.exoplayer2.decoder.OutputBuffer
-
- owner - Variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Called when a packet ends.
- packetStarted(long, boolean) - Method in class com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Called when a packet starts.
- Parameters() - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Constructor with default selection parameters:
No preferred audio language is set.
No preferred text language is set.
Adaptation between different mime types is not allowed.
Non seamless adaptation is allowed.
No max limit for video width/height.
Video constraints are ignored if no supported selection can be made otherwise.
No viewport width/height constraints are set.
- Parameters(String, String, boolean, boolean, int, int, boolean, int, int, boolean) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- ParsableBitArray - Class in com.google.android.exoplayer2.util
-
Wraps a byte array, providing methods that allow it to be read as a bitstream.
- ParsableBitArray() - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
-
Creates a new instance that initially has no backing data.
- ParsableBitArray(byte[]) - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
-
Creates a new instance that wraps an existing array.
- ParsableBitArray(byte[], int) - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
-
Creates a new instance that wraps an existing array.
- ParsableByteArray - Class in com.google.android.exoplayer2.util
-
Wraps a byte array, providing a set of methods for parsing data from it.
- ParsableByteArray() - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
-
Creates a new instance that initially has no backing data.
- ParsableByteArray(int) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
-
Creates a new instance with limit
bytes and sets the limit.
- ParsableByteArray(byte[]) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
-
Creates a new instance wrapping data
, and sets the limit to data.length
.
- ParsableByteArray(byte[], int) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
-
Creates a new instance that wraps an existing array.
- ParsableNalUnitBitArray - Class in com.google.android.exoplayer2.util
-
Wraps a byte array, providing methods that allow it to be read as a NAL unit bitstream.
- ParsableNalUnitBitArray(byte[], int, int) - Constructor for class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
- parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
-
- parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
-
- parse(Uri, InputStream) - Method in interface com.google.android.exoplayer2.upstream.ParsingLoadable.Parser
-
Parses an object from a response.
- parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.AvcConfig
-
Parses AVC configuration data.
- parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.HevcConfig
-
Parses HEVC configuration data.
- parseAacAudioSpecificConfig(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
-
Parses an AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
- parseAc3AnnexFFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the AC-3 format given data
containing the AC3SpecificBox according to
ETSI TS 102 366 Annex F.
- parseAc3SyncframeFormat(ParsableBitArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the AC-3 format given data
containing a syncframe.
- parseAc3SyncframeSize(byte[]) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the size in bytes of the given AC-3 syncframe.
- parseAdaptationSet(XmlPullParser, String, SegmentBase) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseAdaptationSetChild(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Parses children of AdaptationSet elements not specifically parsed elsewhere.
- parseAudioChannelConfiguration(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseBaseUrl(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseContentProtection(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Parses a ContentProtection element.
- parseContentType(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseCssColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
-
Parses a CSS color expression.
- parseDateTime(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseDtsAudioSampleCount(byte[]) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
-
Returns the number of audio samples represented by the given DTS frame.
- parseDtsAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
-
- parseDtsFormat(byte[], String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
-
Returns the DTS format given data
containing the DTS frame according to ETSI TS 102 114
subsections 5.3/5.4.
- parseDuration(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseEAc3AnnexFFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the E-AC-3 format given data
containing the EC3SpecificBox according to
ETSI TS 102 366 Annex F.
- parseEAc3SyncframeAudioSampleCount(byte[]) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the number of audio samples represented by the given E-AC-3 syncframe.
- parseEAc3SyncframeAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
- parseEac3SyncframeFormat(ParsableBitArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the E-AC-3 format given data
containing a syncframe.
- parseEAc3SyncframeSize(byte[]) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the size in bytes of the given E-AC-3 syncframe.
- parseFrameRate(XmlPullParser, float) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseInitialization(XmlPullParser, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseInt(XmlPullParser, String, int) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseLong(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseMediaPresentationDescription(XmlPullParser, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parsePercentage(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
-
Parses a percentage string.
- parsePeriod(XmlPullParser, String, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parsePpsNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Parses a PPS NAL unit using the syntax defined in ITU-T Recommendation H.264 (2013) subsection
7.3.2.2.
- parseRangedUrl(XmlPullParser, String, String, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseRepresentation(XmlPullParser, String, String, String, int, int, float, int, int, String, SegmentBase) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- ParserException - Exception in com.google.android.exoplayer2
-
Thrown when an error occurs parsing media data and metadata.
- ParserException() - Constructor for exception com.google.android.exoplayer2.ParserException
-
- ParserException(String) - Constructor for exception com.google.android.exoplayer2.ParserException
-
- ParserException(Throwable) - Constructor for exception com.google.android.exoplayer2.ParserException
-
- ParserException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.ParserException
-
- parseSchemeSpecificData(byte[], UUID) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
-
Parses the scheme specific data from a PSSH atom.
- parseSegmentBase(XmlPullParser, String, SegmentBase.SingleSegmentBase) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSegmentList(XmlPullParser, String, SegmentBase.SegmentList) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSegmentTemplate(XmlPullParser, String, SegmentBase.SegmentTemplate) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSegmentTimeline(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSegmentUrl(XmlPullParser, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSpsNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Parses an SPS NAL unit using the syntax defined in ITU-T Recommendation H.264 (2013) subsection
7.3.2.1.1.
- parseString(XmlPullParser, String, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseTimestampUs(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
-
Parses a WebVTT timestamp.
- parseTtmlColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
-
Parses a TTML color expression.
- parseUrlTemplate(XmlPullParser, String, UrlTemplate) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseUtcTiming(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseUuid(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
-
Parses the UUID from a PSSH atom.
- parseXsDateTime(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Parses an xs:dateTime attribute value, returning the parsed timestamp in milliseconds since
the epoch.
- parseXsDuration(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Parses an xs:duration attribute value, returning the parsed duration in milliseconds.
- ParsingLoadable<T> - Class in com.google.android.exoplayer2.upstream
-
- ParsingLoadable(DataSource, Uri, int, ParsingLoadable.Parser<T>) - Constructor for class com.google.android.exoplayer2.upstream.ParsingLoadable
-
- ParsingLoadable.Parser<T> - Interface in com.google.android.exoplayer2.upstream
-
Parses an object from loaded data.
- pause() - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
Pauses playback.
- pcmEncoding - Variable in class com.google.android.exoplayer2.Format
-
The encoding for PCM audio streams.
- peekFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- peekFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- peekFully(byte[], int, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Peeks length
bytes from the peek position, writing them into target
at index
offset
.
- peekFully(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Peeks length
bytes from the peek position, writing them into target
at index
offset
.
- peekSourceId() - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Peeks the source id of the next sample, or the current upstream source id if the buffer is
empty.
- peekUnsignedByte() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Peeks at the next byte as an unsigned value.
- Period - Class in com.google.android.exoplayer2.source.dash.manifest
-
Encapsulates media content components over a contiguous period of time.
- Period(String, long, List<AdaptationSet>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Period
-
- Period() - Constructor for class com.google.android.exoplayer2.Timeline.Period
-
- picOrderCntLsbLength - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- picOrderCountType - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- picParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
-
- pictureData - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- pictureType - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- pixelWidthAspectRatio - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- pixelWidthAspectRatio - Variable in class com.google.android.exoplayer2.video.AvcConfig
-
- pixelWidthHeightRatio - Variable in class com.google.android.exoplayer2.Format
-
The width to height ratio of pixels in the video, or
Format.NO_VALUE
if unknown or not
applicable.
- play() - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
Starts or resumes playing audio if the audio track has been initialized.
- PlaybackControlView - Class in com.google.android.exoplayer2.ui
-
A view to control video playback of an
ExoPlayer
.
- PlaybackControlView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
-
- PlaybackControlView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
-
- PlaybackControlView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
-
- PlaybackControlView.VisibilityListener - Interface in com.google.android.exoplayer2.ui
-
Listener to be notified about changes of the visibility of the UI control.
- PLAYREADY_CUSTOM_DATA_KEY - Static variable in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
The key to use when passing CustomData to a PlayReady instance in an optional parameter map.
- PLAYREADY_UUID - Static variable in class com.google.android.exoplayer2.C
-
UUID for the PlayReady DRM scheme.
- populateHeader(int, MpegAudioHeader) - Static method in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Parses headerData
, populating header
with the parsed data.
- position - Variable in class com.google.android.exoplayer2.extractor.PositionHolder
-
The held position.
- position - Variable in class com.google.android.exoplayer2.text.Cue
-
- position - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
The position of the
CacheSpan
in the original stream.
- position - Variable in class com.google.android.exoplayer2.upstream.DataSpec
-
- POSITION_OUT_OF_RANGE - Static variable in exception com.google.android.exoplayer2.upstream.DataSourceException
-
- POSITION_UNSET - Static variable in class com.google.android.exoplayer2.C
-
Represents an unset or unknown position.
- positionAnchor - Variable in class com.google.android.exoplayer2.text.Cue
-
- PositionHolder - Class in com.google.android.exoplayer2.extractor
-
Holds a position in the stream.
- PositionHolder() - Constructor for class com.google.android.exoplayer2.extractor.PositionHolder
-
- postBody - Variable in class com.google.android.exoplayer2.upstream.DataSpec
-
Body for a POST request, null otherwise.
- PpsData(int, int, boolean) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
-
- Predicate<T> - Interface in com.google.android.exoplayer2.util
-
Determines a true of false value for a given input.
- preferredAudioLanguage - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- preferredTextLanguage - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- prepare(MediaSource) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
- prepare(MediaSource, boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Prepares the player to play the provided
MediaSource
, optionally resetting the playback
position the default position in the first
Timeline.Window
.
- prepare(MediaSource) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- prepare(MediaSource, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- prepare(MediaPeriod.Callback) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Prepares this media period asynchronously.
- prepareSource(MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- prepareSource(MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- prepareSource(MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- prepareSource(MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- prepareSource(MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- prepareSource(MediaSource.Listener) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
Starts preparation of the source.
- prepareSource(MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- prepareSource(MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- prepareSource(MediaSource.Listener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- presentationStartTimeMs - Variable in class com.google.android.exoplayer2.Timeline.Window
-
The start time of the presentation to which this window belongs in milliseconds since the
epoch, or
C.TIME_UNSET
if unknown or not applicable.
- presentationTimeOffsetUs - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
The offset of the presentation timestamps in the media stream relative to media time.
- PriorityDataSource - Class in com.google.android.exoplayer2.upstream
-
- PriorityDataSource(DataSource, PriorityTaskManager, int) - Constructor for class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- PriorityHandlerThread - Class in com.google.android.exoplayer2.util
-
A HandlerThread
with a specified process priority.
- PriorityHandlerThread(String, int) - Constructor for class com.google.android.exoplayer2.util.PriorityHandlerThread
-
- PriorityTaskManager - Class in com.google.android.exoplayer2.util
-
Allows tasks with associated priorities to control how they proceed relative to one another.
- PriorityTaskManager.PriorityTooLowException - Exception in com.google.android.exoplayer2.util
-
Thrown when task attempts to proceed when another registered task has a higher priority.
- PriorityTooLowException(int, int) - Constructor for exception com.google.android.exoplayer2.util.PriorityTaskManager.PriorityTooLowException
-
- PRIVATE_STREAM_1 - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- privateData - Variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- PrivFrame - Class in com.google.android.exoplayer2.metadata.id3
-
PRIV (Private) ID3 frame.
- PrivFrame(String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- proceed(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
Blocks until the task is allowed to proceed.
- proceedNonBlocking(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
- proceedOrThrow(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
- processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Processes an output media buffer.
- processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- projectionData - Variable in class com.google.android.exoplayer2.Format
-
The projection data for 360/VR video, or null if not applicable.
- protectionElement - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
Content protection information, or null if the content is not protected.
- ProtectionElement(UUID, byte[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
-
- provideKeyResponse(byte[], byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- provideKeyResponse(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- provideProvisionResponse(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- provideProvisionResponse(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- PsExtractor - Class in com.google.android.exoplayer2.extractor.ts
-
Facilitates the extraction of data from the MPEG-2 TS container format.
- PsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- PsExtractor(TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- PsshAtomUtil - Class in com.google.android.exoplayer2.extractor.mp4
-
Utility methods for handling PSSH atoms.
- ptsToUs(long) - Static method in class com.google.android.exoplayer2.extractor.TimestampAdjuster
-
Converts a value in MPEG-2 timestamp units to the corresponding value in microseconds.
- RandomTrackSelection - Class in com.google.android.exoplayer2.trackselection
-
- RandomTrackSelection(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- RandomTrackSelection(TrackGroup, int[], long) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- RandomTrackSelection(TrackGroup, int[], Random) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- RandomTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
-
- RangedUri - Class in com.google.android.exoplayer2.source.dash.manifest
-
Defines a range of data located at a Uri
.
- RangedUri(String, String, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
Constructs an ranged uri.
- RawCcExtractor - Class in com.google.android.exoplayer2.extractor.rawcc
-
Extracts CEA data from a RawCC file.
- RawCcExtractor() - Constructor for class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- RawResourceDataSource - Class in com.google.android.exoplayer2.upstream
-
A
DataSource
for reading a raw resource inside the APK.
- RawResourceDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- RawResourceDataSource(Context, TransferListener<? super RawResourceDataSource>) - Constructor for class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- RawResourceDataSource.RawResourceDataSourceException - Exception in com.google.android.exoplayer2.upstream
-
Thrown when an IOException
is encountered reading from a raw resource.
- RawResourceDataSourceException(String) - Constructor for exception com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
-
- RawResourceDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- read(ExtractorInput, PositionHolder) - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
- read(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Reads up to length
bytes from the input and resets the peek position.
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- read(ExtractorInput) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
-
- read(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
Reads up to length
bytes of data and stores them into buffer
, starting at
index offset
.
- read() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- read(byte[]) - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.FileDataSource
-
- read(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
-
- readBit() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Reads a single bit.
- readBit() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Reads a single bit.
- readBits(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Reads up to 32 bits.
- readBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Reads up to 32 bits.
- readBytes(ParsableBitArray, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length
bytes into bitArray
, and resets the position of
bitArray
to zero.
- readBytes(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length
bytes into buffer
at offset
.
- readBytes(ByteBuffer, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length
bytes into buffer
.
- readData(FormatHolder, DecoderInputBuffer, boolean, long) - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Attempts to read from the queue.
- readData(FormatHolder, DecoderInputBuffer) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- readData(FormatHolder, DecoderInputBuffer) - Method in interface com.google.android.exoplayer2.source.SampleStream
-
Attempts to read from the stream.
- readDiscontinuity() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Attempts to read a discontinuity.
- readDouble() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next eight bytes as a 64-bit floating point value.
- readFloat() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as a 32-bit floating point value.
- readFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- readFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- readFully(byte[], int, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- readFully(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Equivalent to readFully(target, offset, length, false)
.
- readInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as a signed value
- readLine() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads a line of text.
- readLittleEndianInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as an signed value in little endian order.
- readLittleEndianInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next three bytes as a signed value in little endian order.
- readLittleEndianLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next eight bytes as a signed value in little endian order.
- readLittleEndianShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next two bytes as a signed value.
- readLittleEndianUnsignedInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as an unsigned value in little endian order.
- readLittleEndianUnsignedInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next three bytes as an unsigned value in little endian order.
- readLittleEndianUnsignedIntToInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as a little endian unsigned integer into an integer, if the top bit
is a zero.
- readLittleEndianUnsignedShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next two bytes as an unsigned value.
- readLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next eight bytes as a signed value.
- readShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next two bytes as an signed value.
- readSignedExpGolombCodedInt() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Reads an signed Exp-Golomb-coded format integer.
- readSource(FormatHolder, DecoderInputBuffer) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Reads from the enabled upstream source.
- readString(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length
bytes as UTF-8 characters.
- readString(int, Charset) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length
bytes as characters in the specified Charset
.
- readSynchSafeInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads a Synchsafe integer.
- readUnsignedByte() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next byte as an unsigned value.
- readUnsignedExpGolombCodedInt() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Reads an unsigned Exp-Golomb-coded format integer.
- readUnsignedFixedPoint1616() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes, returning the integer portion of the fixed point 16.16 integer.
- readUnsignedInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as an unsigned value.
- readUnsignedInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next three bytes as an unsigned value.
- readUnsignedIntToInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as an unsigned integer into an integer, if the top bit is a zero.
- readUnsignedLongToLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next eight bytes as an unsigned long into a long, if the top bit is a zero.
- readUnsignedShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next two bytes as an unsigned value.
- readUtf8EncodedLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads a long value encoded by UTF-8 encoding
- reason - Variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
-
- reason - Variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
-
The reason the merge failed.
- reason - Variable in exception com.google.android.exoplayer2.upstream.DataSourceException
-
- REASON_INSTANTIATION_ERROR - Static variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
-
There device advertises support for the requested DRM scheme, but there was an error
instantiating it.
- REASON_PERIOD_COUNT_MISMATCH - Static variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
-
The merge failed because the sources have different period counts.
- REASON_UNSUPPORTED_SCHEME - Static variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
-
The requested DRM scheme is unsupported by the device.
- REASON_WINDOWS_ARE_DYNAMIC - Static variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
-
The merge failed because one of the sources being merged has a dynamic window.
- register() - Method in class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
-
Registers the receiver, meaning it will notify the listener when audio capability changes
occur.
- REJECT_PAYWALL_TYPES - Static variable in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
A
Predicate
that rejects content types often used for pay-walls.
- release() - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
Releases all resources associated with this instance.
- release() - Method in interface com.google.android.exoplayer2.decoder.Decoder
-
Releases the decoder.
- release() - Method in class com.google.android.exoplayer2.decoder.OutputBuffer
-
Releases the output buffer for reuse.
- release() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
- release() - Method in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
- release() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- release() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- release() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Releases the player.
- release() - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
Releases all kept resources.
- release() - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- release() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- release() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
Releases the stream.
- release() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- release() - Method in class com.google.android.exoplayer2.text.cea.CeaOutputBuffer
-
- release() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- release(Allocation) - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
- release(Allocation[]) - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
Releases an array of
Allocation
s back to the allocator.
- release(Allocation) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- release(Allocation[]) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- release() - Method in class com.google.android.exoplayer2.upstream.Loader
-
- release(Runnable) - Method in class com.google.android.exoplayer2.upstream.Loader
-
Releases the
Loader
, running
postLoadAction
on its thread.
- releaseCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- releaseHoleSpan(CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
- releaseHoleSpan(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- releaseOutputBuffer(O) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Releases an output buffer back to the decoder.
- releaseOutputBuffer(SubtitleOutputBuffer) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- releasePeriod(MediaPeriod) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
Releases the period.
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- releaseSession(DrmSession<T>) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
- releaseSession(DrmSession<T>) - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
- releaseSource() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- releaseSource() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- releaseSource() - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- releaseSource() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- releaseSource() - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- releaseSource() - Method in interface com.google.android.exoplayer2.source.MediaSource
-
Releases the source.
- releaseSource() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- releaseSource() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- releaseSource() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- remove(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
Unregister a task.
- removeListener(ExoPlayer.EventListener) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Unregister a listener.
- removeListener(ExoPlayer.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- removeListener(TrackSelector.EventListener<? super T>) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
Unregister a listener.
- removeListener(String, Cache.Listener) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Unregisters a listener.
- removeListener(String, Cache.Listener) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- removeSpan(CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Removes a cached
CacheSpan
from the cache, deleting the underlying file.
- removeSpan(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- render(long, long) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- render(long, long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- render(long, long) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- render(long, long) - Method in interface com.google.android.exoplayer2.Renderer
-
- render(long, long) - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- renderedFirstFrame(Surface) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- renderedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of rendered output buffers.
- Renderer - Interface in com.google.android.exoplayer2
-
- RENDERER_SUPPORT_NO_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
The renderer does not have any associated tracks.
- RENDERER_SUPPORT_PLAYABLE_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
The renderer has associated tracks, and can play at least one of them.
- RENDERER_SUPPORT_UNPLAYABLE_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
The renderer has associated tracks, but cannot play any of them.
- RendererCapabilities - Interface in com.google.android.exoplayer2
-
- rendererIndex - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- replaceManifestUri(Uri) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
Manually replaces the manifest Uri
.
- replaceStream(Format[], SampleStream, long) - Method in class com.google.android.exoplayer2.BaseRenderer
-
- replaceStream(Format[], SampleStream, long) - Method in interface com.google.android.exoplayer2.Renderer
-
Replaces the
SampleStream
from which samples will be consumed.
- representation - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- Representation - Class in com.google.android.exoplayer2.source.dash.manifest
-
A DASH representation.
- Representation.MultiSegmentRepresentation - Class in com.google.android.exoplayer2.source.dash.manifest
-
A DASH representation consisting of multiple segments.
- Representation.SingleSegmentRepresentation - Class in com.google.android.exoplayer2.source.dash.manifest
-
A DASH representation consisting of a single segment.
- RepresentationHolder(long, Representation) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- representations - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
- requiresSecureDecoderComponent(String) - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
Whether the session requires a secure decoder for the specified mime type.
- requiresSecureDecoderComponent(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaCrypto
-
- requiresSecureDecoderComponent(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaCrypto
-
- requiresSecureDecoderComponent(String) - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
- requiresSecureDecryption - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
Whether secure decryption is required.
- reset() - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
Releases the underlying audio track asynchronously.
- reset(boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Resets the output.
- reset() - Method in class com.google.android.exoplayer2.extractor.TimestampAdjuster
-
Resets the instance to its initial state.
- reset() - Method in class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
-
Resets the provider.
- reset() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- reset(byte[]) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Updates the instance to wrap data
, and resets the position to zero.
- reset(byte[], int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Updates the instance to wrap data
, and resets the position to zero.
- reset(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Resets the position to zero and the limit to the specified value.
- reset(byte[], int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Updates the instance to wrap data
, and resets the position to zero.
- reset() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Sets the position and limit to zero.
- reset(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Resets the wrapped data, limit and offset.
- resetPeekPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- resetPeekPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Resets the peek position to equal the current read position.
- resetPosition(long) - Method in class com.google.android.exoplayer2.BaseRenderer
-
- resetPosition(long) - Method in interface com.google.android.exoplayer2.Renderer
-
Signals to the renderer that a position discontinuity has occurred.
- RESIZE_MODE_FIT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
Either the width or height is decreased to obtain the desired aspect ratio.
- RESIZE_MODE_FIXED_HEIGHT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
The height is fixed and the width is increased or decreased to obtain the desired aspect ratio.
- RESIZE_MODE_FIXED_WIDTH - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
The width is fixed and the height is increased or decreased to obtain the desired aspect ratio.
- resolve(String, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
-
Performs relative resolution of a referenceUri
with respect to a baseUri
.
- resolveToUri(String, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
-
- responseCode - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
-
The response code that was outside of the 2xx range.
- restoreKeys(byte[], byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- restoreKeys(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- RESULT_BUFFER_CONSUMED - Static variable in class com.google.android.exoplayer2.audio.AudioTrack
-
- RESULT_BUFFER_READ - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where a buffer was read.
- RESULT_CONTINUE - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
-
- RESULT_END_OF_INPUT - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where the end of an input was encountered.
- RESULT_END_OF_INPUT - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
-
- RESULT_FORMAT_READ - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where a format was read.
- RESULT_MAX_LENGTH_EXCEEDED - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where the length of parsed data exceeds the maximum length allowed.
- RESULT_NOTHING_READ - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where nothing was read.
- RESULT_POSITION_DISCONTINUITY - Static variable in class com.google.android.exoplayer2.audio.AudioTrack
-
- RESULT_SEEK - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
-
- RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
-
- RETRY_RESET_ERROR_COUNT - Static variable in class com.google.android.exoplayer2.upstream.Loader
-
- REVISION_ID_DEFAULT - Static variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
- revisionId - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Identifies the revision of the content.
- rotationDegrees - Variable in class com.google.android.exoplayer2.Format
-
The clockwise rotation that should be applied to the video for it to be rendered in the correct
orientation, or
Format.NO_VALUE
if unknown or not applicable.
- run() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- run() - Method in class com.google.android.exoplayer2.util.PriorityHandlerThread
-
- sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
- sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
- sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
-
- sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
-
- sampleData(ExtractorInput, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
-
Called to write sample data to the output.
- sampleData(ParsableByteArray, int) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
-
Called to write sample data to the output.
- sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- sampleDescriptionEncryptionBoxes - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
Track encryption boxes for the different track sample descriptions.
- sampleFormat - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- sampleMetadata(long, int, int, int, byte[]) - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
- sampleMetadata(long, int, int, int, byte[]) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
-
- sampleMetadata(long, int, int, int, byte[]) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
-
Called when metadata associated with a sample has been extracted from the stream.
- sampleMetadata(long, int, int, int, byte[]) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- sampleMetadata(long, int, int, int, byte[]) - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- sampleMimeType - Variable in class com.google.android.exoplayer2.Format
-
The mime type of the elementary stream (i.e.
- sampleRate - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Sample rate in samples per second.
- sampleRate - Variable in class com.google.android.exoplayer2.Format
-
The audio sampling rate in Hz, or
Format.NO_VALUE
if unknown or not applicable.
- sampleRate - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- samplesPerFrame - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Number of samples stored in the frame.
- SampleStream - Interface in com.google.android.exoplayer2.source
-
A stream of media samples (and associated format information).
- sampleTransformation - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
One of TRANSFORMATION_*
.
- scaleLargeTimestamp(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Scales a large timestamp.
- scaleLargeTimestamps(List<Long>, long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
- scaleLargeTimestampsInPlace(long[], long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
- SchemeData(UUID, String, byte[]) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- SchemeData(UUID, String, byte[], boolean) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- schemeDataCount - Variable in class com.google.android.exoplayer2.drm.DrmInitData
-
- schemeIdUri - Variable in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
-
- SDK_INT - Static variable in class com.google.android.exoplayer2.util.Util
-
Like Build.VERSION.SDK_INT
, but in a place where it can be conveniently
overridden for local testing.
- secureDecoderRequired - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
Whether it was required that the decoder support a secure output path.
- seek(long) - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
Notifies the extractor that a seek has occurred.
- seek(long) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Notifies the reader that a seek has occurred.
- seek(long) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- seek(long) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- seekMap(SeekMap) - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
-
Called when a
SeekMap
has been extracted from the stream.
- SeekMap - Interface in com.google.android.exoplayer2.extractor
-
Maps seek positions (in microseconds) to corresponding positions (byte offsets) in the stream.
- seekMap(SeekMap) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- seekMap(SeekMap) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper.SingleTrackMetadataOutput
-
- seekMap(SeekMap) - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- seekMap(SeekMap) - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- SeekMap.Unseekable - Class in com.google.android.exoplayer2.extractor
-
A
SeekMap
that does not support seeking.
- seekTo(long) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Seeks to a position specified in milliseconds in the current window.
- seekTo(int, long) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Seeks to a position specified in milliseconds in the specified window.
- seekTo(long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- seekTo(int, long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- seekToDefaultPosition() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Seeks to the default position associated with the current window.
- seekToDefaultPosition(int) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Seeks to the default position associated with the specified window.
- seekToDefaultPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- seekToDefaultPosition(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- seekToUs(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
Seeks to the specified position in microseconds.
- seekToUs(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Attempts to seek to the specified position in microseconds.
- Segment(String, long, long) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- Segment(String, double, int, long, boolean, String, String, long, long) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- SegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
-
An approximate representation of a SegmentBase manifest element.
- SegmentBase(RangedUri, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
-
- SegmentBase.MultiSegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
-
- SegmentBase.SegmentList - Class in com.google.android.exoplayer2.source.dash.manifest
-
- SegmentBase.SegmentTemplate - Class in com.google.android.exoplayer2.source.dash.manifest
-
- SegmentBase.SegmentTimelineElement - Class in com.google.android.exoplayer2.source.dash.manifest
-
Represents a timeline segment from the MPD's SegmentTimeline list.
- SegmentBase.SingleSegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
-
- segmentIndex - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- SegmentList(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>, List<RangedUri>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
-
- segments - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- SegmentTemplate(RangedUri, long, long, int, long, List<SegmentBase.SegmentTimelineElement>, UrlTemplate, UrlTemplate, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
-
- SegmentTimelineElement(long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement
-
- selectAudioTrack(TrackGroupArray, int[][], String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- SELECTION_FLAG_AUTOSELECT - Static variable in class com.google.android.exoplayer2.C
-
Indicates that the player may choose to play the track in absence of an explicit user
preference.
- SELECTION_FLAG_DEFAULT - Static variable in class com.google.android.exoplayer2.C
-
Indicates that the track should be selected if user preferences do not state otherwise.
- SELECTION_FLAG_FORCED - Static variable in class com.google.android.exoplayer2.C
-
Indicates that the track must be displayed.
- SELECTION_REASON_ADAPTIVE - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for an adaptive track selection.
- SELECTION_REASON_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
-
Applications or extensions may define custom SELECTION_REASON_*
constants greater than
or equal to this value.
- SELECTION_REASON_INITIAL - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for an initial track selection.
- SELECTION_REASON_MANUAL - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for an manual (i.e.
- SELECTION_REASON_TRICK_PLAY - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for a trick play track selection.
- SELECTION_REASON_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for selections whose reasons are unknown or unspecified.
- selectionFlags - Variable in class com.google.android.exoplayer2.Format
-
Track selection flags.
- SelectionOverride(TrackSelection.Factory, int, int...) - Constructor for class com.google.android.exoplayer2.trackselection.MappingTrackSelector.SelectionOverride
-
- selectOtherTrack(int, TrackGroupArray, int[][]) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- selectTextTrack(TrackGroupArray, int[][], String, String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Performs a track selection.
- selectTracks(RendererCapabilities[], TrackGroupArray[], int[][][]) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- selectTracks(RendererCapabilities[], TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
- selectTracks(RendererCapabilities[], TrackGroupArray[], int[][][]) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
- selectTracks(RendererCapabilities[], TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
- selectVideoTrack(RendererCapabilities, TrackGroupArray, int[][], int, int, boolean, boolean, int, int, boolean, TrackSelection.Factory, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- sendMessages(ExoPlayer.ExoPlayerMessage...) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Sends messages to their target components.
- sendMessages(ExoPlayer.ExoPlayerMessage...) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- separateColorPlaneFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- seqParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
-
- seqParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- SequenceableLoader - Interface in com.google.android.exoplayer2.source
-
A loader that can proceed in approximate synchronization with other loaders.
- SequenceableLoader.Callback<T extends SequenceableLoader> - Interface in com.google.android.exoplayer2.source
-
- SESSION_ID_NOT_SET - Static variable in class com.google.android.exoplayer2.audio.AudioTrack
-
Represents an unset AudioTrack
session identifier.
- set(int, int[], int[], byte[], byte[], int) - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
-
- set(Object, Object, int, long, long) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Sets the data held by this period.
- set(Object, long, long, boolean, boolean, long, long, int, int, long) - Method in class com.google.android.exoplayer2.Timeline.Window
-
Sets the data held by this window.
- setApplyEmbeddedStyles(boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets whether styling embedded within the cues should be applied.
- setAspectRatio(float) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
Set the aspect ratio that this view should satisfy.
- setAudioDebugListener(AudioRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets a listener to receive debug events from the audio renderer.
- setBottomPaddingFraction(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the bottom padding fraction to apply when
Cue.line
is
Cue.DIMEN_UNSET
,
as a fraction of the view's remaining height after its top and bottom padding have been
subtracted.
- setContent(long, Subtitle, long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
Sets the content of the output buffer, consisting of a
Subtitle
and associated
metadata.
- setContentLength(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Sets the content length for the given key.
- setContentLength(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- setControllerVisibilityListener(PlaybackControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- setControlShowDurationMs(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
Sets the duration to show the playback control in milliseconds.
- setCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the cues to be displayed by the view.
- setCurrentStreamIsFinal() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- setCurrentStreamIsFinal() - Method in interface com.google.android.exoplayer2.Renderer
-
Signals to the renderer that the current
SampleStream
will be the final one supplied
before it is next disabled or reset.
- setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
Sets the fast forward increment in milliseconds.
- setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
Sets the fast forward increment in milliseconds.
- setFixedTextSize(int, float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Set the text size to a given unit and value.
- setFlags(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Replaces this buffer's flags with flags
.
- setFractionalTextSize(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the text size to be a fraction of the view's remaining height after its top and bottom
padding have been subtracted.
- setFractionalTextSize(float, boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the text size to be a fraction of the height of this view.
- setFromComment(String, String) - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
-
Populates the holder with data parsed from a gapless playback comment (stored in an ID3 header
or MPEG 4 user data), if valid and non-zero.
- setFromXingHeaderValue(int) - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
-
Populates the holder with data from an MP3 Xing header, if valid and non-zero.
- setId3Output(MetadataRenderer.Output<List<Id3Frame>>) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets a listener to receive ID3 metadata events.
- setIndex(int) - Method in class com.google.android.exoplayer2.BaseRenderer
-
- setIndex(int) - Method in interface com.google.android.exoplayer2.Renderer
-
Sets the index of this renderer within the player.
- setInitialInputBufferSize(int) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Sets the initial size of each input buffer.
- setLibraries(String...) - Method in class com.google.android.exoplayer2.util.LibraryLoader
-
Overrides the names of the libraries to load.
- setLimit(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Sets the limit.
- setOnEventListener(ExoMediaDrm.OnEventListener<? super T>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- setOnEventListener(ExoMediaDrm.OnEventListener<? super FrameworkMediaCrypto>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- setParameters(DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Atomically sets the provided parameters for track selection.
- setPlaybackParams(PlaybackParams) - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
Sets the playback parameters.
- setPlaybackParams(PlaybackParams) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets the PlaybackParams
governing audio playback.
- setPlayer(ExoPlayer) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
- setPlayer(SimpleExoPlayer) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- setPlayWhenReady(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
- setPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setPosition(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Sets the current bit offset.
- setPosition(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Sets the reading offset in the array.
- setPositionUs(long) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- setPositionUs(long) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoder
-
Informs the decoder of the current playback position.
- setPositionUs(long) - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
- setPropertyByteArray(String, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
Provides access to MediaDrm.setPropertyByteArray(String, byte[])
.
- setPropertyString(String, String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- setPropertyString(String, String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- setPropertyString(String, String) - Method in class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
Provides access to MediaDrm.setPropertyString(String, String)
.
- setRendererDisabled(int, boolean) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
Sets whether the renderer at the specified index is disabled.
- setRequestProperty(String, String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- setRequestProperty(String, String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
Sets the value of a request header field.
- setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- setRetryPosition(long, E) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- setRetryPosition(long, E) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Called when reading fails and the required retry position is different from the last position.
- setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
Sets the rewind increment in milliseconds.
- setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
Sets the rewind increment in milliseconds.
- setSampleFormat(Format) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- setSelectionOverride(int, TrackGroupArray, MappingTrackSelector.SelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
Overrides the track selection for the renderer at a specified index.
- setShowDurationMs(int) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
Sets the duration to show the playback control in milliseconds.
- setStyle(CaptionStyleCompat) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the caption style.
- setTargetBufferSize(int) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- setTextOutput(TextRenderer.Output) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets an output to receive text events.
- setUpstreamFormatChangeListener(DefaultTrackOutput.UpstreamFormatChangedListener) - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Sets a listener to be notified of changes to the upstream format.
- setUseController(boolean) - Method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
Set the useController
flag which indicates whether the playback control view should
be used or not.
- setUserDefaultStyle() - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the caption style to be equivalent to the one returned by
CaptioningManager.getUserStyle()
, or to a default style on API level 19 and earlier.
- setUserDefaultTextSize() - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the text size to one derived from CaptioningManager.getFontScale()
, or to a
default size on API level 19 and earlier.
- setVideoDebugListener(VideoRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets a listener to receive debug events from the video renderer.
- setVideoListener(SimpleExoPlayer.VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets a listener to receive video events.
- setVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets the Surface
onto which video will be rendered.
- setVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets the SurfaceHolder
that holds the Surface
onto which video will be
rendered.
- setVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets the SurfaceView
onto which video will be rendered.
- setVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets the TextureView
onto which video will be rendered.
- setVisibilityListener(PlaybackControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
- setVolume(float) - Method in class com.google.android.exoplayer2.audio.AudioTrack
-
Sets the playback volume.
- setVolume(float) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets the audio volume, with 0 being silence and 1 being unity gain.
- sha1(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the SHA-1 digest of input
as a hex string.
- shouldContinueLoading(long) - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- shouldContinueLoading(long) - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player to determine whether it should continue to load the source.
- shouldInitCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- shouldInitCodec() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- shouldStartPlayback(long, boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- shouldStartPlayback(long, boolean) - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player to determine whether sufficient media is buffered for playback to be
started or resumed.
- show() - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
- show(int) - Method in class com.google.android.exoplayer2.ui.PlaybackControlView
-
Shows the controller for the durationMs
.
- SimpleCache - Class in com.google.android.exoplayer2.upstream.cache
-
A
Cache
implementation that maintains an in-memory representation.
- SimpleCache(File, CacheEvictor) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
Constructs the cache.
- SimpleDecoder<I extends DecoderInputBuffer,O extends OutputBuffer,E extends java.lang.Exception> - Class in com.google.android.exoplayer2.decoder
-
Base class for
Decoder
s that use their own decode thread.
- SimpleDecoder(I[], O[]) - Constructor for class com.google.android.exoplayer2.decoder.SimpleDecoder
-
- SimpleDecoderAudioRenderer - Class in com.google.android.exoplayer2.audio
-
- SimpleDecoderAudioRenderer() - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener, AudioCapabilities, int) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- SimpleExoPlayer - Class in com.google.android.exoplayer2
-
- SimpleExoPlayer.VideoListener - Interface in com.google.android.exoplayer2
-
- SimpleExoPlayerView - Class in com.google.android.exoplayer2.ui
-
Displays a video stream.
- SimpleExoPlayerView(Context) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- SimpleExoPlayerView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- SimpleExoPlayerView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- SimpleOutputBuffer - Class in com.google.android.exoplayer2.decoder
-
- SimpleOutputBuffer(SimpleDecoder<?, SimpleOutputBuffer, ?>) - Constructor for class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
- SimpleSubtitleDecoder - Class in com.google.android.exoplayer2.text
-
Base class for subtitle parsers that use their own decode thread.
- SimpleSubtitleDecoder(String) - Constructor for class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- SinglePeriodTimeline - Class in com.google.android.exoplayer2.source
-
A
Timeline
consisting of a single period and static window.
- SinglePeriodTimeline(long, boolean) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
Creates a timeline of one period of known duration, and a static window starting at zero and
extending to that duration.
- SinglePeriodTimeline(long, long, long, long, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
Creates a timeline with one period of known duration, and a window of known duration starting
at a specified position in the period.
- SingleSampleMediaChunk - Class in com.google.android.exoplayer2.source.chunk
-
- SingleSampleMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, int, Format) - Constructor for class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
-
- SingleSampleMediaSource - Class in com.google.android.exoplayer2.source
-
Loads data at a given
Uri
as a single sample belonging to a single
MediaPeriod
.
- SingleSampleMediaSource(Uri, DataSource.Factory, Format, long) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- SingleSampleMediaSource(Uri, DataSource.Factory, Format, long, int) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- SingleSampleMediaSource(Uri, DataSource.Factory, Format, long, int, Handler, SingleSampleMediaSource.EventListener, int) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- SingleSampleMediaSource.EventListener - Interface in com.google.android.exoplayer2.source
-
- SingleSegmentBase(RangedUri, long, long, String, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
-
- SingleSegmentBase(String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
-
- SingleSegmentRepresentation(String, long, Format, SegmentBase.SingleSegmentBase, String, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
- size - Variable in class com.google.android.exoplayer2.text.Cue
-
The size of the cue box in the writing direction specified as a fraction of the viewport size
in that direction, or
Cue.DIMEN_UNSET
.
- size() - Method in class com.google.android.exoplayer2.util.LongArray
-
Returns the current size of the array.
- sizes - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
-
The chunk sizes, in bytes.
- skip(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- skip(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- skip(long) - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- skipBits(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Skips bits and moves current reading position forward.
- skipBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Skips bits and moves current reading position forward.
- skipBytes(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Moves the reading offset by bytes
.
- skipFully(int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- skipFully(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- skipFully(int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- skipFully(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- skippedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of skipped output buffers.
- skippedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.OutputBuffer
-
The number of buffers immediately prior to this one that were skipped in the
Decoder
.
- skipToKeyframeBefore(long) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Attempts to skip to the keyframe before the specified time.
- skipToKeyframeBefore(long) - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Attempts to skip to the keyframe before the specified time, if it's present in the buffer.
- skipToKeyframeBefore(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- skipToKeyframeBefore(long) - Method in interface com.google.android.exoplayer2.source.SampleStream
-
Attempts to skip to the keyframe before the specified time.
- SlidingPercentile - Class in com.google.android.exoplayer2.util
-
Calculate any percentile over a sliding window of weighted values.
- SlidingPercentile(int) - Constructor for class com.google.android.exoplayer2.util.SlidingPercentile
-
- sniff(ExtractorInput) - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
Returns whether this extractor can extract samples from the
ExtractorInput
, which must
provide data from the start of the stream.
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- sourceId(int) - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Sets a source identifier for subsequent samples.
- splice() - Method in class com.google.android.exoplayer2.extractor.DefaultTrackOutput
-
Indicates that samples subsequently queued to the buffer should be spliced into those already
queued.
- splitNalUnits(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
-
Splits an array of NAL units.
- SpsData(int, int, int, float, boolean, boolean, int, int, int, boolean) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- SsChunkSource - Interface in com.google.android.exoplayer2.source.smoothstreaming
-
- SsChunkSource.Factory - Interface in com.google.android.exoplayer2.source.smoothstreaming
-
- SsManifest - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Represents a SmoothStreaming manifest.
- SsManifest(int, int, long, long, long, int, boolean, SsManifest.ProtectionElement, SsManifest.StreamElement[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
- SsManifest.ProtectionElement - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Represents a protection element containing a single header.
- SsManifest.StreamElement - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Represents a StreamIndex element.
- SsManifestParser - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Parses SmoothStreaming client manifests.
- SsManifestParser() - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
-
- SsManifestParser.MissingFieldException - Exception in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Thrown if a required field is missing.
- SsMediaSource - Class in com.google.android.exoplayer2.source.smoothstreaming
-
- SsMediaSource(Uri, DataSource.Factory, SsChunkSource.Factory, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- SsMediaSource(Uri, DataSource.Factory, SsChunkSource.Factory, int, long, Handler, AdaptiveMediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- StandaloneMediaClock - Class in com.google.android.exoplayer2.util
-
- StandaloneMediaClock() - Constructor for class com.google.android.exoplayer2.util.StandaloneMediaClock
-
- start() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- start() - Method in interface com.google.android.exoplayer2.Renderer
-
- start - Variable in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
The (zero based) index of the first byte of the range.
- start() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
Starts periodic updates of the TextView
.
- start() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
Starts the clock.
- startFile(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Obtains a cache file into which data can be written.
- startFile(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- startLoading(T, Loader.Callback<T>, int) - Method in class com.google.android.exoplayer2.upstream.Loader
-
- startMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
-
The start time of the period in milliseconds.
- startReadWrite(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
A caller should invoke this method when they require data from a given position for a given
key.
- startReadWrite(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- startReadWriteNonBlocking(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
- startReadWriteNonBlocking(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- startTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
The start time of the media contained by the chunk, or
C.TIME_UNSET
if the data
being loaded does not contain media samples.
- startTimeUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- STATE_BUFFERING - Static variable in interface com.google.android.exoplayer2.ExoPlayer
-
The player not able to immediately play from the current position.
- STATE_CLOSED - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session is closed.
- STATE_DISABLED - Static variable in interface com.google.android.exoplayer2.Renderer
-
The renderer is disabled.
- STATE_ENABLED - Static variable in interface com.google.android.exoplayer2.Renderer
-
The renderer is enabled but not started.
- STATE_ENDED - Static variable in interface com.google.android.exoplayer2.ExoPlayer
-
The player has finished playing the media.
- STATE_ERROR - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session has encountered an error.
- STATE_IDLE - Static variable in interface com.google.android.exoplayer2.ExoPlayer
-
The player does not have a source to play, so it is neither buffering nor ready to play.
- STATE_OPENED - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session is open, but does not yet have the keys required for decryption.
- STATE_OPENED_WITH_KEYS - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session is open and has the keys required for decryption.
- STATE_OPENING - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session is being opened.
- STATE_READY - Static variable in interface com.google.android.exoplayer2.ExoPlayer
-
The player is able to immediately play from the current position.
- STATE_STARTED - Static variable in interface com.google.android.exoplayer2.Renderer
-
The renderer is started.
- STEREO_MODE_LEFT_RIGHT - Static variable in class com.google.android.exoplayer2.C
-
Indicates Left-Right stereo layout, used with 360/3D/VR videos.
- STEREO_MODE_MONO - Static variable in class com.google.android.exoplayer2.C
-
Indicates Monoscopic stereo layout, used with 360/3D/VR videos.
- STEREO_MODE_TOP_BOTTOM - Static variable in class com.google.android.exoplayer2.C
-
Indicates Top-Bottom stereo layout, used with 360/3D/VR videos.
- stereoMode - Variable in class com.google.android.exoplayer2.Format
-
The stereo layout for 360/3D/VR video, or
Format.NO_VALUE
if not applicable.
- stop() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- stop() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Stops playback.
- stop() - Method in interface com.google.android.exoplayer2.Renderer
-
- stop() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- stop() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
Stops periodic updates of the TextView
.
- stop() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
Stops the clock.
- StreamElement(String, String, int, String, long, String, int, int, int, int, String, Format[], List<Long>, long) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- streamElements - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The contained stream elements.
- StreamingDrmSessionManager<T extends ExoMediaCrypto> - Class in com.google.android.exoplayer2.drm
-
- StreamingDrmSessionManager(UUID, ExoMediaDrm<T>, MediaDrmCallback, HashMap<String, String>, Handler, StreamingDrmSessionManager.EventListener) - Constructor for class com.google.android.exoplayer2.drm.StreamingDrmSessionManager
-
- StreamingDrmSessionManager.EventListener - Interface in com.google.android.exoplayer2.drm
-
- streamType - Variable in class com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader.EsInfo
-
- SubripDecoder - Class in com.google.android.exoplayer2.text.subrip
-
- SubripDecoder() - Constructor for class com.google.android.exoplayer2.text.subrip.SubripDecoder
-
- subsampleOffsetUs - Variable in class com.google.android.exoplayer2.Format
-
For samples that contain subsamples, this is an offset that should be added to subsample
timestamps.
- subsampleOffsetUs - Variable in class com.google.android.exoplayer2.text.SubtitleInputBuffer
-
- Subtitle - Interface in com.google.android.exoplayer2.text
-
A subtitle consisting of timed
Cue
s.
- SubtitleDecoder - Interface in com.google.android.exoplayer2.text
-
- SubtitleDecoderException - Exception in com.google.android.exoplayer2.text
-
Thrown when an error occurs decoding subtitle data.
- SubtitleDecoderException(String) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
-
- SubtitleDecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
-
- SubtitleDecoderFactory - Interface in com.google.android.exoplayer2.text
-
- SubtitleInputBuffer - Class in com.google.android.exoplayer2.text
-
- SubtitleInputBuffer() - Constructor for class com.google.android.exoplayer2.text.SubtitleInputBuffer
-
- SubtitleOutputBuffer - Class in com.google.android.exoplayer2.text
-
- SubtitleOutputBuffer() - Constructor for class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- subtitles - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
- SubtitleView - Class in com.google.android.exoplayer2.ui
-
A view for displaying subtitle
Cue
s.
- SubtitleView(Context) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
-
- SubtitleView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
-
- subType - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- suggestedPresentationDelay - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- supportsEncoding(int) - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
-
Returns whether this device supports playback of the specified audio encoding
.
- supportsFormat(MediaCodecSelector, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- supportsFormat(MediaCodecSelector, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Returns the extent to which the renderer is capable of supporting a given format.
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- supportsFormat(Format) - Method in interface com.google.android.exoplayer2.RendererCapabilities
-
Returns the extent to which the
Renderer
supports a given format.
- supportsFormat(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
-
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- supportsFormat(MediaCodecSelector, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- supportsMixedMimeTypeAdaptation() - Method in interface com.google.android.exoplayer2.RendererCapabilities
-
Returns the extent to which the
Renderer
supports adapting between supported formats
that have different mime types.
- SystemClock - Class in com.google.android.exoplayer2.util
-
The standard implementation of
Clock
.
- SystemClock() - Constructor for class com.google.android.exoplayer2.util.SystemClock
-
- tagDataSize - Variable in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- tagTimestampUs - Variable in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- tagType - Variable in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- target - Variable in class com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage
-
The target to receive the message.
- targetDurationSecs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- TeeDataSource - Class in com.google.android.exoplayer2.upstream
-
Tees data into a
DataSink
as the data is read.
- TeeDataSource(DataSource, DataSink) - Constructor for class com.google.android.exoplayer2.upstream.TeeDataSource
-
- text - Variable in class com.google.android.exoplayer2.text.Cue
-
The cue text.
- TEXT_VTT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- textAlignment - Variable in class com.google.android.exoplayer2.text.Cue
-
The alignment of the cue text within the cue box, or null if the alignment is undefined.
- textFormats - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.HlsUrl
-
- TextInformationFrame - Class in com.google.android.exoplayer2.metadata.id3
-
Text information ("T000" - "TZZZ", excluding "TXXX") ID3 frame.
- TextInformationFrame(String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
-
- TextRenderer - Class in com.google.android.exoplayer2.text
-
A renderer for text.
- TextRenderer(TextRenderer.Output, Looper) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
-
- TextRenderer(TextRenderer.Output, Looper, SubtitleDecoderFactory) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
-
- TextRenderer.Output - Interface in com.google.android.exoplayer2.text
-
- TIME_END_OF_SOURCE - Static variable in class com.google.android.exoplayer2.C
-
Special constant representing a time corresponding to the end of a source.
- TIME_UNSET - Static variable in class com.google.android.exoplayer2.C
-
Special constant representing an unset or unknown time or duration.
- Timeline - Class in com.google.android.exoplayer2
-
A representation of media currently available for playback.
- Timeline() - Constructor for class com.google.android.exoplayer2.Timeline
-
- Timeline.Period - Class in com.google.android.exoplayer2
-
Holds information about a period in a
Timeline
.
- Timeline.Window - Class in com.google.android.exoplayer2
-
Holds information about a window in a
Timeline
.
- timescale - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
The track timescale, defined as the number of time units that pass in one second.
- timescale - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- timeShiftBufferDepth - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- TimestampAdjuster - Class in com.google.android.exoplayer2.extractor
-
Offsets timestamps according to an initial sample timestamp offset.
- TimestampAdjuster(long) - Constructor for class com.google.android.exoplayer2.extractor.TimestampAdjuster
-
- TimestampAdjusterProvider - Class in com.google.android.exoplayer2.source.hls
-
- TimestampAdjusterProvider() - Constructor for class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
-
- timesUs - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
-
The start time of each chunk, in microseconds.
- timeUs - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
The time at which the sample should be presented.
- timeUs - Variable in class com.google.android.exoplayer2.decoder.OutputBuffer
-
The presentation timestamp for the buffer, in microseconds.
- toArray() - Method in class com.google.android.exoplayer2.util.LongArray
-
Copies the current values into a newly allocated primitive array.
- toArray(List<Integer>) - Static method in class com.google.android.exoplayer2.util.Util
-
Converts a list of integers to a primitive array.
- toByteArray(InputStream) - Static method in class com.google.android.exoplayer2.util.Util
-
Converts the entirety of an InputStream
to a byte array.
- toLowerInvariant(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Converts text to lower case using Locale.US
.
- toString() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
-
- toString() - Method in class com.google.android.exoplayer2.Format
-
- toString() - Method in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
-
- toString() - Method in class com.google.android.exoplayer2.upstream.DataSpec
-
- totalSamples - Variable in class com.google.android.exoplayer2.util.FlacStreamInfo
-
- touch() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
Renames the file underlying this cache span to update its last access time.
- TRACE_ENABLED - Static variable in interface com.google.android.exoplayer2.ExoPlayerLibraryInfo
-
Whether the library was compiled with
TraceUtil
trace enabled.
- TraceUtil - Class in com.google.android.exoplayer2.util
-
Calls through to Trace
methods on supported API levels.
- track(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
-
Called when the
Extractor
identifies the existence of a track in the stream.
- Track - Class in com.google.android.exoplayer2.extractor.mp4
-
Encapsulates information describing an MP4 track.
- Track(int, int, long, long, long, Format, int, TrackEncryptionBox[], int, long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.mp4.Track
-
- track(int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- Track.Transformation - Annotation Type in com.google.android.exoplayer2.extractor.mp4
-
The transformation to apply to samples in the track, if any.
- TRACK_TYPE_AUDIO - Static variable in class com.google.android.exoplayer2.C
-
A type constant for audio tracks.
- TRACK_TYPE_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
-
Applications or extensions may define custom TRACK_TYPE_*
constants greater than or
equal to this value.
- TRACK_TYPE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
-
A type constant for tracks of some default type, where the type itself is unknown.
- TRACK_TYPE_METADATA - Static variable in class com.google.android.exoplayer2.C
-
A type constant for metadata tracks.
- TRACK_TYPE_TEXT - Static variable in class com.google.android.exoplayer2.C
-
A type constant for text tracks.
- TRACK_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
-
A type constant for tracks of unknown type.
- TRACK_TYPE_VIDEO - Static variable in class com.google.android.exoplayer2.C
-
A type constant for video tracks.
- TrackEncryptionBox - Class in com.google.android.exoplayer2.extractor.mp4
-
Encapsulates information parsed from a track encryption (tenc) box or sample group description
(sgpd) box in an MP4 stream.
- TrackEncryptionBox(boolean, int, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
- trackFormat - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
The format of the track to which this chunk belongs, or null if the chunk does not belong to
a track.
- TrackGroup - Class in com.google.android.exoplayer2.source
-
- TrackGroup(Format...) - Constructor for class com.google.android.exoplayer2.source.TrackGroup
-
- TrackGroupArray - Class in com.google.android.exoplayer2.source
-
- TrackGroupArray(TrackGroup...) - Constructor for class com.google.android.exoplayer2.source.TrackGroupArray
-
- TrackOutput - Interface in com.google.android.exoplayer2.extractor
-
Receives track level data extracted by an
Extractor
.
- tracks - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- tracks - Variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.SelectionOverride
-
- TrackSelection - Interface in com.google.android.exoplayer2.trackselection
-
A track selection consisting of a static subset of selected tracks belonging to a
TrackGroup
, and a possibly varying individual selected track from the subset.
- TrackSelection.Factory - Interface in com.google.android.exoplayer2.trackselection
-
- trackSelectionData - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
Optional data associated with the selection of the track to which this chunk belongs.
- trackSelectionReason - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
One of the
C
SELECTION_REASON_*
constants if the chunk belongs to a track.
- TrackSelections<T> - Class in com.google.android.exoplayer2.trackselection
-
- TrackSelections(T, TrackSelection...) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelections
-
- TrackSelector<T> - Class in com.google.android.exoplayer2.trackselection
-
Selects tracks to be consumed by available renderers.
- TrackSelector(Handler) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelector
-
- TrackSelector.EventListener<T> - Interface in com.google.android.exoplayer2.trackselection
-
- TrackSelector.InvalidationListener - Interface in com.google.android.exoplayer2.trackselection
-
Notified when previous selections by a
TrackSelector
are no longer valid.
- TransferListener<S> - Interface in com.google.android.exoplayer2.upstream
-
A listener of data transfer events.
- TRANSFORMATION_CEA608_CDAT - Static variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
A transformation for caption samples in cdat atoms.
- TRANSFORMATION_NONE - Static variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
A no-op sample transformation.
- translateOffset(int) - Method in class com.google.android.exoplayer2.upstream.Allocation
-
Translates a zero-based offset into the allocation to the corresponding
Allocation.data
offset.
- trim() - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
Hints to the allocator that it should make a best effort to release any excess
Allocation
s.
- trim() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- TS_STREAM_TYPE_AAC - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_AC3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_DTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_E_AC3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_H262 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_H264 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_H265 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_HDMV_DTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_ID3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_MPA - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_MPA_LSF - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TsExtractor - Class in com.google.android.exoplayer2.extractor.ts
-
Facilitates the extraction of data from the MPEG-2 TS container format.
- TsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TsExtractor(TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TsExtractor(TimestampAdjuster, ElementaryStreamReader.Factory) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TtmlDecoder - Class in com.google.android.exoplayer2.text.ttml
-
- TtmlDecoder() - Constructor for class com.google.android.exoplayer2.text.ttml.TtmlDecoder
-
- Tx3gDecoder - Class in com.google.android.exoplayer2.text.tx3g
-
- Tx3gDecoder() - Constructor for class com.google.android.exoplayer2.text.tx3g.Tx3gDecoder
-
- TxxxFrame - Class in com.google.android.exoplayer2.metadata.id3
-
TXXX (User defined text information) ID3 frame.
- TxxxFrame(String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.TxxxFrame
-
- type - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
The type of the playback failure.
- type - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
- type - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
The type of the chunk.
- type - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
- type - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
-
- type - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- type - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
- type - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
The type of the data.
- TYPE_CLOSE - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
- TYPE_DASH - Static variable in class com.google.android.exoplayer2.C
-
- TYPE_HLS - Static variable in class com.google.android.exoplayer2.C
-
- TYPE_MASTER - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
-
- TYPE_MEDIA - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
-
- TYPE_OPEN - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
- TYPE_OTHER - Static variable in class com.google.android.exoplayer2.C
-
- TYPE_READ - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
- TYPE_RENDERER - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- TYPE_SOURCE - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- TYPE_SS - Static variable in class com.google.android.exoplayer2.C
-
- TYPE_UNEXPECTED - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
The error was an unexpected RuntimeException
.
- TYPE_UNSET - Static variable in class com.google.android.exoplayer2.text.Cue
-
An unset anchor or line type value.
- typeface - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
The preferred typeface.