diff --git a/docs/doc/reference/com/google/android/exoplayer2/ExoPlaybackException.html b/docs/doc/reference/com/google/android/exoplayer2/ExoPlaybackException.html
index 6dae3b33f8..3c606af547 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ExoPlaybackException.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ExoPlaybackException.html
@@ -626,6 +626,8 @@ public final Parameters:
cause
- The cause of the failure.
+rendererName
- The name of the renderer in which the
+ failure occurred.
rendererIndex
- The index of the renderer in which the failure occurred.
rendererFormat
- The Format
the renderer was using at the time of the exception,
or null if the renderer wasn't using a Format
.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/Timeline.Period.html b/docs/doc/reference/com/google/android/exoplayer2/Timeline.Period.html
index bd02191cd9..503dfda323 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/Timeline.Period.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/Timeline.Period.html
@@ -906,6 +906,7 @@ public Parameters:
adGroupIndex
- The ad group index.
+adIndexInAdGroup
- The index of the ad in the ad group.
Returns:
The state of the ad, or AdPlaybackState.AD_STATE_UNAVAILABLE
if not yet
known.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/Tracks.html b/docs/doc/reference/com/google/android/exoplayer2/Tracks.html
index e65143a121..2db48ceda1 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/Tracks.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/Tracks.html
@@ -454,6 +454,7 @@ implements Returns true if at least one track of type trackType
is supported
.
- Parameters:
+trackType
- The track type to query support for.
allowExceedsCapabilities
- Whether to consider the track as supported if it has a
supported MIME type
, but otherwise exceeds the advertised
capabilities of the device. For example, a video track for which there's a corresponding
diff --git a/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html b/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html
index e1dee9309f..541d4dee42 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/drm/OfflineLicenseHelper.html
@@ -394,6 +394,7 @@ public OfflineLicenseHelper(DataSource
instances.
optionalKeyRequestParameters
- An optional map of parameters to pass as the last argument
to MediaDrm.getKeyRequest(byte[], byte[], java.lang.String, int, java.util.HashMap<java.lang.String, java.lang.String>)
. May be null.
eventDispatcher
- A DrmSessionEventListener.EventDispatcher
used to distribute
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/av1/Libgav1VideoRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/ext/av1/Libgav1VideoRenderer.html
index d9fa897bc3..aa1806f764 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/av1/Libgav1VideoRenderer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/av1/Libgav1VideoRenderer.html
@@ -574,6 +574,8 @@ extends Overrides:
canReuseDecoder
in class DecoderVideoRenderer
+- Parameters:
+decoderName
- The name of the decoder.
oldFormat
- The previous format.
newFormat
- The new format.
- Returns:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/vp9/LibvpxVideoRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/ext/vp9/LibvpxVideoRenderer.html
index 2224ed4ea6..a5736a8fef 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/ext/vp9/LibvpxVideoRenderer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/ext/vp9/LibvpxVideoRenderer.html
@@ -554,6 +554,8 @@ extends Overrides:
canReuseDecoder
in class DecoderVideoRenderer
+- Parameters:
+decoderName
- The name of the decoder.
oldFormat
- The previous format.
newFormat
- The new format.
- Returns:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/extractor/FlacFrameReader.html b/docs/doc/reference/com/google/android/exoplayer2/extractor/FlacFrameReader.html
index f26e6f978c..89ad673cee 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/extractor/FlacFrameReader.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/extractor/FlacFrameReader.html
@@ -313,6 +313,7 @@ extends
- Parameters:
input
- Input stream to get the sample number from (starting from the read position).
+flacStreamMetadata
- The FLAC metadata of the stream.
- Returns:
- The frame first sample number.
- Throws:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.html
index ad373c0f86..22f4c7d5ef 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.html
@@ -763,6 +763,7 @@ extends Parameters:
trackType
- The track type
that the renderer handles.
+codecAdapterFactory
- A factory for MediaCodecAdapter
instances.
mediaCodecSelector
- A decoder selector.
enableDecoderFallback
- Whether to enable fallback to lower-priority decoders if decoder
initialization fails. This may result in using a decoder that is less efficient or slower
diff --git a/docs/doc/reference/com/google/android/exoplayer2/offline/SegmentDownloader.html b/docs/doc/reference/com/google/android/exoplayer2/offline/SegmentDownloader.html
index d3743056dc..cc7efbb0b4 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/offline/SegmentDownloader.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/offline/SegmentDownloader.html
@@ -489,6 +489,7 @@ public SegmentDownloader(Loads and parses a manifest.
- Parameters:
+dataSource
- The source to use when loading the manifest.
dataSpec
- The manifest DataSpec
.
removing
- Whether the manifest is being loaded as part of the download being removed.
- Returns:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashChunkSource.Factory.html b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashChunkSource.Factory.html
index 80be9d8511..0494dbbbef 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashChunkSource.Factory.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashChunkSource.Factory.html
@@ -221,6 +221,8 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
if unknown.
enableEventMessageTrack
- Whether to output an event message track.
closedCaptionFormats
- The Formats
of closed caption tracks to be output.
+playerEmsgHandler
- The track output to write emsg messages to, or null if emsgs
+ shouldn't be written.
transferListener
- The transfer listener which should be informed of any data transfers.
May be null if no listener is available.
playerId
- The PlayerId
of the player using this chunk source.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashChunkSource.html b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashChunkSource.html
index a9654c7aad..ecc922664d 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashChunkSource.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DashChunkSource.html
@@ -180,7 +180,7 @@ extends
void |
updateManifest(DashManifest newManifest,
- int periodIndex) |
+ int newPeriodIndex)
Updates the manifest.
|
@@ -223,11 +223,12 @@ extends
updateManifest
void updateManifest(DashManifest newManifest,
- int periodIndex)
+ int newPeriodIndex)
Updates the manifest.
- Parameters:
newManifest
- The new manifest.
+newPeriodIndex
- The index of the period covered by newManifest
.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.Factory.html b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.Factory.html
index ea091376bb..39c720b8e7 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.Factory.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.Factory.html
@@ -331,6 +331,8 @@ implements Formats
of closed caption tracks to be output.
+playerEmsgHandler
- The track output to write emsg messages to, or null if emsgs
+ shouldn't be written.
transferListener
- The transfer listener which should be informed of any data transfers.
May be null if no listener is available.
playerId
- The PlayerId
of the player using this chunk source.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.html b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.html
index 2c2e0700af..e497619349 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.html
@@ -499,6 +499,7 @@ implements updateManifest in interface DashChunkSource
- Parameters:
newManifest
- The new manifest.
+newPeriodIndex
- The index of the period covered by newManifest
.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/hls/HlsMediaPeriod.html b/docs/doc/reference/com/google/android/exoplayer2/source/hls/HlsMediaPeriod.html
index 9f62b21988..6ec72c45f5 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/source/hls/HlsMediaPeriod.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/source/hls/HlsMediaPeriod.html
@@ -393,12 +393,16 @@ implements DrmSessionManager
to acquire DrmSessions
with.
+drmEventDispatcher
- A DrmSessionEventListener.EventDispatcher
used to distribute
+ DRM-related events.
loadErrorHandlingPolicy
- A LoadErrorHandlingPolicy
.
eventDispatcher
- A dispatcher to notify of events.
allocator
- An Allocator
from which to obtain media buffer allocations.
compositeSequenceableLoaderFactory
- A factory to create composite SequenceableLoader
s for when this media source loads data from multiple streams.
allowChunklessPreparation
- Whether chunkless preparation is allowed.
+metadataType
- The type of metadata to extract from the period.
useSessionKeys
- Whether to use #EXT-X-SESSION-KEY tags.
+playerId
- The ID of the current player.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/HlsMediaPlaylist.html b/docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/HlsMediaPlaylist.html
index 4ab12d8809..488f485b69 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/HlsMediaPlaylist.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/HlsMediaPlaylist.html
@@ -419,7 +419,9 @@ extends List<HlsMediaPlaylist.Part> trailingParts,
HlsMediaPlaylist.ServerControl serverControl,
Map<Uri,HlsMediaPlaylist.RenditionReport> renditionReports)
- |
+
+ Constructs an instance.
+ |
@@ -776,18 +778,21 @@ public final List<HlsMediaPlaylist.Part> trailingParts,
HlsMediaPlaylist.ServerControl serverControl,
Map<Uri,HlsMediaPlaylist.RenditionReport> renditionReports)
+Constructs an instance.
- Parameters:
playlistType
- See playlistType
.
baseUri
- See HlsPlaylist.baseUri
.
tags
- See HlsPlaylist.tags
.
startOffsetUs
- See startOffsetUs
.
+preciseStart
- See preciseStart
.
startTimeUs
- See startTimeUs
.
hasDiscontinuitySequence
- See hasDiscontinuitySequence
.
discontinuitySequence
- See discontinuitySequence
.
mediaSequence
- See mediaSequence
.
version
- See version
.
targetDurationUs
- See targetDurationUs
.
+partTargetDurationUs
- See partTargetDurationUs
.
hasIndependentSegments
- See HlsPlaylist.hasIndependentSegments
.
hasEndTag
- See hasEndTag
.
hasProgramDateTime
- See hasProgramDateTime
.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/Action.ExecuteRunnable.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/Action.ExecuteRunnable.html
index f242a42b56..55e4ddb6f1 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/Action.ExecuteRunnable.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/Action.ExecuteRunnable.html
@@ -180,7 +180,9 @@ extends
ExecuteRunnable(String tag,
Runnable runnable) |
- |
+
+ Constructs an instance.
+ |
@@ -243,9 +245,11 @@ extends String tag,
Runnable runnable)
+Constructs an instance.
- Parameters:
tag
- A tag to use for logging.
+runnable
- The runnable to run.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/ActionSchedule.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/ActionSchedule.Builder.html
index f77791b492..a076a00474 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/ActionSchedule.Builder.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/ActionSchedule.Builder.html
@@ -380,7 +380,7 @@ extends setMediaSources(boolean resetPosition,
MediaSource... sources)
- Schedules a set media items action to be executed.
+Schedules a set media sources action to be executed.
|
@@ -389,7 +389,7 @@ extends MediaSource... sources)
- Schedules a set media items action to be executed.
+Schedules a set media source actions to be executed.
|
@@ -908,7 +908,7 @@ public ActionSchedule.Builder setMediaSources(int mediaItemIndex,
long positionMs,
MediaSource... sources)
-Schedules a set media items action to be executed.
+Schedules a set media source actions to be executed.
- Parameters:
mediaItemIndex
- The media item index to start playback from or C.INDEX_UNSET
if
@@ -916,6 +916,7 @@ public C.TIME_UNSET
is passed the default position is used. In any case, if
mediaItemIndex
is set to C.INDEX_UNSET
the position is not reset at all and this
parameter is ignored.
+sources
- The media sources to be set on the player.
- Returns:
- The builder, for convenience.
@@ -930,10 +931,11 @@ public @CanIgnoreReturnValue
public ActionSchedule.Builder setMediaSources(boolean resetPosition,
MediaSource... sources)
-Schedules a set media items action to be executed.
+Schedules a set media sources action to be executed.
- Parameters:
resetPosition
- Whether the playback position should be reset.
+sources
- The media sources to be set on the player.
- Returns:
- The builder, for convenience.
@@ -1118,6 +1120,7 @@ public Schedules sending a PlayerMessage
.
- Parameters:
+target
- A message target.
positionMs
- The position in the current media item at which the message should be sent,
in milliseconds.
- Returns:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExtractorAsserts.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExtractorAsserts.html
index cd01c3904a..8f0e13d7dd 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/ExtractorAsserts.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/ExtractorAsserts.html
@@ -432,6 +432,9 @@ extends The output of the extractor is compared against prerecorded dump files.
- Parameters:
+factory
- An ExtractorAsserts.ExtractorFactory
which creates instances of the Extractor
+ class which is to be tested.
+file
- The input file to pass to the extractor.
assertionConfig
- Details of how to read and process the source and dump files.
simulationConfig
- Details on the environment to simulate and behaviours to assert.
- Throws:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeAdaptiveMediaSource.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeAdaptiveMediaSource.html
index 5830c66b91..936f0dfd09 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeAdaptiveMediaSource.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeAdaptiveMediaSource.html
@@ -336,6 +336,7 @@ extends Allocator
from which to obtain media buffer allocations.
mediaSourceEventDispatcher
- An MediaSourceEventListener.EventDispatcher
to
dispatch media source events.
+drmSessionManager
- A DrmSessionManager
to allow DRM interactions.
drmEventDispatcher
- An MediaSourceEventListener.EventDispatcher
to dispatch DRM
events.
transferListener
- The transfer listener which should be informed of any data transfers.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaPeriod.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaPeriod.html
index 2babb41f74..c36805f7a9 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaPeriod.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaPeriod.html
@@ -885,6 +885,7 @@ implements Creates a new FakeSampleStream
.
- Parameters:
+allocator
- An Allocator
from which to obtain media buffer allocations.
mediaSourceEventDispatcher
- A MediaSourceEventListener.EventDispatcher
to notify
of media events.
drmSessionManager
- A DrmSessionManager
for DRM interactions.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSource.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSource.html
index 013fca63cd..bcaeea8a58 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSource.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeMediaSource.html
@@ -845,6 +845,7 @@ protected Allocator
from which to obtain media buffer allocations.
mediaSourceEventDispatcher
- An MediaSourceEventListener.EventDispatcher
to
dispatch media source events.
+drmSessionManager
- A DrmSessionManager
to allow DRM interactions.
drmEventDispatcher
- An MediaSourceEventListener.EventDispatcher
to dispatch DRM
events.
transferListener
- The transfer listener which should be informed of any data transfers.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTimeline.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTimeline.html
index d1cbfa2ad4..8e09f5617a 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTimeline.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTimeline.html
@@ -497,6 +497,7 @@ extends Creates a fake timeline with the given window definitions.
- Parameters:
+manifests
- The manifests of the windows.
windowDefinitions
- A list of FakeTimeline.TimelineWindowDefinition
s.
@@ -513,6 +514,8 @@ extends Creates a fake timeline with the given window definitions and ShuffleOrder
.
- Parameters:
+manifests
- The manifests of the windows.
+shuffleOrder
- A shuffle ordering for the windows.
windowDefinitions
- A list of FakeTimeline.TimelineWindowDefinition
s.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTrackSelector.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTrackSelector.html
index b398b1e97d..25a5f613ec 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTrackSelector.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/FakeTrackSelector.html
@@ -363,6 +363,7 @@ extends RendererCapabilities.AdaptiveSupport
for mixed MIME type
adaptation for the renderer.
+params
- The parameters to use for the track selection.
- Returns:
- The
ExoTrackSelection.Definition
s for the renderers. A null entry indicates no
selection was made.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/MediaSourceTestRunner.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/MediaSourceTestRunner.html
index 6ebc37973e..ce4015e8e9 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/MediaSourceTestRunner.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/MediaSourceTestRunner.html
@@ -442,6 +442,7 @@ extends
- Parameters:
periodId
- The id of the period to create.
+startPositionUs
- The expected start position, in microseconds.
- Returns:
- The created
MediaPeriod
.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/testutil/TimelineAsserts.html b/docs/doc/reference/com/google/android/exoplayer2/testutil/TimelineAsserts.html
index 58767ef775..69e0558110 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/testutil/TimelineAsserts.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/testutil/TimelineAsserts.html
@@ -313,6 +313,7 @@ extends Asserts that window tags are set correctly.
- Parameters:
+timeline
- The timeline to read actual window tags from.
expectedWindowTags
- A list of expected window tags. If a tag is unknown or not important
null
can be passed to skip this window.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.html b/docs/doc/reference/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.html
index a50ee86742..263bff5b65 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.html
@@ -628,7 +628,9 @@ extends Each class and voice match adds 4 to the score.
- Tag matching adds 2 to the score.
- Universal selector matching scores 1.
-
+
+
+
See also CSS Cascading.
- Parameters:
id
- The id of the cue if present, null
otherwise.
@@ -637,8 +639,6 @@ extends voice
- Annotated voice if present, null
otherwise.
- Returns:
- The score of the match, zero if there is no match.
-- See Also:
-- CSS Cascading
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html
index 356496649b..a91e29100d 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.html
@@ -879,6 +879,7 @@ public void setParameters(RendererCapabilities.AdaptiveSupport
for mixed MIME type
adaptation for the renderer.
+params
- The parameters to use for the track selection.
- Returns:
- The
ExoTrackSelection.Definition
s for the renderers. A null entry indicates no
selection was made.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/MappingTrackSelector.MappedTrackInfo.html b/docs/doc/reference/com/google/android/exoplayer2/trackselection/MappingTrackSelector.MappedTrackInfo.html
index e5c11b3610..69e3355c30 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/MappingTrackSelector.MappedTrackInfo.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/trackselection/MappingTrackSelector.MappedTrackInfo.html
@@ -593,6 +593,7 @@ public @com.google.android.exoplayer2.C.FormatSupport int getTrackSupp
- Parameters:
rendererIndex
- The renderer index.
groupIndex
- The index of the track group.
+trackIndices
- The indices of the tracks in the track group for which to query support.
- Returns:
- The
RendererCapabilities.AdaptiveSupport
.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/trackselection/RandomTrackSelection.html b/docs/doc/reference/com/google/android/exoplayer2/trackselection/RandomTrackSelection.html
index 7ab48fe986..40cb8da07e 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/trackselection/RandomTrackSelection.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/trackselection/RandomTrackSelection.html
@@ -224,11 +224,13 @@ extends Description
-RandomTrackSelection(TrackGroup group,
+RandomTrackSelection(TrackGroup group,
int[] tracks,
- int type,
+ @com.google.android.exoplayer2.trackselection.TrackSelection.Type int type,
Random random) |
- |
+
+ Creates a new instance.
+ |
|
@@ -318,7 +320,7 @@ extends
+
@@ -326,13 +328,15 @@ extends TrackGroup group,
int[] tracks,
- int type,
+ @com.google.android.exoplayer2.trackselection.TrackSelection.Type int type,
Random random)
+Creates a new instance.
- Parameters:
group
- The TrackGroup
. Must not be null.
tracks
- The indices of the selected tracks within the TrackGroup
. Must not be
null or empty. May be in any order.
+type
- The TrackSelection.Type
of this track selection.
random
- A source of random numbers.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSourceUtil.html b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSourceUtil.html
index bddbd3d979..4e5c16b63a 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSourceUtil.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/upstream/DataSourceUtil.html
@@ -234,6 +234,7 @@ extends
- Parameters:
dataSource
- The source from which to read.
+length
- The number of bytes to read.
- Returns:
- The read data.
- Throws:
diff --git a/docs/doc/reference/com/google/android/exoplayer2/upstream/DefaultDataSource.html b/docs/doc/reference/com/google/android/exoplayer2/upstream/DefaultDataSource.html
index bc4f0bb6a1..b5d232c50f 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/upstream/DefaultDataSource.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/upstream/DefaultDataSource.html
@@ -336,6 +336,7 @@ implements Parameters:
context
- A context.
+allowCrossProtocolRedirects
- Whether to allow cross-protocol redirects.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/util/Util.html b/docs/doc/reference/com/google/android/exoplayer2/util/Util.html
index 9d9a658c66..9b21be443f 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/util/Util.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/util/Util.html
@@ -2695,6 +2695,7 @@ public static long maxValue(Parameters:
mediaDuration
- The duration to scale.
+speed
- The factor by which playback is sped up.
Returns:
The scaled duration, in the same units as mediaDuration
.
diff --git a/docs/doc/reference/com/google/android/exoplayer2/video/DecoderVideoRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/video/DecoderVideoRenderer.html
index 0d98bae993..1c5c7bffd2 100644
--- a/docs/doc/reference/com/google/android/exoplayer2/video/DecoderVideoRenderer.html
+++ b/docs/doc/reference/com/google/android/exoplayer2/video/DecoderVideoRenderer.html
@@ -1123,6 +1123,7 @@ protected void onProcessedOutputBuffer(long presentationTi
The default implementation does not allow decoder reuse.
- Parameters:
+decoderName
- The name of the decoder.
oldFormat
- The previous format.
newFormat
- The new format.
- Returns:
diff --git a/docs/doc/reference/constant-values.html b/docs/doc/reference/constant-values.html
index ba13db6f7d..37a24ce191 100644
--- a/docs/doc/reference/constant-values.html
+++ b/docs/doc/reference/constant-values.html
@@ -1946,21 +1946,21 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
public static final String
VERSION |
-"2.18.4" |
+"2.18.5" |
public static final int |
VERSION_INT |
-2018004 |
+2018005 |
public static final String |
VERSION_SLASHY |
-"ExoPlayerLib/2.18.4" |
+"ExoPlayerLib/2.18.5" |
diff --git a/docs/doc/reference/index-all.html b/docs/doc/reference/index-all.html
index 68e463a374..77eb53cdda 100644
--- a/docs/doc/reference/index-all.html
+++ b/docs/doc/reference/index-all.html
@@ -12169,7 +12169,9 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
ExecuteRunnable(String, Runnable) - Constructor for class com.google.android.exoplayer2.testutil.Action.ExecuteRunnable
-
+
+Constructs an instance.
+
exists() - Method in class com.google.android.exoplayer2.util.AtomicFile
Returns whether the file or its backup exists.
@@ -20982,7 +20984,9 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
Represents an HLS media playlist.
HlsMediaPlaylist(@com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.PlaylistType int, String, List<String>, long, boolean, long, boolean, int, long, int, long, long, boolean, boolean, boolean, DrmInitData, List<HlsMediaPlaylist.Segment>, List<HlsMediaPlaylist.Part>, HlsMediaPlaylist.ServerControl, Map<Uri, HlsMediaPlaylist.RenditionReport>) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
+
+Constructs an instance.
+
HlsMediaPlaylist.Part - Class in com.google.android.exoplayer2.source.hls.playlist
A media part.
@@ -31046,8 +31050,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
-RandomTrackSelection(TrackGroup, int[], int, Random) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
+RandomTrackSelection(TrackGroup, int[], @com.google.android.exoplayer2.trackselection.TrackSelection.Type int, Random) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
+
+Creates a new instance.
+
RandomTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
@@ -37448,11 +37454,11 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
setMediaSources(boolean, MediaSource...) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-Schedules a set media items action to be executed.
+Schedules a set media sources action to be executed.
setMediaSources(int, long, MediaSource...) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-Schedules a set media items action to be executed.
+Schedules a set media source actions to be executed.
setMediaSources(MediaSource...) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
diff --git a/docs/doc/reference/member-search-index.js b/docs/doc/reference/member-search-index.js
index ca3effc492..4351561937 100644
--- a/docs/doc/reference/member-search-index.js
+++ b/docs/doc/reference/member-search-index.js
@@ -44267,9 +44267,10 @@ memberSearchIndex =
{
'p': 'com.google.android.exoplayer2.trackselection',
'c': 'RandomTrackSelection',
- 'l': 'RandomTrackSelection(TrackGroup, int[], int, Random)',
+ 'l':
+ 'RandomTrackSelection(TrackGroup, int[], @com.google.android.exoplayer2.trackselection.TrackSelection.Type int, Random)',
'url':
- '%3Cinit%3E(com.google.android.exoplayer2.source.TrackGroup,int[],int,java.util.Random)'
+ '%3Cinit%3E(com.google.android.exoplayer2.source.TrackGroup,int[],@com.google.android.exoplayer2.trackselection.TrackSelection.Typeint,java.util.Random)'
},
{
'p': 'com.google.android.exoplayer2.source.dash.manifest',
diff --git a/docs/doc/reference/member-search-index.zip b/docs/doc/reference/member-search-index.zip
index 326387919b..a2ca3c669a 100644
Binary files a/docs/doc/reference/member-search-index.zip and b/docs/doc/reference/member-search-index.zip differ
diff --git a/docs/doc/reference/package-search-index.zip b/docs/doc/reference/package-search-index.zip
index 03d313fec0..6bba74cf92 100644
Binary files a/docs/doc/reference/package-search-index.zip and b/docs/doc/reference/package-search-index.zip differ
diff --git a/docs/doc/reference/type-search-index.zip b/docs/doc/reference/type-search-index.zip
index 0f1b4e2bf8..4c621f88a0 100644
Binary files a/docs/doc/reference/type-search-index.zip and b/docs/doc/reference/type-search-index.zip differ