From a5571010d0c1ae74408182fd96aa536a28064ec4 Mon Sep 17 00:00:00 2001 From: ibaker Date: Wed, 23 Feb 2022 14:28:16 +0000 Subject: [PATCH] Update javadoc for 2.17.0 #minor-release PiperOrigin-RevId: 430437927 --- docs/doc/reference/allclasses-index.html | 2500 +++++----- docs/doc/reference/allclasses.html | 62 +- docs/doc/reference/allpackages-index.html | 80 +- .../google/android/exoplayer2/BasePlayer.html | 125 +- .../android/exoplayer2/BaseRenderer.html | 146 +- .../exoplayer2/BundleListRetriever.html | 4 +- .../google/android/exoplayer2/Bundleable.html | 2 +- .../android/exoplayer2/C.BufferFlags.html | 1 + .../android/exoplayer2/C.ColorRange.html | 1 + .../android/exoplayer2/C.ColorSpace.html | 1 + .../android/exoplayer2/C.ColorTransfer.html | 1 + .../android/exoplayer2/C.ContentType.html | 1 + .../android/exoplayer2/C.CryptoMode.html | 1 + .../google/android/exoplayer2/C.DataType.html | 1 + .../google/android/exoplayer2/C.Encoding.html | 1 + .../android/exoplayer2/C.FormatSupport.html | 1 + .../android/exoplayer2/C.NetworkType.html | 1 + .../android/exoplayer2/C.PcmEncoding.html | 1 + .../android/exoplayer2/C.Projection.html | 1 + .../android/exoplayer2/C.SelectionReason.html | 1 + ...ain.html => C.SpatializationBehavior.html} | 11 +- .../android/exoplayer2/C.StereoMode.html | 1 + .../android/exoplayer2/C.StreamType.html | 1 + .../C.VideoChangeFrameRateStrategy.html | 1 + .../android/exoplayer2/C.VideoOutputMode.html | 1 + .../exoplayer2/C.VideoScalingMode.html | 1 + .../com/google/android/exoplayer2/C.html | 600 +-- ...enderersFactory.ExtensionRendererMode.html | 1 + .../exoplayer2/DefaultRenderersFactory.html | 115 +- .../exoplayer2/ExoPlaybackException.Type.html | 1 + .../exoplayer2/ExoPlaybackException.html | 18 +- .../android/exoplayer2/ExoPlayer.Builder.html | 82 +- .../exoplayer2/ExoPlayer.VideoComponent.html | 28 +- .../google/android/exoplayer2/ExoPlayer.html | 232 +- .../ExoTimeoutException.TimeoutOperation.html | 1 + .../exoplayer2/ExoTimeoutException.html | 10 +- .../android/exoplayer2/Format.Builder.html | 14 +- .../com/google/android/exoplayer2/Format.html | 22 +- .../android/exoplayer2/ForwardingPlayer.html | 820 +--- .../MediaItem.DrmConfiguration.html | 16 +- .../MediaItem.LocalConfiguration.html | 4 +- .../exoplayer2/MediaItem.Subtitle.html | 2 +- ...diaItem.SubtitleConfiguration.Builder.html | 30 +- .../MediaItem.SubtitleConfiguration.html | 31 +- .../android/exoplayer2/MetadataRetriever.html | 20 +- .../android/exoplayer2/NoSampleRenderer.html | 88 +- .../android/exoplayer2/ParserException.html | 9 +- .../PlaybackException.FieldNumber.html | 3 +- .../android/exoplayer2/PlaybackException.html | 9 +- .../exoplayer2/Player.EventListener.html | 1028 ---- .../android/exoplayer2/Player.Listener.html | 580 ++- .../com/google/android/exoplayer2/Player.html | 324 +- .../exoplayer2/PlayerMessage.Target.html | 7 +- .../android/exoplayer2/PlayerMessage.html | 16 +- .../exoplayer2/Renderer.MessageType.html | 1 + .../android/exoplayer2/Renderer.State.html | 1 + .../google/android/exoplayer2/Renderer.html | 118 +- .../RendererCapabilities.AdaptiveSupport.html | 1 + .../RendererCapabilities.Capabilities.html | 10 +- ... RendererCapabilities.DecoderSupport.html} | 16 +- .../RendererCapabilities.FormatSupport.html | 1 + ...abilities.HardwareAccelerationSupport.html | 188 + ...RendererCapabilities.TunnelingSupport.html | 1 + .../exoplayer2/RendererCapabilities.html | 326 +- .../exoplayer2/SimpleExoPlayer.Builder.html | 66 +- .../android/exoplayer2/SimpleExoPlayer.html | 419 +- .../android/exoplayer2/Timeline.Period.html | 56 +- .../Timeline.RemotableTimeline.html | 8 +- .../google/android/exoplayer2/Timeline.html | 4 +- .../exoplayer2/TracksInfo.TrackGroupInfo.html | 121 +- .../google/android/exoplayer2/TracksInfo.html | 67 +- .../analytics/AnalyticsCollector.html | 1787 +------ .../AnalyticsListener.EventFlags.html | 1 + .../analytics/AnalyticsListener.Events.html | 22 +- .../analytics/AnalyticsListener.html | 640 ++- .../analytics/DefaultAnalyticsCollector.html | 2612 ++++++++++ .../DefaultPlaybackSessionManager.html | 8 +- .../analytics/MediaMetricsListener.html | 721 +++ .../PlaybackSessionManager.Listener.html | 2 +- .../analytics/PlaybackStatsListener.html | 4 +- .../PlayerId.html} | 115 +- .../exoplayer2/analytics/package-summary.html | 46 +- .../exoplayer2/analytics/package-tree.html | 24 +- .../audio/AacUtil.AacAudioObjectType.html | 1 + .../Ac3Util.SyncFrameInfo.StreamType.html | 1 + .../audio/Ac3Util.SyncFrameInfo.html | 5 +- .../audio/AudioAttributes.Builder.html | 46 +- .../exoplayer2/audio/AudioAttributes.html | 46 +- .../exoplayer2/audio/AudioCapabilities.html | 7 +- .../audio/AudioProcessor.AudioFormat.html | 14 +- .../exoplayer2/audio/AudioProcessor.html | 15 +- .../audio/AudioRendererEventListener.html | 6 +- .../audio/AudioSink.SinkFormatSupport.html | 1 + .../android/exoplayer2/audio/AudioSink.html | 91 +- .../audio/DecoderAudioRenderer.html | 38 +- .../audio/DefaultAudioSink.Builder.html | 462 ++ .../audio/DefaultAudioSink.OffloadMode.html | 1 + .../DefaultAudioSink.OutputMode.html} | 13 +- .../exoplayer2/audio/DefaultAudioSink.html | 261 +- ...AudioTrackBufferSizeProvider.Builder.html} | 209 +- .../DefaultAudioTrackBufferSizeProvider.html | 601 +++ .../exoplayer2/audio/ForwardingAudioSink.html | 95 +- .../audio/MediaCodecAudioRenderer.html | 46 +- .../audio/SilenceSkippingAudioProcessor.html | 15 +- .../exoplayer2/audio/SonicAudioProcessor.html | 15 +- .../TeeAudioProcessor.AudioBufferSink.html | 9 +- ...AudioProcessor.WavFileAudioBufferSink.html | 13 +- .../exoplayer2/audio/TeeAudioProcessor.html | 15 +- .../android/exoplayer2/audio/WavUtil.html | 14 +- .../exoplayer2/audio/package-summary.html | 44 +- .../exoplayer2/audio/package-tree.html | 4 + .../exoplayer2/database/VersionTable.html | 31 +- .../android/exoplayer2/decoder/Buffer.html | 28 +- .../exoplayer2/decoder/CryptoInfo.html | 14 +- .../exoplayer2/decoder/DecoderCounters.html | 96 +- ...oderInputBuffer.BufferReplacementMode.html | 1 + .../decoder/DecoderInputBuffer.html | 16 +- .../decoder/DecoderOutputBuffer.html | 2 +- ...ReuseEvaluation.DecoderDiscardReasons.html | 1 + ...derReuseEvaluation.DecoderReuseResult.html | 1 + .../decoder/DecoderReuseEvaluation.html | 24 +- .../decoder/SimpleDecoderOutputBuffer.html | 2 +- .../decoder/VideoDecoderOutputBuffer.html | 16 +- ...ionManager.MissingSchemeDataException.html | 2 +- .../drm/DefaultDrmSessionManager.Mode.html | 1 + .../drm/DefaultDrmSessionManager.html | 85 +- .../exoplayer2/drm/DrmSession.State.html | 1 + .../android/exoplayer2/drm/DrmSession.html | 4 +- ...mSessionEventListener.EventDispatcher.html | 10 +- .../drm/DrmSessionEventListener.html | 18 +- .../exoplayer2/drm/DrmSessionManager.html | 59 +- .../exoplayer2/drm/DrmUtil.ErrorSource.html | 1 + .../android/exoplayer2/drm/DrmUtil.html | 8 +- .../exoplayer2/drm/DummyExoMediaDrm.html | 7 + .../ExoMediaDrm.KeyRequest.RequestType.html | 1 + .../drm/ExoMediaDrm.KeyRequest.html | 14 +- .../android/exoplayer2/drm/ExoMediaDrm.html | 32 +- .../exoplayer2/drm/FrameworkMediaDrm.html | 31 +- .../drm/UnsupportedDrmException.Reason.html | 2 +- .../drm/UnsupportedDrmException.html | 16 +- .../exoplayer2/drm/package-summary.html | 2 +- .../exoplayer2/ext/av1/Gav1Decoder.html | 7 +- .../ext/av1/Libgav1VideoRenderer.html | 24 +- .../exoplayer2/ext/cast/CastPlayer.html | 223 +- .../ext/cronet/CronetDataSource.Factory.html | 10 +- .../CronetDataSource.OpenException.html | 2 +- .../ext/cronet/CronetDataSource.html | 205 +- .../ext/ffmpeg/FfmpegAudioRenderer.html | 17 +- .../ext/flac/FlacExtractor.Flags.html | 1 + .../ext/flac/LibflacAudioRenderer.html | 12 +- .../ext/ima/ImaAdsLoader.Builder.html | 2 +- .../exoplayer2/ext/ima/ImaAdsLoader.html | 196 +- ...nsertionMediaSource.AdsLoader.Builder.html | 441 ++ ...dInsertionMediaSource.AdsLoader.State.html | 379 ++ ...SideAdInsertionMediaSource.AdsLoader.html} | 138 +- ...verSideAdInsertionMediaSource.Factory.html | 437 ++ .../ImaServerSideAdInsertionMediaSource.html | 516 ++ .../ImaServerSideAdInsertionUriBuilder.html | 682 +++ .../exoplayer2/ext/ima/package-summary.html | 36 + .../exoplayer2/ext/ima/package-tree.html | 16 +- .../ext/media2/SessionPlayerConnector.html | 74 +- .../mediasession/MediaSessionConnector.html | 67 +- .../RepeatModeActionProvider.html | 12 +- .../ext/okhttp/OkHttpDataSource.Factory.html | 10 +- .../ext/okhttp/OkHttpDataSource.html | 4 +- .../ext/opus/LibopusAudioRenderer.html | 12 +- .../ext/vp9/LibvpxVideoRenderer.html | 24 +- .../exoplayer2/ext/vp9/VpxDecoder.html | 7 +- .../extractor/DefaultExtractorsFactory.html | 81 +- .../extractor/DummyTrackOutput.html | 39 +- .../extractor/Extractor.ReadResult.html | 1 + .../exoplayer2/extractor/Extractor.html | 9 +- .../extractor/TrackOutput.CryptoData.html | 12 +- .../extractor/TrackOutput.SampleDataPart.html | 1 + .../exoplayer2/extractor/TrackOutput.html | 35 +- .../extractor/TrueHdSampleRechunker.html | 9 +- .../exoplayer2/extractor/VorbisUtil.html | 37 +- .../extractor/amr/AmrExtractor.Flags.html | 1 + .../extractor/amr/AmrExtractor.html | 7 +- .../extractor/flac/FlacExtractor.Flags.html | 1 + .../extractor/flac/FlacExtractor.html | 9 +- .../extractor/jpeg/JpegExtractor.html | 9 +- .../mkv/EbmlProcessor.ElementType.html | 1 + .../extractor/mkv/EbmlProcessor.html | 5 +- .../mkv/MatroskaExtractor.Flags.html | 1 + .../mkv/MatroskaExtractor.Track.html | 1070 +++++ .../extractor/mkv/MatroskaExtractor.html | 83 +- .../extractor/mkv/package-summary.html | 6 + .../extractor/mkv/package-tree.html | 1 + .../extractor/mp3/Mp3Extractor.Flags.html | 1 + .../extractor/mp3/Mp3Extractor.html | 14 +- .../mp4/FragmentedMp4Extractor.Flags.html | 1 + .../extractor/mp4/FragmentedMp4Extractor.html | 35 +- .../extractor/mp4/Mp4Extractor.Flags.html | 1 + .../extractor/mp4/Mp4Extractor.html | 7 +- .../extractor/mp4/Track.Transformation.html | 1 + .../exoplayer2/extractor/mp4/Track.html | 14 +- .../exoplayer2/extractor/ts/Ac3Reader.html | 13 +- .../exoplayer2/extractor/ts/Ac4Reader.html | 13 +- .../extractor/ts/AdtsExtractor.Flags.html | 1 + .../extractor/ts/AdtsExtractor.html | 7 +- .../exoplayer2/extractor/ts/AdtsReader.html | 13 +- .../DefaultTsPayloadReaderFactory.Flags.html | 1 + .../ts/DefaultTsPayloadReaderFactory.html | 18 +- .../exoplayer2/extractor/ts/DtsReader.html | 13 +- .../extractor/ts/DvbSubtitleReader.html | 13 +- .../extractor/ts/ElementaryStreamReader.html | 9 +- .../exoplayer2/extractor/ts/H262Reader.html | 13 +- .../exoplayer2/extractor/ts/H263Reader.html | 13 +- .../exoplayer2/extractor/ts/H264Reader.html | 13 +- .../exoplayer2/extractor/ts/H265Reader.html | 13 +- .../exoplayer2/extractor/ts/Id3Reader.html | 13 +- .../exoplayer2/extractor/ts/LatmReader.html | 13 +- .../extractor/ts/MpegAudioReader.html | 13 +- .../exoplayer2/extractor/ts/PesReader.html | 15 +- .../extractor/ts/SectionReader.html | 15 +- .../extractor/ts/TsExtractor.Mode.html | 1 + .../exoplayer2/extractor/ts/TsExtractor.html | 42 +- .../extractor/ts/TsPayloadReader.Flags.html | 1 + .../extractor/ts/TsPayloadReader.html | 11 +- .../extractor/wav/WavExtractor.html | 9 +- .../MediaCodecAdapter.Configuration.html | 99 +- .../mediacodec/MediaCodecAdapter.html | 49 +- .../exoplayer2/mediacodec/MediaCodecInfo.html | 38 +- .../mediacodec/MediaCodecRenderer.html | 69 +- .../exoplayer2/mediacodec/MediaCodecUtil.html | 67 +- .../SynchronousMediaCodecAdapter.html | 90 +- .../exoplayer2/metadata/Metadata.Entry.html | 2 +- .../metadata/MetadataInputBuffer.html | 2 +- .../exoplayer2/metadata/MetadataRenderer.html | 13 +- .../metadata/flac/PictureFrame.html | 42 +- .../metadata/flac/VorbisComment.html | 81 +- .../metadata/flac/package-summary.html | 6 +- .../metadata/vorbis/VorbisComment.html | 368 ++ .../metadata/vorbis/package-summary.html | 164 + .../metadata/vorbis/package-tree.html | 163 + .../offline/DefaultDownloadIndex.html | 10 +- .../offline/Download.FailureReason.html | 1 + .../exoplayer2/offline/Download.State.html | 1 + .../android/exoplayer2/offline/Download.html | 32 +- .../exoplayer2/offline/DownloadIndex.html | 6 +- .../offline/DownloadManager.Listener.html | 8 +- .../exoplayer2/offline/DownloadManager.html | 4 +- .../exoplayer2/offline/DownloadService.html | 12 +- .../offline/FilterableManifest.html | 2 +- .../offline/WritableDownloadIndex.html | 2 +- .../exoplayer2/offline/package-summary.html | 54 +- .../exoplayer2/offline/package-tree.html | 2 - .../android/exoplayer2/package-summary.html | 109 +- .../android/exoplayer2/package-tree.html | 9 +- .../robolectric/RandomizedMp3Decoder.html | 4 +- .../robolectric/RobolectricUtil.html | 16 +- .../TestDownloadManagerListener.html | 10 +- .../Requirements.RequirementFlags.html | 1 + .../exoplayer2/scheduler/Requirements.html | 14 +- .../RequirementsWatcher.Listener.html | 8 +- .../scheduler/RequirementsWatcher.html | 4 +- .../exoplayer2/source/BaseMediaSource.html | 67 +- ...ource.IllegalClippingException.Reason.html | 1 + ...gMediaSource.IllegalClippingException.html | 12 +- .../source/ClippingMediaSource.html | 17 +- .../source/CompositeMediaSource.html | 19 +- .../source/ConcatenatingMediaSource.html | 19 +- ...tMediaSourceFactory.AdsLoaderProvider.html | 68 +- .../source/DefaultMediaSourceFactory.html | 221 +- .../exoplayer2/source/EmptySampleStream.html | 15 +- .../exoplayer2/source/LoopingMediaSource.html | 19 +- .../exoplayer2/source/MaskingMediaSource.html | 17 +- .../exoplayer2/source/MediaLoadData.html | 28 +- .../source/MediaParserExtractorAdapter.html | 6 +- .../source/MediaSource.Factory.html | 386 ++ .../source/MediaSource.MediaSourceCaller.html | 2 +- .../exoplayer2/source/MediaSource.html | 69 +- ...iaSourceEventListener.EventDispatcher.html | 101 +- .../source/MediaSourceEventListener.html | 6 +- .../exoplayer2/source/MediaSourceFactory.html | 319 +- ...iaSource.IllegalMergeException.Reason.html | 1 + ...gingMediaSource.IllegalMergeException.html | 12 +- .../exoplayer2/source/MergingMediaSource.html | 17 +- .../ProgressiveMediaExtractor.Factory.html | 10 +- .../ProgressiveMediaSource.Factory.html | 282 +- .../source/ProgressiveMediaSource.html | 15 +- .../exoplayer2/source/SampleQueue.html | 182 +- .../source/SampleStream.ReadDataResult.html | 3 +- .../source/SampleStream.ReadFlags.html | 3 +- .../exoplayer2/source/SampleStream.html | 22 +- .../exoplayer2/source/SilenceMediaSource.html | 15 +- .../source/SingleSampleMediaSource.html | 15 +- .../android/exoplayer2/source/TrackGroup.html | 82 +- .../exoplayer2/source/TrackGroupArray.html | 6 +- .../source/ads/AdPlaybackState.AdGroup.html | 38 +- .../source/ads/AdPlaybackState.AdState.html | 1 + .../source/ads/AdPlaybackState.html | 25 +- .../source/ads/AdsLoader.Provider.html | 264 ++ .../exoplayer2/source/ads/AdsLoader.html | 13 +- .../AdsMediaSource.AdLoadException.Type.html | 1 + .../ads/AdsMediaSource.AdLoadException.html | 5 +- .../exoplayer2/source/ads/AdsMediaSource.html | 22 +- ...ionMediaSource.AdPlaybackStateUpdater.html | 267 ++ ... => ServerSideAdInsertionMediaSource.html} | 98 +- ...il.html => ServerSideAdInsertionUtil.html} | 65 +- .../source/ads/package-summary.html | 17 +- .../exoplayer2/source/ads/package-tree.html | 6 +- .../source/chunk/BaseMediaChunk.html | 9 +- .../exoplayer2/source/chunk/Chunk.html | 24 +- .../source/chunk/ChunkExtractor.Factory.html | 12 +- ...hunkSampleStream.EmbeddedSampleStream.html | 15 +- .../source/chunk/ChunkSampleStream.html | 15 +- .../source/chunk/ContainerMediaChunk.html | 9 +- .../exoplayer2/source/chunk/DataChunk.html | 14 +- .../source/chunk/InitializationChunk.html | 9 +- .../exoplayer2/source/chunk/MediaChunk.html | 9 +- .../chunk/MediaParserChunkExtractor.html | 11 +- .../source/chunk/SingleSampleMediaChunk.html | 9 +- .../source/dash/DashChunkSource.Factory.html | 11 +- .../source/dash/DashMediaSource.Factory.html | 252 +- .../source/dash/DashMediaSource.html | 15 +- .../exoplayer2/source/dash/DashUtil.html | 4 +- .../dash/DefaultDashChunkSource.Factory.html | 15 +- .../source/dash/DefaultDashChunkSource.html | 29 +- ...yerEmsgHandler.PlayerTrackEmsgHandler.html | 30 +- .../source/dash/manifest/BaseUrl.html | 59 +- ...DashManifestParser.RepresentationInfo.html | 4 +- .../dash/manifest/DashManifestParser.html | 113 +- .../source/dash/manifest/Representation.html | 4 +- .../hls/BundledHlsMediaChunkExtractor.html | 6 +- .../hls/DefaultHlsExtractorFactory.html | 22 +- .../source/hls/HlsExtractorFactory.html | 13 +- .../exoplayer2/source/hls/HlsManifest.html | 34 +- .../exoplayer2/source/hls/HlsMediaPeriod.html | 12 +- .../source/hls/HlsMediaSource.Factory.html | 241 +- .../exoplayer2/source/hls/HlsMediaSource.html | 15 +- .../MediaParserHlsMediaChunkExtractor.html | 15 +- .../source/hls/offline/HlsDownloader.html | 4 +- .../source/hls/package-summary.html | 2 +- .../DefaultHlsPlaylistParserFactory.html | 19 +- .../playlist/DefaultHlsPlaylistTracker.html | 35 +- .../FilteringHlsPlaylistParserFactory.html | 19 +- .../hls/playlist/HlsMasterPlaylist.html | 449 +- .../HlsMediaPlaylist.PlaylistType.html | 1 + .../source/hls/playlist/HlsMediaPlaylist.html | 12 +- ...=> HlsMultivariantPlaylist.Rendition.html} | 14 +- ...l => HlsMultivariantPlaylist.Variant.html} | 22 +- .../hls/playlist/HlsMultivariantPlaylist.html | 702 +++ .../source/hls/playlist/HlsPlaylist.html | 2 +- .../hls/playlist/HlsPlaylistParser.html | 13 +- .../playlist/HlsPlaylistParserFactory.html | 15 +- .../hls/playlist/HlsPlaylistTracker.html | 35 +- .../source/hls/playlist/package-summary.html | 36 +- .../source/hls/playlist/package-tree.html | 10 +- .../source/mediaparser/MediaParserUtil.html | 29 +- .../exoplayer2/source/package-summary.html | 54 +- .../exoplayer2/source/package-tree.html | 12 +- .../exoplayer2/source/rtsp/RtpPacket.html | 44 +- .../source/rtsp/RtpPayloadFormat.html | 4 +- .../source/rtsp/RtspMediaSource.Factory.html | 156 +- .../source/rtsp/RtspMediaSource.html | 15 +- .../SsMediaSource.Factory.html | 224 +- .../source/smoothstreaming/SsMediaSource.html | 15 +- .../testutil/Action.AddMediaItems.html | 3 +- .../testutil/Action.ExecuteRunnable.html | 3 +- .../testutil/Action.MoveMediaItem.html | 3 +- .../testutil/Action.PlayUntilPosition.html | 3 +- .../testutil/Action.RemoveMediaItem.html | 3 +- .../testutil/Action.RemoveMediaItems.html | 3 +- .../exoplayer2/testutil/Action.Seek.html | 3 +- .../testutil/Action.SendMessages.html | 3 +- .../testutil/Action.SetPlayWhenReady.html | 3 +- .../Action.SetPlaybackParameters.html | 3 +- .../testutil/Action.SetRendererDisabled.html | 3 +- .../testutil/Action.SetRepeatMode.html | 3 +- .../Action.SetShuffleModeEnabled.html | 3 +- .../testutil/Action.SetShuffleOrder.html | 3 +- .../exoplayer2/testutil/Action.Stop.html | 3 +- .../Action.ThrowPlaybackException.html | 3 +- .../testutil/Action.WaitForIsLoading.html | 3 +- .../testutil/Action.WaitForMessage.html | 3 +- .../testutil/Action.WaitForPlayWhenReady.html | 3 +- .../testutil/Action.WaitForPlaybackState.html | 3 +- .../android/exoplayer2/testutil/Action.html | 3 +- .../testutil/ActionSchedule.PlayerTarget.html | 11 +- .../testutil/CapturingAudioSink.html | 2 +- .../testutil/DataSourceContractTest.html | 4 +- .../testutil/DecoderCountersUtil.html | 25 +- .../exoplayer2/testutil/DownloadBuilder.html | 6 +- .../exoplayer2/testutil/ExoHostedTest.html | 10 +- .../testutil/ExoPlayerTestRunner.html | 43 +- .../exoplayer2/testutil/ExtractorAsserts.html | 4 +- .../testutil/FakeAdaptiveMediaSource.html | 11 +- .../testutil/FakeAudioRenderer.html | 6 +- .../testutil/FakeDataSource.Factory.html | 4 +- .../FakeExoMediaDrm.LicenseServer.html | 8 +- .../exoplayer2/testutil/FakeExoMediaDrm.html | 15 +- .../exoplayer2/testutil/FakeMediaChunk.html | 9 +- .../testutil/FakeMediaClockRenderer.html | 6 +- .../exoplayer2/testutil/FakeMediaSource.html | 26 +- .../testutil/FakeMediaSourceFactory.html | 147 +- .../exoplayer2/testutil/FakeRenderer.html | 13 +- ...FakeSampleStream.FakeSampleStreamItem.html | 20 +- .../exoplayer2/testutil/FakeSampleStream.html | 17 +- ...FakeTimeline.TimelineWindowDefinition.html | 61 +- .../exoplayer2/testutil/FakeTimeline.html | 79 +- .../exoplayer2/testutil/FakeTrackOutput.html | 39 +- .../testutil/FakeTrackSelection.html | 4 +- .../testutil/FakeTrackSelector.html | 47 +- .../testutil/FakeVideoRenderer.html | 21 +- .../testutil/HttpDataSourceTestEnv.html | 4 +- .../exoplayer2/testutil/StubExoPlayer.html | 215 +- .../exoplayer2/testutil/StubPlayer.html | 16 +- .../testutil/TestExoPlayerBuilder.html | 30 +- .../android/exoplayer2/testutil/TestUtil.html | 4 +- .../WebServerDispatcher.Resource.Builder.html | 7 +- .../WebServerDispatcher.Resource.html | 5 +- .../exoplayer2/testutil/package-summary.html | 4 +- .../truth/SpannedSubject.EmphasizedText.html | 17 +- .../truth/SpannedSubject.RubyText.html | 9 +- .../android/exoplayer2/text/CueDecoder.html | 4 +- .../exoplayer2/text/SubtitleInputBuffer.html | 2 +- .../exoplayer2/text/SubtitleOutputBuffer.html | 2 +- .../android/exoplayer2/text/TextRenderer.html | 13 +- .../exoplayer2/text/span/RubySpan.html | 14 +- .../text/span/TextAnnotation.Position.html | 1 + .../text/span/TextEmphasisSpan.MarkFill.html | 1 + .../text/span/TextEmphasisSpan.MarkShape.html | 1 + .../text/span/TextEmphasisSpan.html | 32 +- .../webvtt/WebvttCssStyle.FontSizeUnit.html | 1 + .../webvtt/WebvttCssStyle.StyleFlags.html | 1 + .../text/webvtt/WebvttCssStyle.html | 29 +- .../AdaptiveTrackSelection.Factory.html | 4 +- .../AdaptiveTrackSelection.html | 4 +- .../DefaultTrackSelector.AudioTrackScore.html | 375 -- .../DefaultTrackSelector.Parameters.html | 40 +- ...efaultTrackSelector.ParametersBuilder.html | 162 +- ...ultTrackSelector.SelectionEligibility.html | 186 + .../DefaultTrackSelector.TextTrackScore.html | 378 -- .../trackselection/DefaultTrackSelector.html | 329 +- .../trackselection/ExoTrackSelection.html | 4 +- .../trackselection/FixedTrackSelection.html | 12 +- ...ector.MappedTrackInfo.RendererSupport.html | 187 + .../MappingTrackSelector.MappedTrackInfo.html | 116 +- .../trackselection/MappingTrackSelector.html | 14 +- ...ctionOverrides.TrackSelectionOverride.html | 4 +- .../TrackSelectionOverrides.html | 4 +- .../TrackSelectionParameters.Builder.html | 32 +- .../TrackSelectionParameters.html | 47 +- .../trackselection/package-summary.html | 36 +- .../trackselection/package-tree.html | 6 +- .../transformer/Codec.DecoderFactory.html | 337 ++ .../Codec.EncoderFactory.html} | 179 +- .../android/exoplayer2/transformer/Codec.html | 616 +++ .../exoplayer2/transformer/EncoderUtil.html | 354 ++ .../TranscodingTransformer.Builder.html | 620 --- .../transformer/TranscodingTransformer.html | 616 --- .../TransformationException.ErrorCode.html | 189 + .../transformer/TransformationException.html | 950 ++++ .../TransformationRequest.Builder.html | 518 ++ .../transformer/TransformationRequest.html | 490 ++ .../transformer/Transformer.Builder.html | 298 +- ...tml => Transformer.DebugViewProvider.html} | 120 +- .../transformer/Transformer.Listener.html | 78 +- .../Transformer.ProgressState.html | 1 + .../exoplayer2/transformer/Transformer.html | 131 +- .../transformer/package-summary.html | 57 +- .../exoplayer2/transformer/package-tree.html | 21 +- .../AdOverlayInfo.Builder.html} | 90 +- .../exoplayer2/ui/AdOverlayInfo.Purpose.html | 1 + .../android/exoplayer2/ui/AdOverlayInfo.html | 60 +- .../ui/AspectRatioFrameLayout.ResizeMode.html | 1 + .../exoplayer2/ui/AspectRatioFrameLayout.html | 12 +- .../ui/CaptionStyleCompat.EdgeType.html | 1 + .../exoplayer2/ui/CaptionStyleCompat.html | 14 +- .../ui/DownloadNotificationHelper.html | 12 +- .../exoplayer2/ui/PlayerControlView.html | 16 +- .../ui/PlayerNotificationManager.Builder.html | 10 +- .../PlayerNotificationManager.Priority.html | 1 + .../PlayerNotificationManager.Visibility.html | 1 + .../ui/PlayerNotificationManager.html | 14 +- .../ui/PlayerView.ShowBuffering.html | 1 + .../android/exoplayer2/ui/PlayerView.html | 178 +- .../ui/StyledPlayerControlView.html | 137 +- .../ui/StyledPlayerView.ShowBuffering.html | 1 + .../exoplayer2/ui/StyledPlayerView.html | 108 +- .../exoplayer2/ui/SubtitleView.ViewType.html | 1 + .../android/exoplayer2/ui/SubtitleView.html | 23 +- .../exoplayer2/ui/package-summary.html | 38 +- .../android/exoplayer2/ui/package-tree.html | 1 + .../Allocator.AllocationNode.html} | 56 +- .../exoplayer2/upstream/Allocator.html | 49 +- .../BandwidthMeter.EventListener.html | 6 +- .../exoplayer2/upstream/DataSpec.Builder.html | 14 +- .../exoplayer2/upstream/DataSpec.Flags.html | 1 + .../upstream/DataSpec.HttpMethod.html | 1 + .../android/exoplayer2/upstream/DataSpec.html | 111 +- .../exoplayer2/upstream/DefaultAllocator.html | 44 +- .../DefaultBandwidthMeter.Builder.html | 6 +- .../upstream/DefaultBandwidthMeter.html | 30 +- .../DefaultHttpDataSource.Factory.html | 10 +- .../upstream/DefaultHttpDataSource.html | 4 +- .../DefaultLoadErrorHandlingPolicy.html | 2 +- ...Source.CleartextNotPermittedException.html | 2 +- ...taSource.HttpDataSourceException.Type.html | 1 + ...ttpDataSource.HttpDataSourceException.html | 102 +- ...ataSource.InvalidContentTypeException.html | 2 +- ...taSource.InvalidResponseCodeException.html | 2 +- .../exoplayer2/upstream/HttpDataSource.html | 8 +- .../android/exoplayer2/upstream/HttpUtil.html | 14 +- ...adErrorHandlingPolicy.FallbackOptions.html | 7 +- ...ErrorHandlingPolicy.FallbackSelection.html | 12 +- .../LoadErrorHandlingPolicy.FallbackType.html | 1 + .../upstream/LoadErrorHandlingPolicy.html | 2 +- .../CacheDataSource.CacheIgnoredReason.html | 1 + .../cache/CacheDataSource.EventListener.html | 6 +- .../cache/CacheDataSource.Factory.html | 7 +- .../upstream/cache/CacheDataSource.Flags.html | 1 + .../upstream/cache/CacheDataSource.html | 27 +- .../exoplayer2/upstream/package-summary.html | 40 +- .../exoplayer2/upstream/package-tree.html | 1 + .../exoplayer2/util/BundleableUtil.html | 8 +- .../exoplayer2/util/DebugTextViewHelper.html | 29 +- .../util/EGLSurfaceTexture.SecureMode.html | 1 + .../exoplayer2/util/EGLSurfaceTexture.html | 13 +- .../android/exoplayer2/util/EventLogger.html | 16 +- .../exoplayer2/util/FileTypes.Type.html | 1 + .../android/exoplayer2/util/FileTypes.html | 17 +- .../exoplayer2/util/GlUtil.Program.html | 172 +- ...GlUtil.UnsupportedEglVersionException.html | 294 -- .../android/exoplayer2/util/GlUtil.html | 162 +- .../exoplayer2/util/LibraryLoader.html | 36 +- .../android/exoplayer2/util/ListenerSet.html | 62 +- .../android/exoplayer2/util/Log.LogLevel.html | 187 + .../google/android/exoplayer2/util/Log.html | 75 +- .../android/exoplayer2/util/MimeTypes.html | 9 +- .../util/NetworkTypeObserver.Listener.html | 6 +- .../exoplayer2/util/NetworkTypeObserver.html | 4 +- .../util/NotificationUtil.Importance.html | 1 + .../exoplayer2/util/NotificationUtil.html | 9 +- .../RepeatModeUtil.RepeatToggleModes.html | 1 + .../google/android/exoplayer2/util/Util.html | 315 +- .../exoplayer2/util/package-summary.html | 34 +- .../android/exoplayer2/util/package-tree.html | 4 +- .../android/exoplayer2/video/ColorInfo.html | 42 +- .../video/DecoderVideoRenderer.html | 50 +- .../video/MediaCodecVideoRenderer.html | 60 +- .../video/VideoFrameReleaseHelper.html | 56 +- .../video/VideoRendererEventListener.html | 4 - .../video/spherical/CameraMotionRenderer.html | 26 +- .../spherical/SphericalGLSurfaceView.html | 7 +- docs/doc/reference/constant-values.html | 1014 ++-- docs/doc/reference/deprecated-list.html | 776 ++- docs/doc/reference/element-list | 1 + docs/doc/reference/index-all.html | 4197 +++++++++++------ docs/doc/reference/index.html | 80 +- docs/doc/reference/member-search-index.js | 2 +- docs/doc/reference/member-search-index.zip | Bin 141117 -> 147605 bytes docs/doc/reference/overview-tree.html | 105 +- docs/doc/reference/package-search-index.js | 2 +- docs/doc/reference/package-search-index.zip | Bin 697 -> 703 bytes docs/doc/reference/serialized-form.html | 55 +- docs/doc/reference/type-search-index.js | 2 +- docs/doc/reference/type-search-index.zip | Bin 10295 -> 10420 bytes 560 files changed, 29369 insertions(+), 18290 deletions(-) rename docs/doc/reference/com/google/android/exoplayer2/{C.AudioFocusGain.html => C.SpatializationBehavior.html} (88%) delete mode 100644 docs/doc/reference/com/google/android/exoplayer2/Player.EventListener.html rename docs/doc/reference/com/google/android/exoplayer2/{C.AudioManagerOffloadMode.html => RendererCapabilities.DecoderSupport.html} (77%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.HardwareAccelerationSupport.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/analytics/DefaultAnalyticsCollector.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/analytics/MediaMetricsListener.html rename docs/doc/reference/com/google/android/exoplayer2/{util/GlUtil.Attribute.html => analytics/PlayerId.html} (77%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/audio/DefaultAudioSink.Builder.html rename docs/doc/reference/com/google/android/exoplayer2/{transformer/TranscodingTransformer.ProgressState.html => audio/DefaultAudioSink.OutputMode.html} (86%) rename docs/doc/reference/com/google/android/exoplayer2/{util/GlUtil.Uniform.html => audio/DefaultAudioTrackBufferSizeProvider.Builder.html} (54%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/audio/DefaultAudioTrackBufferSizeProvider.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.State.html rename docs/doc/reference/com/google/android/exoplayer2/{offline/ActionFileUpgradeUtil.html => ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.html} (56%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.Factory.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionUriBuilder.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/extractor/mkv/MatroskaExtractor.Track.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/metadata/vorbis/VorbisComment.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/metadata/vorbis/package-summary.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/metadata/vorbis/package-tree.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/source/MediaSource.Factory.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/source/ads/AdsLoader.Provider.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/source/ads/ServerSideAdInsertionMediaSource.AdPlaybackStateUpdater.html rename docs/doc/reference/com/google/android/exoplayer2/source/ads/{ServerSideInsertedAdsMediaSource.html => ServerSideAdInsertionMediaSource.html} (89%) rename docs/doc/reference/com/google/android/exoplayer2/source/ads/{ServerSideInsertedAdsUtil.html => ServerSideAdInsertionUtil.html} (89%) rename docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/{HlsMasterPlaylist.Rendition.html => HlsMultivariantPlaylist.Rendition.html} (96%) rename docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/{HlsMasterPlaylist.Variant.html => HlsMultivariantPlaylist.Variant.html} (92%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/source/hls/playlist/HlsMultivariantPlaylist.html delete mode 100644 docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.AudioTrackScore.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.SelectionEligibility.html delete mode 100644 docs/doc/reference/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.TextTrackScore.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/trackselection/MappingTrackSelector.MappedTrackInfo.RendererSupport.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/Codec.DecoderFactory.html rename docs/doc/reference/com/google/android/exoplayer2/{trackselection/DefaultTrackSelector.VideoTrackScore.html => transformer/Codec.EncoderFactory.html} (50%) create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/Codec.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/EncoderUtil.html delete mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/TranscodingTransformer.Builder.html delete mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/TranscodingTransformer.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationException.ErrorCode.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationException.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.Builder.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/transformer/TransformationRequest.html rename docs/doc/reference/com/google/android/exoplayer2/transformer/{TranscodingTransformer.Listener.html => Transformer.DebugViewProvider.html} (69%) rename docs/doc/reference/com/google/android/exoplayer2/{trackselection/DefaultTrackSelector.OtherTrackScore.html => ui/AdOverlayInfo.Builder.html} (73%) rename docs/doc/reference/com/google/android/exoplayer2/{offline/ActionFileUpgradeUtil.DownloadIdProvider.html => upstream/Allocator.AllocationNode.html} (76%) delete mode 100644 docs/doc/reference/com/google/android/exoplayer2/util/GlUtil.UnsupportedEglVersionException.html create mode 100644 docs/doc/reference/com/google/android/exoplayer2/util/Log.LogLevel.html diff --git a/docs/doc/reference/allclasses-index.html b/docs/doc/reference/allclasses-index.html index 1c58512cde..31e9e44e45 100644 --- a/docs/doc/reference/allclasses-index.html +++ b/docs/doc/reference/allclasses-index.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":2,"i1":32,"i2":2,"i3":2,"i4":2,"i5":2,"i6":2,"i7":2,"i8":32,"i9":2,"i10":2,"i11":2,"i12":2,"i13":2,"i14":2,"i15":2,"i16":2,"i17":2,"i18":2,"i19":2,"i20":2,"i21":2,"i22":2,"i23":2,"i24":2,"i25":2,"i26":2,"i27":2,"i28":2,"i29":2,"i30":2,"i31":2,"i32":2,"i33":2,"i34":2,"i35":2,"i36":2,"i37":2,"i38":2,"i39":2,"i40":2,"i41":2,"i42":2,"i43":2,"i44":2,"i45":1,"i46":2,"i47":2,"i48":1,"i49":2,"i50":2,"i51":1,"i52":2,"i53":2,"i54":2,"i55":2,"i56":2,"i57":2,"i58":32,"i59":2,"i60":2,"i61":32,"i62":1,"i63":1,"i64":2,"i65":8,"i66":32,"i67":2,"i68":32,"i69":2,"i70":1,"i71":2,"i72":2,"i73":2,"i74":2,"i75":1,"i76":2,"i77":32,"i78":2,"i79":1,"i80":32,"i81":2,"i82":2,"i83":2,"i84":2,"i85":2,"i86":2,"i87":1,"i88":32,"i89":2,"i90":2,"i91":2,"i92":8,"i93":2,"i94":2,"i95":2,"i96":2,"i97":2,"i98":1,"i99":1,"i100":2,"i101":8,"i102":1,"i103":2,"i104":1,"i105":8,"i106":8,"i107":1,"i108":32,"i109":8,"i110":8,"i111":2,"i112":2,"i113":1,"i114":1,"i115":2,"i116":2,"i117":2,"i118":2,"i119":2,"i120":2,"i121":2,"i122":2,"i123":2,"i124":2,"i125":2,"i126":2,"i127":8,"i128":2,"i129":2,"i130":2,"i131":2,"i132":2,"i133":1,"i134":2,"i135":1,"i136":2,"i137":1,"i138":1,"i139":2,"i140":2,"i141":2,"i142":2,"i143":2,"i144":2,"i145":2,"i146":2,"i147":2,"i148":32,"i149":32,"i150":32,"i151":32,"i152":32,"i153":32,"i154":32,"i155":32,"i156":32,"i157":32,"i158":32,"i159":32,"i160":32,"i161":32,"i162":32,"i163":32,"i164":32,"i165":32,"i166":32,"i167":32,"i168":32,"i169":32,"i170":32,"i171":32,"i172":32,"i173":32,"i174":32,"i175":32,"i176":32,"i177":1,"i178":8,"i179":1,"i180":2,"i181":2,"i182":2,"i183":8,"i184":2,"i185":2,"i186":32,"i187":1,"i188":2,"i189":32,"i190":2,"i191":1,"i192":1,"i193":2,"i194":2,"i195":1,"i196":1,"i197":2,"i198":2,"i199":32,"i200":2,"i201":2,"i202":2,"i203":2,"i204":2,"i205":2,"i206":2,"i207":2,"i208":2,"i209":1,"i210":1,"i211":1,"i212":2,"i213":2,"i214":2,"i215":1,"i216":1,"i217":2,"i218":2,"i219":8,"i220":32,"i221":1,"i222":2,"i223":2,"i224":2,"i225":2,"i226":2,"i227":2,"i228":1,"i229":2,"i230":2,"i231":2,"i232":1,"i233":2,"i234":2,"i235":8,"i236":1,"i237":2,"i238":2,"i239":2,"i240":2,"i241":8,"i242":2,"i243":2,"i244":2,"i245":1,"i246":8,"i247":2,"i248":2,"i249":32,"i250":2,"i251":32,"i252":32,"i253":32,"i254":2,"i255":2,"i256":1,"i257":1,"i258":2,"i259":2,"i260":2,"i261":2,"i262":8,"i263":2,"i264":2,"i265":1,"i266":2,"i267":2,"i268":8,"i269":1,"i270":2,"i271":1,"i272":2,"i273":1,"i274":1,"i275":1,"i276":1,"i277":2,"i278":2,"i279":2,"i280":2,"i281":8,"i282":2,"i283":2,"i284":2,"i285":2,"i286":32,"i287":32,"i288":2,"i289":1,"i290":2,"i291":2,"i292":2,"i293":8,"i294":2,"i295":32,"i296":8,"i297":2,"i298":1,"i299":2,"i300":32,"i301":32,"i302":2,"i303":2,"i304":2,"i305":1,"i306":2,"i307":8,"i308":32,"i309":2,"i310":2,"i311":2,"i312":2,"i313":2,"i314":2,"i315":2,"i316":2,"i317":2,"i318":2,"i319":2,"i320":2,"i321":2,"i322":2,"i323":2,"i324":2,"i325":2,"i326":8,"i327":32,"i328":2,"i329":2,"i330":2,"i331":2,"i332":2,"i333":2,"i334":2,"i335":2,"i336":2,"i337":2,"i338":2,"i339":2,"i340":2,"i341":2,"i342":2,"i343":2,"i344":2,"i345":2,"i346":2,"i347":1,"i348":2,"i349":2,"i350":32,"i351":2,"i352":2,"i353":2,"i354":2,"i355":2,"i356":2,"i357":2,"i358":2,"i359":2,"i360":2,"i361":2,"i362":2,"i363":2,"i364":2,"i365":2,"i366":32,"i367":2,"i368":2,"i369":32,"i370":2,"i371":2,"i372":32,"i373":32,"i374":2,"i375":1,"i376":1,"i377":1,"i378":1,"i379":8,"i380":2,"i381":1,"i382":8,"i383":1,"i384":2,"i385":1,"i386":2,"i387":2,"i388":2,"i389":2,"i390":8,"i391":2,"i392":2,"i393":2,"i394":1,"i395":8,"i396":32,"i397":1,"i398":2,"i399":1,"i400":1,"i401":1,"i402":2,"i403":32,"i404":2,"i405":2,"i406":2,"i407":2,"i408":2,"i409":2,"i410":1,"i411":2,"i412":2,"i413":2,"i414":2,"i415":1,"i416":2,"i417":2,"i418":2,"i419":1,"i420":32,"i421":2,"i422":8,"i423":32,"i424":1,"i425":1,"i426":2,"i427":1,"i428":2,"i429":2,"i430":2,"i431":2,"i432":2,"i433":2,"i434":2,"i435":2,"i436":1,"i437":2,"i438":2,"i439":32,"i440":2,"i441":1,"i442":1,"i443":1,"i444":1,"i445":2,"i446":8,"i447":32,"i448":1,"i449":1,"i450":1,"i451":2,"i452":1,"i453":1,"i454":1,"i455":2,"i456":2,"i457":2,"i458":2,"i459":8,"i460":32,"i461":1,"i462":2,"i463":1,"i464":1,"i465":32,"i466":2,"i467":2,"i468":2,"i469":1,"i470":2,"i471":1,"i472":1,"i473":1,"i474":2,"i475":2,"i476":2,"i477":2,"i478":2,"i479":2,"i480":2,"i481":2,"i482":2,"i483":2,"i484":2,"i485":2,"i486":2,"i487":2,"i488":2,"i489":2,"i490":2,"i491":2,"i492":2,"i493":2,"i494":2,"i495":2,"i496":2,"i497":8,"i498":2,"i499":2,"i500":2,"i501":2,"i502":2,"i503":1,"i504":2,"i505":2,"i506":2,"i507":2,"i508":2,"i509":2,"i510":2,"i511":2,"i512":2,"i513":2,"i514":2,"i515":1,"i516":2,"i517":2,"i518":2,"i519":2,"i520":8,"i521":2,"i522":2,"i523":2,"i524":8,"i525":2,"i526":32,"i527":1,"i528":2,"i529":2,"i530":2,"i531":2,"i532":2,"i533":8,"i534":2,"i535":2,"i536":32,"i537":32,"i538":2,"i539":2,"i540":2,"i541":2,"i542":2,"i543":2,"i544":2,"i545":2,"i546":2,"i547":2,"i548":2,"i549":2,"i550":2,"i551":2,"i552":2,"i553":2,"i554":2,"i555":2,"i556":2,"i557":32,"i558":2,"i559":2,"i560":2,"i561":2,"i562":8,"i563":2,"i564":2,"i565":2,"i566":2,"i567":8,"i568":2,"i569":2,"i570":8,"i571":2,"i572":2,"i573":2,"i574":2,"i575":1,"i576":1,"i577":2,"i578":2,"i579":1,"i580":2,"i581":1,"i582":2,"i583":2,"i584":2,"i585":2,"i586":1,"i587":2,"i588":2,"i589":2,"i590":32,"i591":2,"i592":2,"i593":2,"i594":2,"i595":2,"i596":2,"i597":32,"i598":2,"i599":2,"i600":8,"i601":1,"i602":1,"i603":1,"i604":1,"i605":8,"i606":8,"i607":1,"i608":2,"i609":2,"i610":2,"i611":2,"i612":1,"i613":1,"i614":2,"i615":8,"i616":1,"i617":8,"i618":32,"i619":8,"i620":8,"i621":2,"i622":2,"i623":2,"i624":2,"i625":2,"i626":2,"i627":2,"i628":2,"i629":1,"i630":2,"i631":2,"i632":2,"i633":8,"i634":2,"i635":2,"i636":2,"i637":2,"i638":2,"i639":2,"i640":2,"i641":8,"i642":1,"i643":2,"i644":2,"i645":2,"i646":2,"i647":2,"i648":2,"i649":2,"i650":2,"i651":2,"i652":1,"i653":1,"i654":1,"i655":1,"i656":2,"i657":1,"i658":1,"i659":2,"i660":1,"i661":8,"i662":1,"i663":2,"i664":1,"i665":2,"i666":2,"i667":32,"i668":2,"i669":2,"i670":2,"i671":2,"i672":2,"i673":2,"i674":2,"i675":2,"i676":2,"i677":1,"i678":2,"i679":2,"i680":2,"i681":32,"i682":2,"i683":2,"i684":1,"i685":1,"i686":1,"i687":2,"i688":1,"i689":1,"i690":2,"i691":8,"i692":2,"i693":2,"i694":8,"i695":1,"i696":2,"i697":8,"i698":8,"i699":2,"i700":2,"i701":1,"i702":8,"i703":2,"i704":2,"i705":2,"i706":2,"i707":2,"i708":2,"i709":2,"i710":2,"i711":2,"i712":2,"i713":2,"i714":2,"i715":2,"i716":2,"i717":2,"i718":2,"i719":2,"i720":1,"i721":1,"i722":2,"i723":2,"i724":2,"i725":32,"i726":32,"i727":2,"i728":2,"i729":2,"i730":2,"i731":1,"i732":1,"i733":2,"i734":1,"i735":2,"i736":2,"i737":1,"i738":1,"i739":1,"i740":2,"i741":1,"i742":1,"i743":32,"i744":1,"i745":1,"i746":1,"i747":1,"i748":1,"i749":2,"i750":1,"i751":1,"i752":2,"i753":1,"i754":2,"i755":2,"i756":8,"i757":32,"i758":2,"i759":1,"i760":1,"i761":1,"i762":2,"i763":1,"i764":2,"i765":2,"i766":2,"i767":2,"i768":2,"i769":2,"i770":32,"i771":2,"i772":32,"i773":2,"i774":2,"i775":2,"i776":2,"i777":2,"i778":2,"i779":2,"i780":2,"i781":2,"i782":2,"i783":1,"i784":32,"i785":2,"i786":2,"i787":2,"i788":32,"i789":2,"i790":2,"i791":2,"i792":2,"i793":2,"i794":2,"i795":2,"i796":8,"i797":2,"i798":2,"i799":2,"i800":2,"i801":2,"i802":2,"i803":8,"i804":2,"i805":1,"i806":2,"i807":2,"i808":2,"i809":2,"i810":2,"i811":2,"i812":2,"i813":2,"i814":8,"i815":32,"i816":32,"i817":2,"i818":2,"i819":1,"i820":1,"i821":2,"i822":2,"i823":2,"i824":2,"i825":2,"i826":1,"i827":1,"i828":32,"i829":2,"i830":2,"i831":32,"i832":32,"i833":1,"i834":2,"i835":1,"i836":32,"i837":32,"i838":32,"i839":2,"i840":32,"i841":32,"i842":32,"i843":2,"i844":1,"i845":1,"i846":2,"i847":1,"i848":2,"i849":1,"i850":1,"i851":2,"i852":2,"i853":1,"i854":1,"i855":1,"i856":32,"i857":32,"i858":2,"i859":32,"i860":2,"i861":2,"i862":2,"i863":2,"i864":2,"i865":8,"i866":2,"i867":2,"i868":2,"i869":2,"i870":2,"i871":1,"i872":1,"i873":2,"i874":2,"i875":2,"i876":2,"i877":2,"i878":2,"i879":2,"i880":2,"i881":2,"i882":2,"i883":2,"i884":8,"i885":1,"i886":32,"i887":32,"i888":1,"i889":1,"i890":32,"i891":32,"i892":32,"i893":32,"i894":2,"i895":1,"i896":2,"i897":2,"i898":32,"i899":2,"i900":2,"i901":2,"i902":2,"i903":32,"i904":2,"i905":1,"i906":2,"i907":2,"i908":1,"i909":2,"i910":2,"i911":2,"i912":2,"i913":2,"i914":2,"i915":2,"i916":2,"i917":1,"i918":1,"i919":2,"i920":2,"i921":2,"i922":8,"i923":2,"i924":2,"i925":2,"i926":1,"i927":8,"i928":1,"i929":32,"i930":32,"i931":1,"i932":1,"i933":2,"i934":1,"i935":2,"i936":2,"i937":2,"i938":2,"i939":2,"i940":2,"i941":2,"i942":2,"i943":2,"i944":2,"i945":2,"i946":2,"i947":2,"i948":1,"i949":1,"i950":2,"i951":2,"i952":2,"i953":1,"i954":2,"i955":1,"i956":1,"i957":2,"i958":1,"i959":2,"i960":1,"i961":1,"i962":1,"i963":1,"i964":2,"i965":2,"i966":1,"i967":2,"i968":2,"i969":2,"i970":2,"i971":2,"i972":2,"i973":2,"i974":2,"i975":2,"i976":2,"i977":2,"i978":2,"i979":2,"i980":2,"i981":2,"i982":2,"i983":2,"i984":2,"i985":2,"i986":2,"i987":2,"i988":2,"i989":1,"i990":2,"i991":2,"i992":1,"i993":1,"i994":1,"i995":1,"i996":1,"i997":1,"i998":1,"i999":1,"i1000":1,"i1001":2,"i1002":2,"i1003":1,"i1004":2,"i1005":2,"i1006":2,"i1007":2,"i1008":2,"i1009":2,"i1010":2,"i1011":2,"i1012":2,"i1013":1,"i1014":1,"i1015":2,"i1016":2,"i1017":2,"i1018":2,"i1019":2,"i1020":8,"i1021":2,"i1022":2,"i1023":2,"i1024":2,"i1025":2,"i1026":2,"i1027":2,"i1028":2,"i1029":2,"i1030":2,"i1031":2,"i1032":1,"i1033":1,"i1034":1,"i1035":2,"i1036":32,"i1037":2,"i1038":1,"i1039":1,"i1040":8,"i1041":1,"i1042":2,"i1043":2,"i1044":2,"i1045":2,"i1046":32,"i1047":2,"i1048":2,"i1049":2,"i1050":2,"i1051":1,"i1052":2,"i1053":2,"i1054":2,"i1055":2,"i1056":2,"i1057":2,"i1058":2,"i1059":32,"i1060":2,"i1061":32,"i1062":32,"i1063":2,"i1064":1,"i1065":2,"i1066":2,"i1067":1,"i1068":1,"i1069":2,"i1070":2,"i1071":2,"i1072":2,"i1073":2,"i1074":2,"i1075":2,"i1076":1,"i1077":2,"i1078":1,"i1079":2,"i1080":2,"i1081":2,"i1082":2,"i1083":1,"i1084":2,"i1085":2,"i1086":32,"i1087":2,"i1088":2,"i1089":2,"i1090":1,"i1091":1,"i1092":2,"i1093":32,"i1094":1,"i1095":32,"i1096":2,"i1097":2,"i1098":1,"i1099":2,"i1100":2,"i1101":2,"i1102":2,"i1103":2,"i1104":2,"i1105":1,"i1106":2,"i1107":1,"i1108":2,"i1109":1,"i1110":2,"i1111":2,"i1112":2,"i1113":2,"i1114":2,"i1115":1,"i1116":32,"i1117":1,"i1118":2,"i1119":2,"i1120":1,"i1121":32,"i1122":2,"i1123":2,"i1124":32,"i1125":1,"i1126":2,"i1127":2,"i1128":1,"i1129":32,"i1130":2,"i1131":2,"i1132":2,"i1133":2,"i1134":2,"i1135":8,"i1136":32,"i1137":8,"i1138":8,"i1139":32,"i1140":2,"i1141":2,"i1142":2,"i1143":2,"i1144":2,"i1145":2,"i1146":2,"i1147":2,"i1148":1,"i1149":1,"i1150":2,"i1151":1,"i1152":2,"i1153":2,"i1154":2,"i1155":2,"i1156":2,"i1157":2,"i1158":2,"i1159":2,"i1160":2,"i1161":8,"i1162":2,"i1163":2,"i1164":2,"i1165":2,"i1166":2,"i1167":2,"i1168":2,"i1169":32,"i1170":32,"i1171":2,"i1172":2,"i1173":2,"i1174":2,"i1175":2,"i1176":2,"i1177":2,"i1178":2,"i1179":1,"i1180":2}; +var data = {"i0":2,"i1":32,"i2":2,"i3":2,"i4":2,"i5":2,"i6":2,"i7":2,"i8":32,"i9":2,"i10":2,"i11":2,"i12":2,"i13":2,"i14":2,"i15":2,"i16":2,"i17":2,"i18":2,"i19":2,"i20":2,"i21":2,"i22":2,"i23":2,"i24":2,"i25":2,"i26":2,"i27":2,"i28":2,"i29":2,"i30":2,"i31":2,"i32":2,"i33":2,"i34":2,"i35":2,"i36":2,"i37":2,"i38":2,"i39":2,"i40":2,"i41":2,"i42":2,"i43":2,"i44":2,"i45":2,"i46":1,"i47":2,"i48":2,"i49":1,"i50":2,"i51":2,"i52":2,"i53":2,"i54":2,"i55":2,"i56":2,"i57":32,"i58":2,"i59":2,"i60":32,"i61":1,"i62":1,"i63":1,"i64":2,"i65":8,"i66":32,"i67":2,"i68":32,"i69":2,"i70":1,"i71":2,"i72":2,"i73":2,"i74":2,"i75":1,"i76":1,"i77":2,"i78":32,"i79":1,"i80":1,"i81":32,"i82":2,"i83":2,"i84":2,"i85":2,"i86":2,"i87":2,"i88":1,"i89":32,"i90":2,"i91":2,"i92":2,"i93":8,"i94":2,"i95":2,"i96":2,"i97":2,"i98":2,"i99":1,"i100":1,"i101":2,"i102":8,"i103":1,"i104":2,"i105":1,"i106":8,"i107":8,"i108":1,"i109":32,"i110":8,"i111":8,"i112":2,"i113":2,"i114":1,"i115":1,"i116":2,"i117":2,"i118":2,"i119":2,"i120":2,"i121":2,"i122":2,"i123":2,"i124":2,"i125":2,"i126":2,"i127":2,"i128":8,"i129":2,"i130":2,"i131":2,"i132":2,"i133":2,"i134":1,"i135":2,"i136":1,"i137":2,"i138":1,"i139":1,"i140":2,"i141":2,"i142":2,"i143":2,"i144":2,"i145":2,"i146":2,"i147":2,"i148":2,"i149":32,"i150":32,"i151":32,"i152":32,"i153":32,"i154":32,"i155":32,"i156":32,"i157":32,"i158":32,"i159":32,"i160":32,"i161":32,"i162":32,"i163":32,"i164":32,"i165":32,"i166":32,"i167":32,"i168":32,"i169":32,"i170":32,"i171":32,"i172":32,"i173":32,"i174":32,"i175":32,"i176":32,"i177":1,"i178":8,"i179":1,"i180":2,"i181":2,"i182":2,"i183":8,"i184":2,"i185":2,"i186":32,"i187":1,"i188":2,"i189":32,"i190":2,"i191":1,"i192":1,"i193":2,"i194":2,"i195":1,"i196":1,"i197":2,"i198":2,"i199":32,"i200":2,"i201":2,"i202":2,"i203":2,"i204":2,"i205":2,"i206":2,"i207":2,"i208":2,"i209":1,"i210":1,"i211":1,"i212":2,"i213":2,"i214":2,"i215":1,"i216":1,"i217":2,"i218":2,"i219":8,"i220":32,"i221":1,"i222":2,"i223":1,"i224":1,"i225":2,"i226":2,"i227":2,"i228":2,"i229":2,"i230":2,"i231":1,"i232":2,"i233":2,"i234":2,"i235":1,"i236":2,"i237":2,"i238":8,"i239":1,"i240":2,"i241":2,"i242":2,"i243":2,"i244":8,"i245":2,"i246":2,"i247":2,"i248":1,"i249":8,"i250":2,"i251":2,"i252":32,"i253":2,"i254":32,"i255":32,"i256":32,"i257":2,"i258":2,"i259":1,"i260":1,"i261":2,"i262":2,"i263":2,"i264":2,"i265":8,"i266":2,"i267":2,"i268":1,"i269":2,"i270":2,"i271":8,"i272":1,"i273":2,"i274":1,"i275":2,"i276":1,"i277":1,"i278":1,"i279":1,"i280":2,"i281":2,"i282":2,"i283":2,"i284":8,"i285":2,"i286":2,"i287":2,"i288":2,"i289":32,"i290":32,"i291":2,"i292":1,"i293":2,"i294":2,"i295":2,"i296":8,"i297":2,"i298":32,"i299":8,"i300":2,"i301":1,"i302":2,"i303":32,"i304":32,"i305":2,"i306":2,"i307":2,"i308":2,"i309":1,"i310":2,"i311":2,"i312":8,"i313":32,"i314":32,"i315":2,"i316":2,"i317":2,"i318":2,"i319":2,"i320":2,"i321":2,"i322":2,"i323":2,"i324":2,"i325":2,"i326":2,"i327":2,"i328":2,"i329":2,"i330":2,"i331":2,"i332":2,"i333":2,"i334":8,"i335":32,"i336":2,"i337":2,"i338":2,"i339":2,"i340":2,"i341":2,"i342":2,"i343":2,"i344":2,"i345":2,"i346":2,"i347":2,"i348":2,"i349":2,"i350":2,"i351":2,"i352":2,"i353":2,"i354":2,"i355":1,"i356":2,"i357":2,"i358":32,"i359":2,"i360":2,"i361":2,"i362":2,"i363":2,"i364":2,"i365":2,"i366":2,"i367":2,"i368":32,"i369":2,"i370":2,"i371":32,"i372":2,"i373":2,"i374":32,"i375":2,"i376":2,"i377":32,"i378":32,"i379":2,"i380":1,"i381":1,"i382":1,"i383":1,"i384":8,"i385":2,"i386":1,"i387":8,"i388":1,"i389":2,"i390":1,"i391":2,"i392":2,"i393":2,"i394":2,"i395":8,"i396":2,"i397":2,"i398":2,"i399":1,"i400":8,"i401":32,"i402":1,"i403":2,"i404":1,"i405":1,"i406":1,"i407":2,"i408":32,"i409":2,"i410":2,"i411":2,"i412":2,"i413":2,"i414":2,"i415":1,"i416":2,"i417":2,"i418":2,"i419":2,"i420":1,"i421":2,"i422":2,"i423":2,"i424":1,"i425":32,"i426":2,"i427":8,"i428":32,"i429":1,"i430":1,"i431":2,"i432":2,"i433":1,"i434":2,"i435":2,"i436":2,"i437":2,"i438":2,"i439":2,"i440":2,"i441":2,"i442":1,"i443":2,"i444":2,"i445":32,"i446":2,"i447":1,"i448":1,"i449":1,"i450":1,"i451":2,"i452":8,"i453":32,"i454":1,"i455":1,"i456":1,"i457":2,"i458":1,"i459":1,"i460":1,"i461":2,"i462":2,"i463":2,"i464":2,"i465":8,"i466":32,"i467":1,"i468":2,"i469":1,"i470":1,"i471":32,"i472":2,"i473":2,"i474":2,"i475":1,"i476":2,"i477":1,"i478":1,"i479":1,"i480":2,"i481":2,"i482":2,"i483":2,"i484":2,"i485":2,"i486":2,"i487":2,"i488":2,"i489":2,"i490":2,"i491":2,"i492":2,"i493":2,"i494":2,"i495":2,"i496":2,"i497":2,"i498":2,"i499":2,"i500":2,"i501":2,"i502":2,"i503":8,"i504":2,"i505":2,"i506":2,"i507":2,"i508":2,"i509":1,"i510":2,"i511":2,"i512":2,"i513":2,"i514":2,"i515":2,"i516":2,"i517":2,"i518":2,"i519":2,"i520":2,"i521":1,"i522":2,"i523":2,"i524":2,"i525":2,"i526":8,"i527":2,"i528":2,"i529":2,"i530":8,"i531":2,"i532":32,"i533":1,"i534":2,"i535":2,"i536":2,"i537":2,"i538":2,"i539":8,"i540":2,"i541":2,"i542":32,"i543":32,"i544":2,"i545":2,"i546":2,"i547":2,"i548":2,"i549":2,"i550":2,"i551":2,"i552":2,"i553":2,"i554":2,"i555":2,"i556":2,"i557":2,"i558":2,"i559":2,"i560":2,"i561":2,"i562":2,"i563":32,"i564":2,"i565":2,"i566":2,"i567":2,"i568":8,"i569":2,"i570":2,"i571":2,"i572":8,"i573":2,"i574":2,"i575":2,"i576":2,"i577":2,"i578":1,"i579":1,"i580":2,"i581":2,"i582":1,"i583":2,"i584":1,"i585":2,"i586":2,"i587":1,"i588":2,"i589":2,"i590":2,"i591":32,"i592":2,"i593":2,"i594":2,"i595":2,"i596":2,"i597":2,"i598":32,"i599":2,"i600":2,"i601":2,"i602":2,"i603":2,"i604":8,"i605":1,"i606":1,"i607":1,"i608":1,"i609":8,"i610":8,"i611":1,"i612":2,"i613":2,"i614":2,"i615":2,"i616":1,"i617":1,"i618":2,"i619":8,"i620":1,"i621":8,"i622":32,"i623":8,"i624":8,"i625":2,"i626":2,"i627":2,"i628":2,"i629":2,"i630":2,"i631":2,"i632":2,"i633":1,"i634":2,"i635":2,"i636":2,"i637":8,"i638":2,"i639":2,"i640":2,"i641":2,"i642":2,"i643":2,"i644":2,"i645":2,"i646":2,"i647":2,"i648":2,"i649":2,"i650":2,"i651":8,"i652":1,"i653":2,"i654":2,"i655":2,"i656":2,"i657":2,"i658":2,"i659":2,"i660":2,"i661":2,"i662":1,"i663":1,"i664":1,"i665":1,"i666":2,"i667":1,"i668":1,"i669":2,"i670":1,"i671":8,"i672":1,"i673":2,"i674":1,"i675":2,"i676":2,"i677":32,"i678":2,"i679":2,"i680":2,"i681":2,"i682":32,"i683":2,"i684":2,"i685":2,"i686":2,"i687":32,"i688":2,"i689":1,"i690":2,"i691":2,"i692":2,"i693":32,"i694":2,"i695":2,"i696":2,"i697":1,"i698":1,"i699":1,"i700":2,"i701":1,"i702":1,"i703":2,"i704":8,"i705":2,"i706":2,"i707":8,"i708":1,"i709":2,"i710":8,"i711":8,"i712":2,"i713":2,"i714":1,"i715":8,"i716":2,"i717":2,"i718":2,"i719":2,"i720":2,"i721":2,"i722":2,"i723":2,"i724":2,"i725":2,"i726":2,"i727":2,"i728":2,"i729":2,"i730":2,"i731":2,"i732":2,"i733":1,"i734":1,"i735":2,"i736":2,"i737":2,"i738":32,"i739":32,"i740":2,"i741":2,"i742":2,"i743":2,"i744":2,"i745":1,"i746":1,"i747":2,"i748":1,"i749":2,"i750":2,"i751":1,"i752":1,"i753":1,"i754":2,"i755":1,"i756":1,"i757":32,"i758":1,"i759":1,"i760":1,"i761":1,"i762":1,"i763":1,"i764":2,"i765":1,"i766":1,"i767":2,"i768":1,"i769":2,"i770":2,"i771":8,"i772":32,"i773":2,"i774":1,"i775":1,"i776":1,"i777":2,"i778":1,"i779":2,"i780":2,"i781":2,"i782":2,"i783":2,"i784":2,"i785":32,"i786":2,"i787":32,"i788":2,"i789":2,"i790":2,"i791":2,"i792":2,"i793":2,"i794":2,"i795":2,"i796":2,"i797":2,"i798":1,"i799":32,"i800":2,"i801":2,"i802":2,"i803":32,"i804":2,"i805":2,"i806":2,"i807":2,"i808":2,"i809":2,"i810":2,"i811":8,"i812":2,"i813":2,"i814":2,"i815":2,"i816":2,"i817":2,"i818":8,"i819":2,"i820":1,"i821":2,"i822":2,"i823":2,"i824":2,"i825":2,"i826":2,"i827":2,"i828":2,"i829":8,"i830":32,"i831":32,"i832":2,"i833":2,"i834":1,"i835":1,"i836":2,"i837":2,"i838":2,"i839":2,"i840":2,"i841":1,"i842":1,"i843":32,"i844":2,"i845":2,"i846":32,"i847":32,"i848":2,"i849":1,"i850":32,"i851":32,"i852":32,"i853":2,"i854":32,"i855":32,"i856":32,"i857":2,"i858":1,"i859":1,"i860":2,"i861":1,"i862":2,"i863":2,"i864":1,"i865":1,"i866":2,"i867":2,"i868":1,"i869":1,"i870":1,"i871":32,"i872":32,"i873":2,"i874":32,"i875":2,"i876":2,"i877":2,"i878":2,"i879":2,"i880":8,"i881":2,"i882":2,"i883":2,"i884":2,"i885":2,"i886":1,"i887":1,"i888":2,"i889":2,"i890":2,"i891":2,"i892":2,"i893":2,"i894":2,"i895":2,"i896":2,"i897":2,"i898":2,"i899":8,"i900":1,"i901":32,"i902":32,"i903":1,"i904":1,"i905":32,"i906":32,"i907":32,"i908":32,"i909":32,"i910":32,"i911":2,"i912":1,"i913":2,"i914":2,"i915":32,"i916":2,"i917":2,"i918":2,"i919":2,"i920":32,"i921":2,"i922":1,"i923":2,"i924":2,"i925":1,"i926":2,"i927":2,"i928":2,"i929":2,"i930":2,"i931":2,"i932":2,"i933":2,"i934":1,"i935":1,"i936":2,"i937":2,"i938":2,"i939":8,"i940":2,"i941":2,"i942":2,"i943":1,"i944":8,"i945":1,"i946":32,"i947":32,"i948":1,"i949":1,"i950":2,"i951":1,"i952":2,"i953":2,"i954":2,"i955":2,"i956":2,"i957":2,"i958":2,"i959":2,"i960":2,"i961":2,"i962":2,"i963":2,"i964":2,"i965":1,"i966":1,"i967":2,"i968":1,"i969":2,"i970":2,"i971":1,"i972":2,"i973":1,"i974":1,"i975":2,"i976":1,"i977":2,"i978":1,"i979":1,"i980":1,"i981":1,"i982":2,"i983":2,"i984":1,"i985":2,"i986":2,"i987":2,"i988":2,"i989":2,"i990":2,"i991":2,"i992":2,"i993":2,"i994":2,"i995":2,"i996":2,"i997":2,"i998":2,"i999":2,"i1000":2,"i1001":2,"i1002":2,"i1003":2,"i1004":2,"i1005":2,"i1006":2,"i1007":1,"i1008":2,"i1009":2,"i1010":1,"i1011":1,"i1012":1,"i1013":1,"i1014":1,"i1015":1,"i1016":1,"i1017":1,"i1018":1,"i1019":2,"i1020":2,"i1021":1,"i1022":2,"i1023":2,"i1024":2,"i1025":2,"i1026":2,"i1027":2,"i1028":2,"i1029":2,"i1030":2,"i1031":1,"i1032":1,"i1033":2,"i1034":2,"i1035":2,"i1036":2,"i1037":2,"i1038":8,"i1039":2,"i1040":2,"i1041":2,"i1042":2,"i1043":2,"i1044":2,"i1045":2,"i1046":2,"i1047":2,"i1048":2,"i1049":2,"i1050":1,"i1051":1,"i1052":1,"i1053":2,"i1054":32,"i1055":2,"i1056":1,"i1057":1,"i1058":8,"i1059":1,"i1060":2,"i1061":2,"i1062":2,"i1063":2,"i1064":32,"i1065":2,"i1066":2,"i1067":2,"i1068":2,"i1069":1,"i1070":2,"i1071":2,"i1072":2,"i1073":2,"i1074":2,"i1075":2,"i1076":2,"i1077":32,"i1078":2,"i1079":32,"i1080":32,"i1081":2,"i1082":1,"i1083":2,"i1084":2,"i1085":1,"i1086":1,"i1087":2,"i1088":2,"i1089":2,"i1090":2,"i1091":2,"i1092":2,"i1093":2,"i1094":1,"i1095":2,"i1096":1,"i1097":2,"i1098":2,"i1099":2,"i1100":2,"i1101":1,"i1102":2,"i1103":2,"i1104":32,"i1105":2,"i1106":2,"i1107":2,"i1108":1,"i1109":1,"i1110":2,"i1111":32,"i1112":1,"i1113":32,"i1114":2,"i1115":2,"i1116":1,"i1117":2,"i1118":2,"i1119":2,"i1120":2,"i1121":2,"i1122":2,"i1123":1,"i1124":2,"i1125":1,"i1126":2,"i1127":1,"i1128":2,"i1129":2,"i1130":2,"i1131":1,"i1132":8,"i1133":32,"i1134":2,"i1135":2,"i1136":2,"i1137":2,"i1138":1,"i1139":1,"i1140":32,"i1141":2,"i1142":2,"i1143":32,"i1144":1,"i1145":2,"i1146":2,"i1147":1,"i1148":32,"i1149":2,"i1150":2,"i1151":2,"i1152":2,"i1153":2,"i1154":8,"i1155":32,"i1156":8,"i1157":8,"i1158":32,"i1159":2,"i1160":2,"i1161":2,"i1162":2,"i1163":2,"i1164":2,"i1165":2,"i1166":2,"i1167":1,"i1168":1,"i1169":2,"i1170":1,"i1171":2,"i1172":2,"i1173":2,"i1174":2,"i1175":2,"i1176":2,"i1177":2,"i1178":2,"i1179":2,"i1180":2,"i1181":8,"i1182":2,"i1183":2,"i1184":2,"i1185":2,"i1186":2,"i1187":2,"i1188":2,"i1189":32,"i1190":32,"i1191":2,"i1192":2,"i1193":2,"i1194":2,"i1195":2,"i1196":2,"i1197":2,"i1198":2,"i1199":1,"i1200":2}; var tabs = {65535:["t0","All Classes"],1:["t1","Interface Summary"],2:["t2","Class Summary"],8:["t4","Exception Summary"],32:["t6","Annotation Types Summary"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -377,126 +377,126 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); -ActionFileUpgradeUtil - -
Utility class for upgrading legacy action files into DefaultDownloadIndex.
- - - -ActionFileUpgradeUtil.DownloadIdProvider - -
Provides download IDs during action file upgrade.
- - - ActionSchedule
Schedules a sequence of Actions for execution during a test.
- + ActionSchedule.Builder
A builder for ActionSchedule instances.
- + ActionSchedule.Callback
Callback to notify listener that the action schedule has finished.
- + ActionSchedule.PlayerRunnable
Provides a wrapper for a Runnable which has access to the player.
- + ActionSchedule.PlayerTarget
Provides a wrapper for a PlayerMessage.Target which has access to the player when handling messages.
- + ActionSchedule.PlayerTarget.Callback
Callback to be called when message arrives.
- + AdaptationSet
Represents a set of interchangeable encoded versions of a media content component.
- + AdaptiveTrackSelection
A bandwidth based adaptive ExoTrackSelection, whose selected track is updated to be the one of highest quality given the current network conditions and the state of the buffer.
- + AdaptiveTrackSelection.AdaptationCheckpoint
Checkpoint to determine allocated bandwidth.
- + AdaptiveTrackSelection.Factory
Factory for AdaptiveTrackSelection instances.
- + AdditionalFailureInfo
A JUnit Rule that attaches additional info to any errors/exceptions thrown by the test.
- + AdOverlayInfo
Provides information about an overlay view shown on top of an ad view group.
- + +AdOverlayInfo.Builder + +
A builder for AdOverlayInfo instances.
+ + + AdOverlayInfo.Purpose
The purpose of the overlay.
- + AdPlaybackState
Represents ad group times and information on the state and URIs of ads within each ad group.
- + AdPlaybackState.AdGroup
Represents a group of ads, with information about their states.
- + AdPlaybackState.AdState
Represents the state of an ad in an ad group.
- + AdsLoader
Interface for loaders of ads, which can be used with AdsMediaSource.
- + AdsLoader.EventListener
Listener for ads loader events.
+ +AdsLoader.Provider + +
Provides AdsLoader instances for media items that have ad tag URIs.
+ + AdsMediaSource @@ -571,381 +571,387 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); +Allocator.AllocationNode + +
A node in a chain of Allocations.
+ + + AmrExtractor
Extracts data from the AMR containers format (either AMR or AMR-WB).
- + AmrExtractor.Flags
Flags controlling the behavior of the extractor.
- -AnalyticsCollector + +AnalyticsCollector -
Data collector that forwards analytics events to AnalyticsListeners.
+
Interface for data collectors that forward analytics events to AnalyticsListeners.
- + AnalyticsListener
A listener for analytics events.
- + AnalyticsListener.EventFlags
Events that can be reported via AnalyticsListener.onEvents(Player, Events).
- + AnalyticsListener.Events
A set of AnalyticsListener.EventFlags.
- + AnalyticsListener.EventTime
Time information of an event.
- + ApicFrame
APIC (Attached Picture) ID3 frame.
- + AppInfoTable
A representation of a DVB Application Information Table (AIT).
- + AppInfoTableDecoder
Decoder for the DVB Application Information Table (AIT).
- + AspectRatioFrameLayout
A FrameLayout that resizes itself to match a specified aspect ratio.
- + AspectRatioFrameLayout.AspectRatioListener
Listener to be notified about changes of the aspect ratios of this view.
- + AspectRatioFrameLayout.ResizeMode
Resize modes for AspectRatioFrameLayout.
- + Assertions
Provides methods for asserting the truth of expressions and properties.
- + AssetContentProvider
A ContentProvider for reading asset data.
- + AssetDataSource
A DataSource for reading from a local asset.
- + AssetDataSource.AssetDataSourceException
Thrown when an IOException is encountered reading a local asset.
- + AtomicFile
A helper class for performing atomic operations on a file by creating a backup file until a write has successfully completed.
- + AudioAttributes
Attributes for audio playback, which configure the underlying platform AudioTrack.
- + AudioAttributes.Builder
Builder for AudioAttributes.
- + AudioCapabilities
Represents the set of audio formats that a device is capable of playing.
- + AudioCapabilitiesReceiver
Receives broadcast events indicating changes to the device's audio capabilities, notifying a AudioCapabilitiesReceiver.Listener when audio capability changes occur.
- + AudioCapabilitiesReceiver.Listener
Listener notified when audio capabilities change.
- + AudioProcessor
Interface for audio processors, which take audio data as input and transform it, potentially modifying its channel count, encoding and/or sample rate.
- + AudioProcessor.AudioFormat
PCM audio format that may be handled by an audio processor.
- + AudioProcessor.UnhandledAudioFormatException
Exception thrown when a processor can't be configured for a given input audio format.
- + AudioRendererEventListener
Listener of audio Renderer events.
- + AudioRendererEventListener.EventDispatcher
Dispatches events to an AudioRendererEventListener.
- + AudioSink
A sink that consumes audio data.
- + AudioSink.ConfigurationException
Thrown when a failure occurs configuring the sink.
- + AudioSink.InitializationException
Thrown when a failure occurs initializing the sink.
- + AudioSink.Listener
Listener for audio sink events.
- + AudioSink.SinkFormatSupport
The level of support the sink provides for a format.
- + AudioSink.UnexpectedDiscontinuityException
Thrown when the sink encounters an unexpected timestamp discontinuity.
- + AudioSink.WriteException
Thrown when a failure occurs writing to the sink.
- + AuxEffectInfo
Represents auxiliary effect information, which can be used to attach an auxiliary effect to an underlying AudioTrack.
- + AvcConfig
AVC configuration data.
- + BandwidthMeter
Provides estimates of the currently available bandwidth.
- + BandwidthMeter.EventListener
A listener of BandwidthMeter events.
- + BandwidthMeter.EventListener.EventDispatcher
Event dispatcher which allows listener registration.
- + BaseAudioProcessor
Base class for audio processors that keep an output buffer and an internal buffer that is reused whenever input is queued.
- + BaseDataSource
Base DataSource implementation to keep a list of TransferListeners.
- + BaseMediaChunk
A base implementation of MediaChunk that outputs to a BaseMediaChunkOutput.
- + BaseMediaChunkIterator
Base class for MediaChunkIterators.
- + BaseMediaChunkOutput
A ChunkExtractor.TrackOutputProvider that provides TrackOutputs based on a predefined mapping from track type to output.
- + BaseMediaSource
Base MediaSource implementation to handle parallel reuse and to keep a list of MediaSourceEventListeners.
- + BasePlayer
Abstract base Player which implements common implementation independent methods.
- + BaseRenderer
An abstract base class suitable for most Renderer implementations.
- + BaseTrackSelection
An abstract base class suitable for most ExoTrackSelection implementations.
- + BaseUrl
A base URL, as defined by ISO 23009-1, 2nd edition, 5.6.
- + BaseUrlExclusionList
Holds the state of excluded base URLs to be used to select a base URL based on these exclusions.
- + BehindLiveWindowException
Thrown when a live playback falls behind the available media window.
- + BinaryFrame
Binary ID3 frame.
- + BinarySearchSeeker
A seeker that supports seeking within a stream by searching for the target frame using binary search.
- + BinarySearchSeeker.BinarySearchSeekMap
A SeekMap implementation that returns the estimated byte location from BinarySearchSeeker.SeekOperationParams.calculateNextSearchBytePosition(long, long, long, long, long, long) for each BinarySearchSeeker.BinarySearchSeekMap.getSeekPoints(long) query.
- + BinarySearchSeeker.DefaultSeekTimestampConverter
A BinarySearchSeeker.SeekTimestampConverter implementation that returns the seek time itself as the timestamp for a seek time position.
- + BinarySearchSeeker.SeekOperationParams
Contains parameters for a pending seek operation by BinarySearchSeeker.
- + BinarySearchSeeker.SeekTimestampConverter
A converter that converts seek time in stream time into target timestamp for the BinarySearchSeeker.
- + BinarySearchSeeker.TimestampSearchResult
Represents possible search results for BinarySearchSeeker.TimestampSeeker.searchForTimestamp(ExtractorInput, long).
- + BinarySearchSeeker.TimestampSeeker
A seeker that looks for a given timestamp from an input.
- + Buffer
Base class for buffers with flags.
- + Bundleable
Interface for classes whose instance can be stored in a Bundle by Bundleable.toBundle() and @@ -953,200 +959,194 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); Bundleable.Creator.
- + Bundleable.Creator<T extends Bundleable>
Interface for the static CREATOR field of Bundleable classes.
- + BundleableUtil
Utilities for Bundleable.
- + BundledChunkExtractor
ChunkExtractor implementation that uses ExoPlayer app-bundled Extractors.
- + BundledExtractorsAdapter
ProgressiveMediaExtractor built on top of Extractor instances, whose implementation classes are bundled in the app.
- + BundledHlsMediaChunkExtractor
HlsMediaChunkExtractor implementation that uses ExoPlayer app-bundled Extractors.
- + BundleListRetriever
A Binder to transfer a list of Bundles across processes by splitting the list into multiple transactions.
- + BundleUtil
Utilities for Bundle.
- + ByteArrayDataSink
A DataSink for writing to a byte array.
- + ByteArrayDataSource
A DataSource for reading from a byte array.
- + C
Defines constants used by the library.
- + C.AudioAllowedCapturePolicy
Capture policies for audio attributes.
- + C.AudioContentType
Content types for audio attributes.
- + C.AudioFlags
Flags for audio attributes.
- -C.AudioFocusGain - -
Audio focus types.
- - -C.AudioManagerOffloadMode - -
Playback offload mode.
- - - C.AudioUsage
Usage types for audio attributes.
- + C.BufferFlags
Flags which can apply to a buffer containing a media sample.
- + C.ColorRange
Video color range.
- + C.ColorSpace
Video colorspaces.
- + C.ColorTransfer
Video color transfer characteristics.
- + C.ContentType
Represents a streaming or other media type.
- + C.CryptoMode
Crypto modes for a codec.
- + C.CryptoType
Types of crypto implementation.
- + C.DataType
Represents a type of data.
- + C.Encoding
Represents an audio encoding, or an invalid or unset value.
- + C.FormatSupport
Level of renderer support for a format.
- + C.NetworkType
Network connection type.
- + C.PcmEncoding
Represents a PCM audio encoding, or an invalid or unset value.
- + C.Projection
Video projection types.
- + C.RoleFlags
Track role flags.
- + C.SelectionFlags
Track selection flags.
- + C.SelectionReason
Represents a reason for selection.
+ +C.SpatializationBehavior + +
Represents the behavior affecting whether spatialization will be used.
+ + C.StereoMode @@ -1464,665 +1464,713 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); +Codec + +
A wrapper around MediaCodec.
+ + + +Codec.DecoderFactory + +
A factory for decoder instances.
+ + + +Codec.EncoderFactory + +
A factory for encoder instances.
+ + + CodecSpecificDataUtil
Provides utilities for handling various types of codec-specific data.
- + ColorInfo
Stores color info.
- + ColorParser
Parser for color expressions found in styling formats, e.g.
- + CommentFrame
Comment ID3 frame.
- + CompositeMediaSource<T>
Composite MediaSource consisting of multiple child sources.
- + CompositeSequenceableLoader
A SequenceableLoader that encapsulates multiple other SequenceableLoaders.
- + CompositeSequenceableLoaderFactory
A factory to create composite SequenceableLoaders.
- + ConcatenatingMediaSource
Concatenates multiple MediaSources.
- + ConditionVariable
An interruptible condition variable.
- + ConstantBitrateSeekMap
A SeekMap implementation that assumes the stream has a constant bitrate and consists of multiple independent frames of the same size.
- + Consumer<T>
Represents an operation that accepts a single input argument and returns no result.
- + ContainerMediaChunk
A BaseMediaChunk that uses an Extractor to decode sample data.
- + ContentDataSource
A DataSource for reading from a content URI.
- + ContentDataSource.ContentDataSourceException
Thrown when an IOException is encountered reading from a content URI.
- + ContentMetadata
Interface for an immutable snapshot of keyed metadata.
- + ContentMetadataMutations
Defines multiple mutations on metadata value which are applied atomically.
- + CopyOnWriteMultiset<E>
An unordered collection of elements that allows duplicates, but also allows access to a set of unique elements.
- + CronetDataSource
DataSource without intermediate buffer based on Cronet API set using UrlRequest.
- + CronetDataSource.Factory
DataSource.Factory for CronetDataSource instances.
- + CronetDataSource.OpenException
Thrown when an error is encountered when trying to open a CronetDataSource.
- + CronetDataSourceFactory Deprecated.
Use CronetDataSource.Factory instead.
- + CronetEngineWrapper Deprecated.
Use CronetEngine directly.
- + CronetUtil
Cronet utility methods.
- + CryptoConfig
Configuration for a decoder to allow it to decode encrypted media data.
- + CryptoException
Thrown when a non-platform component fails to decrypt data.
- + CryptoInfo
Metadata describing the structure of an encrypted input sample.
- + Cue
Contains information about a specific cue, including textual content and formatting data.
- + Cue.AnchorType
The type of anchor, which may be unset.
- + Cue.Builder
A builder for Cue objects.
- + Cue.LineType
The type of line, which may be unset.
- + Cue.TextSizeType
The type of default text size for this cue, which may be unset.
- + Cue.VerticalType
The type of vertical layout for this cue, which may be unset (i.e.
- + CueDecoder
Decodes data encoded by CueEncoder.
- + CueEncoder
Encodes data that can be decoded by CueDecoder.
- + DashChunkSource
A ChunkSource for DASH streams.
- + DashChunkSource.Factory
Factory for DashChunkSources.
- + DashDownloader
A downloader for DASH streams.
- + DashManifest
Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014 Section 5.3.1.2.
- + DashManifestParser
A parser of media presentation description files.
- + DashManifestParser.RepresentationInfo
A parsed Representation element.
- + DashManifestStaleException
Thrown when a live playback's manifest is stale and a new manifest could not be loaded.
- + DashMediaSource
A DASH MediaSource.
- + DashMediaSource.Factory
Factory for DashMediaSources.
- + DashSegmentIndex
Indexes the segments within a media stream.
- + DashUtil
Utility methods for DASH streams.
- + DashWrappingSegmentIndex
An implementation of DashSegmentIndex that wraps a ChunkIndex parsed from a media stream.
- + DatabaseIOException
An IOException whose cause is an SQLException.
- + DatabaseProvider
Provides SQLiteDatabase instances to media library components, which may read and write tables prefixed with DatabaseProvider.TABLE_PREFIX.
- + DataChunk
A base class for Chunk implementations where the data should be loaded into a byte[] before being consumed.
- + DataReader
Reads bytes from a data stream.
- + DataSchemeDataSource
A DataSource for reading data URLs, as defined by RFC 2397.
- + DataSink
A component to which streams of data can be written.
- + DataSink.Factory
A factory for DataSink instances.
- + DataSource
Reads data from URI-identified resources.
- + DataSource.Factory
A factory for DataSource instances.
- + DataSourceContractTest
A collection of contract tests for DataSource implementations.
- + DataSourceContractTest.FakeTransferListener
A TransferListener that only keeps track of the transferred bytes.
- + DataSourceContractTest.TestResource
Information about a resource that can be used to test the DataSource instance.
- + DataSourceContractTest.TestResource.Builder
Builder for DataSourceContractTest.TestResource instances.
- + DataSourceException
Used to specify reason of a DataSource error.
- + DataSourceInputStream
Allows data corresponding to a given DataSpec to be read from a DataSource and consumed through an InputStream.
- + DataSourceUtil
Utility methods for DataSource.
- + DataSpec
Defines a region of data in a resource.
- + DataSpec.Builder
Builds DataSpec instances.
- + DataSpec.Flags
The flags that apply to any request for data.
- + DataSpec.HttpMethod
HTTP methods supported by ExoPlayer HttpDataSources.
- + DebugTextViewHelper
A helper class for periodically updating a TextView with debug information obtained from an ExoPlayer.
- + Decoder<I,​O,​E extends DecoderException>
A media decoder.
- + DecoderAudioRenderer<T extends Decoder<DecoderInputBuffer,​? extends SimpleDecoderOutputBuffer,​? extends DecoderException>>
Decodes and renders audio using a Decoder.
- + DecoderCounters
Maintains decoder event counts, for debugging purposes only.
- + DecoderCountersUtil
Assertions for DecoderCounters.
- + DecoderException
Thrown when a Decoder error occurs.
- + DecoderInputBuffer
Holds input for a decoder.
- + DecoderInputBuffer.BufferReplacementMode
The buffer replacement mode.
- + DecoderInputBuffer.InsufficientCapacityException
Thrown when an attempt is made to write into a DecoderInputBuffer whose DecoderInputBuffer.bufferReplacementMode is DecoderInputBuffer.BUFFER_REPLACEMENT_MODE_DISABLED and who DecoderInputBuffer.data capacity is smaller than required.
- + DecoderOutputBuffer
Output buffer decoded by a Decoder.
- + DecoderOutputBuffer.Owner<S extends DecoderOutputBuffer>
Buffer owner.
- + DecoderReuseEvaluation
The result of an evaluation to determine whether a decoder can be reused for a new input format.
- + DecoderReuseEvaluation.DecoderDiscardReasons
Possible reasons why reuse is not possible.
- + DecoderReuseEvaluation.DecoderReuseResult
Possible outcomes of the evaluation.
- + DecoderVideoRenderer
Decodes and renders video using a Decoder.
- + DefaultAllocator
Default implementation of Allocator.
- + +DefaultAnalyticsCollector + +
Data collector that forwards analytics events to AnalyticsListeners.
+ + + DefaultAudioSink
Plays audio data.
- + DefaultAudioSink.AudioProcessorChain
Provides a chain of audio processors, which are used for any user-defined processing and applying playback parameters (if supported).
- + +DefaultAudioSink.Builder + +
A builder to create DefaultAudioSink instances.
+ + + DefaultAudioSink.DefaultAudioProcessorChain
The default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by SilenceSkippingAudioProcessor and SonicAudioProcessor.
- + DefaultAudioSink.InvalidAudioTrackTimestampException
Thrown when the audio track has provided a spurious timestamp, if DefaultAudioSink.failOnSpuriousAudioTimestamp is set.
- + DefaultAudioSink.OffloadMode
Audio offload mode configuration.
- + +DefaultAudioSink.OutputMode + +
Output mode of the audio sink.
+ + + +DefaultAudioTrackBufferSizeProvider + +
Provide the buffer size to use when creating an AudioTrack.
+ + + +DefaultAudioTrackBufferSizeProvider.Builder + +
A builder to create DefaultAudioTrackBufferSizeProvider instances.
+ + + DefaultBandwidthMeter
Estimates bandwidth by listening to data transfers.
- + DefaultBandwidthMeter.Builder
Builder for a bandwidth meter.
- + DefaultCastOptionsProvider
A convenience OptionsProvider to target the default cast receiver app.
- + DefaultCompositeSequenceableLoaderFactory
Default implementation of CompositeSequenceableLoaderFactory.
- + DefaultContentMetadata
Default implementation of ContentMetadata.
- + DefaultDashChunkSource
A default DashChunkSource implementation.
- + DefaultDashChunkSource.Factory   - + DefaultDashChunkSource.RepresentationHolder
Holds information about a snapshot of a single Representation.
- + DefaultDashChunkSource.RepresentationSegmentIterator
MediaChunkIterator wrapping a DefaultDashChunkSource.RepresentationHolder.
- + DefaultDatabaseProvider
A DatabaseProvider that provides instances obtained from a SQLiteOpenHelper.
- + DefaultDataSource
A DataSource that supports multiple URI schemes.
- + DefaultDataSource.Factory
DataSource.Factory for DefaultDataSource instances.
- + DefaultDataSourceFactory Deprecated.
Use DefaultDataSource.Factory instead.
- + DefaultDownloaderFactory
Default DownloaderFactory, supporting creation of progressive, DASH, HLS and SmoothStreaming downloaders.
- + DefaultDownloadIndex
A DownloadIndex that uses SQLite to persist Downloads.
- + DefaultDrmSessionManager
A DrmSessionManager that supports playbacks using ExoMediaDrm.
- + DefaultDrmSessionManager.Builder
Builder for DefaultDrmSessionManager instances.
- + DefaultDrmSessionManager.MissingSchemeDataException -
Signals that the Format.drmInitData passed to DefaultDrmSessionManager.acquireSession(android.os.Looper, com.google.android.exoplayer2.drm.DrmSessionEventListener.EventDispatcher, com.google.android.exoplayer2.Format) does not contain + - + DefaultDrmSessionManager.Mode
Determines the action to be done after a session acquired.
- + DefaultDrmSessionManagerProvider
Default implementation of DrmSessionManagerProvider.
- + DefaultExtractorInput
An ExtractorInput that wraps a DataReader.
- + DefaultExtractorsFactory
An ExtractorsFactory that provides an array of extractors for the following formats: @@ -2147,1760 +2195,1736 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); com.google.android.exoplayer2.ext.flac.FlacExtractor is used.
- + DefaultHlsDataSourceFactory
Default implementation of HlsDataSourceFactory.
- + DefaultHlsExtractorFactory
Default HlsExtractorFactory implementation.
- + DefaultHlsPlaylistParserFactory
Default implementation for HlsPlaylistParserFactory.
- + DefaultHlsPlaylistTracker
Default implementation for HlsPlaylistTracker.
- + DefaultHttpDataSource
An HttpDataSource that uses Android's HttpURLConnection.
- + DefaultHttpDataSource.Factory - + DefaultLivePlaybackSpeedControl
A LivePlaybackSpeedControl that adjusts the playback speed using a proportional controller.
- + DefaultLivePlaybackSpeedControl.Builder - + DefaultLoadControl
The default LoadControl implementation.
- + DefaultLoadControl.Builder
Builder for DefaultLoadControl.
- + DefaultLoadErrorHandlingPolicy
Default implementation of LoadErrorHandlingPolicy.
- + DefaultMediaCodecAdapterFactory - + DefaultMediaDescriptionAdapter - + DefaultMediaItemConverter
Default MediaItemConverter implementation.
- + DefaultMediaItemConverter
Default implementation of MediaItemConverter.
- + DefaultMediaSourceFactory -
The default MediaSourceFactory implementation.
+
The default MediaSource.Factory implementation.
- + DefaultMediaSourceFactory.AdsLoaderProvider - -
Provides AdsLoader instances for media items that have ad tag URIs.
+Deprecated. +
Use AdsLoader.Provider instead.
- + DefaultPlaybackSessionManager
Default PlaybackSessionManager which instantiates a new session for each window in the timeline and also for each ad within the windows.
- + DefaultRenderersFactory
Default RenderersFactory implementation.
- + DefaultRenderersFactory.ExtensionRendererMode
Modes for using extension renderers.
- + DefaultRenderersFactoryAsserts
Assertions for DefaultRenderersFactory.
- + DefaultRtpPayloadReaderFactory
Default RtpPayloadReader.Factory implementation.
- + DefaultSsChunkSource
A default SsChunkSource implementation.
- + DefaultSsChunkSource.Factory   - + DefaultTimeBar
A time bar that shows a current position, buffered position, duration and ad markers.
- + DefaultTrackNameProvider - + DefaultTrackSelector
A default TrackSelector suitable for most use cases.
- -DefaultTrackSelector.AudioTrackScore - -
Represents how well an audio track matches the selection DefaultTrackSelector.Parameters.
- - - -DefaultTrackSelector.OtherTrackScore - -
Represents how well any other track (non video, audio or text) matches the selection DefaultTrackSelector.Parameters.
- - - + DefaultTrackSelector.Parameters
Extends DefaultTrackSelector.Parameters by adding fields that are specific to DefaultTrackSelector.
- + DefaultTrackSelector.ParametersBuilder - + +DefaultTrackSelector.SelectionEligibility + +
The extent to which tracks are eligible for selection.
+ + + DefaultTrackSelector.SelectionOverride
A track selection override.
- -DefaultTrackSelector.TextTrackScore - -
Represents how well a text track matches the selection DefaultTrackSelector.Parameters.
- - - -DefaultTrackSelector.VideoTrackScore - -
Represents how well a video track matches the selection DefaultTrackSelector.Parameters.
- - - + DefaultTsPayloadReaderFactory
Default TsPayloadReader.Factory implementation.
- + DefaultTsPayloadReaderFactory.Flags
Flags controlling elementary stream readers' behavior.
- + Descriptor
A descriptor, as defined by ISO 23009-1, 2nd edition, 5.8.2.
- + DeviceInfo
Information about the playback device.
- + DeviceInfo.PlaybackType
Types of playback.
- + DolbyVisionConfig
Dolby Vision configuration data.
- + Download
Represents state of a download.
- + Download.FailureReason
Failure reasons.
- + Download.State
Download states.
- + DownloadBuilder
Builder for Download.
- + DownloadCursor
Provides random read-write access to the result set returned by a database query.
- + Downloader
Downloads and removes a piece of content.
- + Downloader.ProgressListener
Receives progress updates during download operations.
- + DownloaderFactory
Creates Downloaders for given DownloadRequests.
- + DownloadException
Thrown on an error during downloading.
- + DownloadHelper
A helper for initializing and removing downloads.
- + DownloadHelper.Callback
A callback to be notified when the DownloadHelper is prepared.
- + DownloadHelper.LiveContentUnsupportedException
Thrown at an attempt to download live content.
- + DownloadIndex
An index of Downloads.
- + DownloadManager
Manages downloads.
- + DownloadManager.Listener
Listener for DownloadManager events.
- + DownloadNotificationHelper
Helper for creating download notifications.
- + DownloadProgress
Mutable Download progress.
- + DownloadRequest
Defines content to be downloaded.
- + DownloadRequest.Builder
A builder for download requests.
- + DownloadRequest.UnsupportedRequestException
Thrown when the encoded request data belongs to an unsupported request type.
- + DownloadService
A Service for downloading media.
- + DrmInitData
Initialization data for one or more DRM schemes.
- + DrmInitData.SchemeData
Scheme initialization data.
- + DrmSession
A DRM session.
- + DrmSession.DrmSessionException
Wraps the throwable which is the cause of the error state.
- + DrmSession.State
The state of the DRM session.
- + DrmSessionEventListener
Listener of DrmSessionManager events.
- + DrmSessionEventListener.EventDispatcher
Dispatches events to DrmSessionEventListeners.
- + DrmSessionManager
Manages a DRM session.
- + DrmSessionManager.DrmSessionReference
Represents a single reference count of a DrmSession, while deliberately not giving access to the underlying session.
- + DrmSessionManagerProvider
A provider to obtain a DrmSessionManager suitable for playing the content described by a MediaItem.
- + DrmUtil
DRM-related utility methods.
- + DrmUtil.ErrorSource
Identifies the operation which caused a DRM-related error.
- + DtsReader
Parses a continuous DTS byte stream and extracts individual samples.
- + DtsUtil
Utility methods for parsing DTS frames.
- + DummyDataSource
A DataSource which provides no data.
- + DummyExoMediaDrm
An ExoMediaDrm that does not support any protection schemes.
- + DummyExtractorOutput
A fake ExtractorOutput implementation.
- + DummyMainThread
Helper class to simulate main/UI thread in tests.
- + DummyMainThread.TestRunnable
Runnable variant which can throw a checked exception.
- + DummySurface
A dummy Surface.
- + DummyTrackOutput
A fake TrackOutput implementation.
- + DumpableFormat
Wraps a Format to allow dumping it.
- + Dumper
Helper utility to dump field values.
- + Dumper.Dumpable
Provides custom dump method.
- + DumpFileAsserts
Helper class to enable assertions based on golden-data dump files.
- + DvbDecoder
A SimpleSubtitleDecoder for DVB subtitles.
- + DvbSubtitleReader
Parses DVB subtitle data and extracts individual frames.
- + EbmlProcessor
Defines EBML element IDs/types and processes events.
- + EbmlProcessor.ElementType
EBML element types.
- + EGLSurfaceTexture
Generates a SurfaceTexture using EGL/GLES functions.
- + EGLSurfaceTexture.GlException
A runtime exception to be thrown if some EGL operations failed.
- + EGLSurfaceTexture.SecureMode
Secure mode to be used by the EGL surface and context.
- + EGLSurfaceTexture.TextureImageListener
Listener to be called when the texture image on SurfaceTexture has been updated.
- + ElementaryStreamReader
Extracts individual samples from an elementary media stream, preserving original order.
- + EmptySampleStream
An empty SampleStream.
- + +EncoderUtil + +
Utility methods for MediaCodec encoders.
+ + + ErrorMessageProvider<T extends Throwable>
Converts throwables into error codes and user readable error messages.
- + ErrorStateDrmSession
A DrmSession that's in a terminal error state.
- + EventLogger
Logs events from Player and other core components using Log.
- + EventMessage
An Event Message (emsg) as defined in ISO 23009-1.
- + EventMessageDecoder
Decodes data encoded by EventMessageEncoder.
- + EventMessageEncoder
Encodes data that can be decoded by EventMessageDecoder.
- + EventStream
A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
- + ExoDatabaseProvider Deprecated. - + ExoHostedTest
A HostActivity.HostedTest for ExoPlayer playback tests.
- + ExoMediaDrm
Used to obtain keys for decrypting protected media streams.
- + ExoMediaDrm.AppManagedProvider
Provides an ExoMediaDrm instance owned by the app.
- + ExoMediaDrm.KeyRequest
Contains data used to request keys from a license server.
- + ExoMediaDrm.KeyRequest.RequestType
Key request types.
- + ExoMediaDrm.KeyStatus
Defines the status of a key.
- + ExoMediaDrm.OnEventListener
Called when a DRM event occurs.
- + ExoMediaDrm.OnExpirationUpdateListener
Called when a session expiration update occurs.
- + ExoMediaDrm.OnKeyStatusChangeListener
Called when the keys in a DRM session change state.
- + ExoMediaDrm.Provider
Provider for ExoMediaDrm instances.
- + ExoMediaDrm.ProvisionRequest
Contains data to request a certificate from a provisioning server.
- + ExoPlaybackException
Thrown when a non locally recoverable playback failure occurs.
- + ExoPlaybackException.Type
The type of source that produced the error.
- + ExoPlayer
An extensible media player that plays MediaSources.
- + ExoPlayer.AudioComponent Deprecated.
Use ExoPlayer, as the ExoPlayer.AudioComponent methods are defined by that interface.
- + ExoPlayer.AudioOffloadListener
A listener for audio offload events.
- + ExoPlayer.Builder
A builder for ExoPlayer instances.
- + ExoPlayer.DeviceComponent Deprecated.
Use Player, as the ExoPlayer.DeviceComponent methods are defined by that interface.
- + ExoPlayer.TextComponent Deprecated.
Use Player, as the ExoPlayer.TextComponent methods are defined by that interface.
- + ExoPlayer.VideoComponent Deprecated.
Use ExoPlayer, as the ExoPlayer.VideoComponent methods are defined by that interface.
- + ExoplayerCuesDecoder
A SubtitleDecoder that decodes subtitle samples of type MimeTypes.TEXT_EXOPLAYER_CUES
- + ExoPlayerLibraryInfo
Information about the media libraries.
- + ExoPlayerTestRunner
Helper class to run an ExoPlayer test.
- + ExoPlayerTestRunner.Builder
Builder to set-up an ExoPlayerTestRunner.
- + ExoTimeoutException
A timeout of an operation on the ExoPlayer playback thread.
- + ExoTimeoutException.TimeoutOperation
The operation which produced the timeout error.
- + ExoTrackSelection - + ExoTrackSelection.Definition
Contains of a subset of selected tracks belonging to a TrackGroup.
- + ExoTrackSelection.Factory
Factory for ExoTrackSelection instances.
- + Extractor
Extracts media data from a container format.
- + Extractor.ReadResult
Result values that can be returned by Extractor.read(ExtractorInput, PositionHolder).
- + ExtractorAsserts
Assertion methods for Extractor.
- + ExtractorAsserts.AssertionConfig
A config for the assertions made (e.g.
- + ExtractorAsserts.AssertionConfig.Builder
Builder for ExtractorAsserts.AssertionConfig instances.
- + ExtractorAsserts.ExtractorFactory
A factory for Extractor instances.
- + ExtractorAsserts.SimulationConfig
A config of different environments to simulate and extractor behaviours to test.
- + ExtractorInput
Provides data to be consumed by an Extractor.
- + ExtractorOutput
Receives stream level data extracted by an Extractor.
- + ExtractorsFactory
Factory for arrays of Extractor instances.
- + ExtractorUtil
Extractor related utility methods.
- + FailOnCloseDataSink
A DataSink that can simulate caching the bytes being written to it, and then failing to persist them when FailOnCloseDataSink.close() is called.
- + FailOnCloseDataSink.Factory
Factory to create a FailOnCloseDataSink.
- + FakeAdaptiveDataSet
Fake data set emulating the data of an adaptive media source.
- + FakeAdaptiveDataSet.Factory
Factory for FakeAdaptiveDataSets.
- + FakeAdaptiveDataSet.Iterator
MediaChunkIterator for the chunks defined by a fake adaptive data set.
- + FakeAdaptiveMediaPeriod
Fake MediaPeriod that provides tracks from the given TrackGroupArray.
- + FakeAdaptiveMediaSource
Fake MediaSource that provides a given timeline.
- + FakeAudioRenderer - + FakeChunkSource
Fake ChunkSource with adaptive media chunks of a given duration.
- + FakeChunkSource.Factory
Factory for a FakeChunkSource.
- + FakeClock
Fake Clock implementation that allows to advance the time manually to trigger pending timed messages.
- + FakeCryptoConfig - + FakeDataSet
Collection of FakeDataSet.FakeData to be served by a FakeDataSource.
- + FakeDataSet.FakeData
Container of fake data to be served by a FakeDataSource.
- + FakeDataSet.FakeData.Segment
A segment of FakeDataSet.FakeData.
- + FakeDataSource
A fake DataSource capable of simulating various scenarios.
- + FakeDataSource.Factory
Factory to create a FakeDataSource.
- + FakeExoMediaDrm
A fake implementation of ExoMediaDrm for use in tests.
- + FakeExoMediaDrm.Builder
Builder for FakeExoMediaDrm instances.
- + FakeExoMediaDrm.LicenseServer
An license server implementation to interact with FakeExoMediaDrm.
- + FakeExtractorInput
A fake ExtractorInput capable of simulating various scenarios.
- + FakeExtractorInput.Builder
Builder of FakeExtractorInput instances.
- + FakeExtractorInput.SimulatedIOException
Thrown when simulating an IOException.
- + FakeExtractorOutput - + FakeMediaChunk - + FakeMediaChunkIterator - + FakeMediaClockRenderer
Fake abstract Renderer which is also a MediaClock.
- + FakeMediaPeriod
Fake MediaPeriod that provides tracks from the given TrackGroupArray.
- + FakeMediaPeriod.TrackDataFactory
A factory to create the test data for a particular track.
- + FakeMediaSource
Fake MediaSource that provides a given timeline.
- + FakeMediaSource.InitialTimeline
A forwarding timeline to provide an initial timeline for fake multi window sources.
- + FakeMediaSourceFactory
Fake MediaSourceFactory that creates a FakeMediaSource.
- + FakeMetadataEntry - + FakeRenderer
Fake Renderer that supports any format with the matching track type.
- + FakeSampleStream
Fake SampleStream that outputs a given Format and any amount of items.
- + FakeSampleStream.FakeSampleStreamItem - + - + FakeShuffleOrder
Fake ShuffleOrder which returns a reverse order.
- + FakeTimeline
Fake Timeline which can be setup to return custom FakeTimeline.TimelineWindowDefinitions.
- + FakeTimeline.TimelineWindowDefinition
Definition used to define a FakeTimeline.
- + FakeTrackOutput
A fake TrackOutput.
- + FakeTrackOutput.Factory
Factory for FakeTrackOutput instances.
- + FakeTrackSelection
A fake ExoTrackSelection that only returns 1 fixed track, and allows querying the number of calls to its methods.
- + FakeTrackSelector - + FakeVideoRenderer - + FfmpegAudioRenderer
Decodes and renders audio using FFmpeg.
- + FfmpegDecoderException
Thrown when an FFmpeg decoder error occurs.
- + FfmpegLibrary
Configures and queries the underlying native library.
- + FileDataSource
A DataSource for reading local files.
- + FileDataSource.Factory - + FileDataSource.FileDataSourceException
Thrown when a FileDataSource encounters an error reading a file.
- + FileTypes
Defines common file type constants and helper methods.
- + FileTypes.Type
File types.
- + FilterableManifest<T>
A manifest that can generate copies of itself including only the streams specified by the given keys.
- + FilteringHlsPlaylistParserFactory
A HlsPlaylistParserFactory that includes only the streams identified by the given stream keys.
- + FilteringManifestParser<T extends FilterableManifest<T>>
A manifest parser that includes only the streams identified by the given stream keys.
- + FixedTrackSelection
A TrackSelection consisting of a single track.
- + FlacConstants
Defines constants used by the FLAC extractor.
- + FlacDecoder
Flac decoder.
- + FlacDecoderException
Thrown when an Flac decoder error occurs.
- + FlacExtractor
Facilitates the extraction of data from the FLAC container format.
- + FlacExtractor
Extracts data from FLAC container format.
- + FlacExtractor.Flags
Flags controlling the behavior of the extractor.
- + FlacExtractor.Flags
Flags controlling the behavior of the extractor.
- + FlacFrameReader
Reads and peeks FLAC frame elements according to the FLAC format specification.
- + FlacFrameReader.SampleNumberHolder
Holds a sample number.
- + FlacLibrary
Configures and queries the underlying native library.
- + FlacMetadataReader
Reads and peeks FLAC stream metadata elements according to the FLAC format specification.
- + FlacMetadataReader.FlacStreamMetadataHolder - + FlacSeekTableSeekMap
A SeekMap implementation for FLAC streams that contain a seek table.
- + FlacStreamMetadata
Holder for FLAC metadata.
- + FlacStreamMetadata.SeekTable
A FLAC seek table.
- + FlagSet
A set of integer flags.
- + FlagSet.Builder
A builder for FlagSet instances.
- + FlvExtractor
Extracts data from the FLV container format.
- + Format
Represents a media format.
- + Format.Builder
Builds Format instances.
- + FormatHolder
Holds a Format.
- + ForwardingAudioSink
An overridable AudioSink implementation forwarding all methods to another sink.
- + ForwardingExtractorInput
An overridable ExtractorInput implementation forwarding all methods to another input.
- + ForwardingPlayer
A Player that forwards operations to another Player.
- + ForwardingTimeline
An overridable Timeline implementation forwarding all methods to another timeline.
- + FragmentedMp4Extractor
Extracts data from the FMP4 container format.
- + FragmentedMp4Extractor.Flags
Flags controlling the behavior of the extractor.
- + FrameworkCryptoConfig - + FrameworkMediaDrm
An ExoMediaDrm implementation that wraps the framework MediaDrm.
- + GaplessInfoHolder
Holder for gapless playback information.
- + Gav1Decoder
Gav1 decoder.
- + Gav1DecoderException
Thrown when a libgav1 decoder error occurs.
- + Gav1Library
Configures and queries the underlying native library.
- + GeobFrame
GEOB (General Encapsulated Object) ID3 frame.
- + GlUtil -
GL utilities.
+
OpenGL ES utilities.
- -GlUtil.Attribute - -
GL attribute, which can be attached to a buffer with GlUtil.Attribute.setBuffer(float[], int).
- - - + GlUtil.GlException
Thrown when an OpenGL error occurs and GlUtil.glAssertionsEnabled is true.
- + GlUtil.Program -
GL program.
+
Represents a GLSL shader program.
- -GlUtil.Uniform - -
GL uniform, which can be attached to a sampler using GlUtil.Uniform.setSamplerTexId(int, int).
- - - -GlUtil.UnsupportedEglVersionException - -
Thrown when the required EGL version is not supported by the device.
- - - + H262Reader
Parses a continuous H262 byte stream and extracts individual frames.
- + H263Reader
Parses an ISO/IEC 14496-2 (MPEG-4 Part 2) or ITU-T Recommendation H.263 byte stream and extracts individual frames.
- + H264Reader
Parses a continuous H264 byte stream and extracts individual frames.
- + H265Reader
Parses a continuous H.265 byte stream and extracts individual frames.
- + HandlerWrapper
An interface to call through to a Handler.
- + HandlerWrapper.Message
A message obtained from the handler.
- + HeartRating
A rating expressed as "heart" or "no heart".
- + HevcConfig
HEVC configuration data.
- + HlsDataSourceFactory
Creates DataSources for HLS playlists, encryption and media chunks.
- + HlsDownloader
A downloader for HLS streams.
- + HlsExtractorFactory
Factory for HLS media chunk extractors.
- + HlsManifest -
Holds a master playlist along with a snapshot of one of its media playlists.
- - - -HlsMasterPlaylist - -
Represents an HLS master playlist.
- - - -HlsMasterPlaylist.Rendition - -
A rendition (i.e.
- - - -HlsMasterPlaylist.Variant - -
A variant (i.e.
+
Holds a multivariant playlist along with a snapshot of one of its media playlists.
+HlsMasterPlaylist +Deprecated. + + + + HlsMediaChunkExtractor
Extracts samples and track Formats from HlsMediaChunks.
- + HlsMediaPeriod
A MediaPeriod that loads an HLS stream.
- + HlsMediaPlaylist
Represents an HLS media playlist.
- + HlsMediaPlaylist.Part
A media part.
- + HlsMediaPlaylist.PlaylistType
Type of the playlist, as defined by #EXT-X-PLAYLIST-TYPE.
- + HlsMediaPlaylist.RenditionReport
A rendition report for an alternative rendition defined in another media playlist.
- + HlsMediaPlaylist.Segment
Media segment reference.
- + HlsMediaPlaylist.SegmentBase
The base for a HlsMediaPlaylist.Segment or a HlsMediaPlaylist.Part required for playback.
- + HlsMediaPlaylist.ServerControl
Server control attributes.
- + HlsMediaSource
An HLS MediaSource.
- + HlsMediaSource.Factory
Factory for HlsMediaSources.
- + HlsMediaSource.MetadataType
The types of metadata that can be extracted from HLS streams.
- + +HlsMultivariantPlaylist + +
Represents an HLS multivariant playlist.
+ + + +HlsMultivariantPlaylist.Rendition + +
A rendition (i.e.
+ + + +HlsMultivariantPlaylist.Variant + +
A variant (i.e.
+ + + HlsPlaylist
Represents an HLS playlist.
- + HlsPlaylistParser
HLS playlists parsing logic.
- + HlsPlaylistParser.DeltaUpdateException
Exception thrown when merging a delta update fails.
- + HlsPlaylistParserFactory
Factory for HlsPlaylist parsers.
- + HlsPlaylistTracker
Tracks playlists associated to an HLS stream and provides snapshots.
- + HlsPlaylistTracker.Factory
Factory for HlsPlaylistTracker instances.
- + HlsPlaylistTracker.PlaylistEventListener
Called on playlist loading events.
- + HlsPlaylistTracker.PlaylistResetException
Thrown when the media sequence of a new snapshot indicates the server has reset.
- + HlsPlaylistTracker.PlaylistStuckException
Thrown when a playlist is considered to be stuck due to a server side error.
- + HlsPlaylistTracker.PrimaryPlaylistListener
Listener for primary playlist changes.
- + HlsTrackMetadataEntry
Holds metadata associated to an HLS media track.
- + HlsTrackMetadataEntry.VariantInfo
Holds attributes defined in an EXT-X-STREAM-INF tag.
- + HorizontalTextInVerticalContextSpan
A styling span for horizontal text in a vertical context.
- + HostActivity
A host activity for performing playback tests.
- + HostActivity.HostedTest
Interface for tests that run inside of a HostActivity.
- + HttpDataSource
An HTTP DataSource.
- + HttpDataSource.BaseFactory
Base implementation of HttpDataSource.Factory that sets default request properties.
- + HttpDataSource.CleartextNotPermittedException
Thrown when cleartext HTTP traffic is not permitted.
- + HttpDataSource.Factory
A factory for HttpDataSource instances.
- + HttpDataSource.HttpDataSourceException
Thrown when an error is encountered when trying to read from a HttpDataSource.
- + HttpDataSource.HttpDataSourceException.Type
The type of operation that produced the error.
- + HttpDataSource.InvalidContentTypeException
Thrown when the content type is invalid.
- + HttpDataSource.InvalidResponseCodeException
Thrown when an attempt to open a connection results in a response code not in the 2xx range.
- + HttpDataSource.RequestProperties
Stores HTTP request properties (aka HTTP headers) and provides methods to modify the headers in @@ -3908,324 +3932,366 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); state.
- + HttpDataSourceTestEnv
A JUnit Rule that creates test resources for HttpDataSource contract tests.
- + HttpMediaDrmCallback
A MediaDrmCallback that makes requests using HttpDataSource instances.
- + HttpUtil
Utility methods for HTTP.
- + IcyDecoder
Decodes ICY stream information.
- + IcyHeaders
ICY headers.
- + IcyInfo
ICY in-stream information.
- + Id3Decoder
Decodes ID3 tags.
- + Id3Decoder.FramePredicate
A predicate for determining whether individual frames should be decoded.
- + Id3Frame
Base class for ID3 frames.
- + Id3Peeker
Peeks data from the beginning of an ExtractorInput to determine if there is any ID3 tag.
- + Id3Reader
Parses ID3 data and extracts individual text information frames.
- + IllegalSeekPositionException
Thrown when an attempt is made to seek to a position that does not exist in the player's Timeline.
- + ImaAdsLoader
AdsLoader using the IMA SDK.
- + ImaAdsLoader.Builder
Builder for ImaAdsLoader.
- + +ImaServerSideAdInsertionMediaSource + +
MediaSource for IMA server side inserted ad streams.
+ + + +ImaServerSideAdInsertionMediaSource.AdsLoader + +
An ads loader for IMA server side ad insertion streams.
+ + + +ImaServerSideAdInsertionMediaSource.AdsLoader.Builder + + + + + +ImaServerSideAdInsertionMediaSource.AdsLoader.State + +
The state of the ImaServerSideAdInsertionMediaSource.AdsLoader that can be used when resuming from the background.
+ + + +ImaServerSideAdInsertionMediaSource.Factory + + + + + +ImaServerSideAdInsertionUriBuilder + +
Builder for URI for IMA DAI streams.
+ + + IndexSeekMap
A SeekMap implementation based on a mapping between times and positions in the input stream.
- + InitializationChunk
A Chunk that uses an Extractor to decode initialization data for single track.
- + InputReaderAdapterV30
MediaParser.SeekableInputReader implementation wrapping a DataReader.
- + InternalFrame
Internal ID3 frame that is intended for use by the player.
- + JpegExtractor
Extracts JPEG image using the Exif format.
- + KeysExpiredException
Thrown when the drm keys loaded into an open session expire.
- + LanguageFeatureSpan
Marker interface for span classes that carry language features rather than style information.
- + LatmReader
Parses and extracts samples from an AAC/LATM elementary stream.
- + LeanbackPlayerAdapter
Leanback PlayerAdapter implementation for Player.
- + LeastRecentlyUsedCacheEvictor
Evicts least recently used cache files first.
- + LibflacAudioRenderer
Decodes and renders audio using the native Flac decoder.
- + Libgav1VideoRenderer
Decodes and renders video using libgav1 decoder.
- + LibopusAudioRenderer
Decodes and renders audio using the native Opus decoder.
- + LibraryLoader
Configurable loader for native libraries.
- + LibvpxVideoRenderer
Decodes and renders video using the native VP9 decoder.
- + ListenerSet<T extends @NonNull Object>
A set of listeners.
- + ListenerSet.Event<T>
An event sent to a listener.
- + ListenerSet.IterationFinishedEvent<T>
An event sent to a listener when all other events sent during one Looper message queue iteration were handled by the listener.
- + LivePlaybackSpeedControl
Controls the playback speed while playing live content in order to maintain a steady target live offset.
- + LoadControl
Controls buffering of media.
- + Loader
Manages the background loading of Loader.Loadables.
- + Loader.Callback<T extends Loader.Loadable>
A callback to be notified of Loader events.
- + Loader.Loadable
An object that can be loaded using a Loader.
- + Loader.LoadErrorAction - + Loader.ReleaseCallback
A callback to be notified when a Loader has finished being released.
- + Loader.UnexpectedLoaderException
Thrown when an unexpected exception or error is encountered during loading.
- + LoaderErrorThrower
Conditionally throws errors affecting a Loader.
- + LoaderErrorThrower.Dummy
A LoaderErrorThrower that never throws.
- + LoadErrorHandlingPolicy
A policy that defines how load errors are handled.
- + LoadErrorHandlingPolicy.FallbackOptions
Holds information about the available fallback options.
- + LoadErrorHandlingPolicy.FallbackSelection
A selected fallback option.
- + LoadErrorHandlingPolicy.FallbackType
Fallback type.
- + LoadErrorHandlingPolicy.LoadErrorInfo
Holds information about a load task error.
- + LoadEventInfo
MediaSource load event information.
- + LocalMediaDrmCallback
A MediaDrmCallback that provides a fixed response to key requests.
- + Log
Wrapper around Log which allows to set the log level.
- + +Log.LogLevel + +
Log level for ExoPlayer logcat logging.
+ + + LongArray
An append-only, auto-growing long[].
- + LoopingMediaSource Deprecated.
To loop a MediaSource indefinitely, use Player.setRepeatMode(int) instead of this class.
- + MappingTrackSelector
Base class for TrackSelectors that first establish a mapping between TrackGroups @@ -4233,1708 +4299,1751 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); renderer.
- + MappingTrackSelector.MappedTrackInfo
Provides mapped track information for each renderer.
- + +MappingTrackSelector.MappedTrackInfo.RendererSupport + +
Levels of renderer support.
+ + + MaskingMediaPeriod
Media period that defers calling MediaSource.createPeriod(MediaPeriodId, Allocator, long) on a given source until MaskingMediaPeriod.createPeriod(MediaPeriodId) has been called.
- + MaskingMediaPeriod.PrepareListener
Listener for preparation events.
- + MaskingMediaSource
A MediaSource that masks the Timeline with a placeholder until the actual media structure is known.
- + MaskingMediaSource.PlaceholderTimeline
A timeline with one dynamic window with a period of indeterminate duration.
- + MatroskaExtractor
Extracts data from the Matroska and WebM container formats.
- + MatroskaExtractor.Flags
Flags controlling the behavior of the extractor.
- + +MatroskaExtractor.Track + +
Holds data corresponding to a single track.
+ + + MdtaMetadataEntry
Stores extensible metadata with handler type 'mdta'.
- + MediaChunk
An abstract base class for Chunks that contain media samples.
- + MediaChunkIterator
Iterator for media chunk sequences.
- + MediaClock
Tracks the progression of media time.
- + MediaCodecAdapter
Abstracts MediaCodec operations.
- + MediaCodecAdapter.Configuration
Configuration parameters for a MediaCodecAdapter.
- + MediaCodecAdapter.Factory
A factory for MediaCodecAdapter instances.
- + MediaCodecAdapter.OnFrameRenderedListener
Listener to be called when an output frame has rendered on the output surface.
- + MediaCodecAudioRenderer
Decodes and renders audio using MediaCodec and an AudioSink.
- + MediaCodecDecoderException
Thrown when a failure occurs in a MediaCodec decoder.
- + MediaCodecInfo
Information about a MediaCodec for a given mime type.
- + MediaCodecRenderer
An abstract renderer that uses MediaCodec to decode samples for rendering.
- + MediaCodecRenderer.DecoderInitializationException
Thrown when a failure occurs instantiating a decoder.
- + MediaCodecSelector
Selector of MediaCodec instances.
- + MediaCodecUtil
A utility class for querying the available codecs.
- + MediaCodecUtil.DecoderQueryException
Thrown when an error occurs querying the device for its underlying media capabilities.
- + MediaCodecVideoDecoderException
Thrown when a failure occurs in a MediaCodec video decoder.
- + MediaCodecVideoRenderer
Decodes and renders video using MediaCodec.
- + MediaCodecVideoRenderer.CodecMaxValues   - + MediaDrmCallback
Performs ExoMediaDrm key and provisioning requests.
- + MediaDrmCallbackException
Thrown when an error occurs while executing a DRM key or provisioning request.
- + MediaFormatUtil
Helper class containing utility methods for managing MediaFormat instances.
- + MediaItem
Representation of a media item.
- + MediaItem.AdsConfiguration
Configuration for playing back linear ads with a media item.
- + MediaItem.AdsConfiguration.Builder
Builder for MediaItem.AdsConfiguration instances.
- + MediaItem.Builder
A builder for MediaItem instances.
- + MediaItem.ClippingConfiguration
Optionally clips the media item to a custom start and end position.
- + MediaItem.ClippingConfiguration.Builder
Builder for MediaItem.ClippingConfiguration instances.
- + MediaItem.ClippingProperties Deprecated. - + MediaItem.DrmConfiguration
DRM configuration for a media item.
- + MediaItem.DrmConfiguration.Builder - + MediaItem.LiveConfiguration
Live playback configuration.
- + MediaItem.LiveConfiguration.Builder
Builder for MediaItem.LiveConfiguration instances.
- + MediaItem.LocalConfiguration
Properties for local playback.
- + MediaItem.PlaybackProperties Deprecated. - + MediaItem.Subtitle Deprecated. - + MediaItem.SubtitleConfiguration
Properties for a text track.
- + MediaItem.SubtitleConfiguration.Builder
Builder for MediaItem.SubtitleConfiguration instances.
- + MediaItemConverter
Converts between MediaItem and the Cast SDK's MediaQueueItem.
- + MediaItemConverter
Converts between Media2 MediaItem and ExoPlayer MediaItem.
- + MediaLoadData
Descriptor for data being loaded or selected by a MediaSource.
- + MediaMetadata
Metadata of a MediaItem, playlist, or a combination of multiple sources of Metadata.
- + MediaMetadata.Builder
A builder for MediaMetadata instances.
- + MediaMetadata.FolderType
The folder type of the media item.
- + MediaMetadata.PictureType
The picture type of the artwork.
- + +MediaMetricsListener + +
An AnalyticsListener that interacts with the Android MediaMetricsManager.
+ + + MediaParserChunkExtractor
ChunkExtractor implemented on top of the platform's MediaParser.
- + MediaParserExtractorAdapter
ProgressiveMediaExtractor implemented on top of the platform's MediaParser.
- + MediaParserHlsMediaChunkExtractor
HlsMediaChunkExtractor implemented on top of the platform's MediaParser.
- + MediaParserUtil
Miscellaneous constants and utility methods related to the MediaParser integration.
- + MediaPeriod
Loads media corresponding to a Timeline.Period, and allows that media to be read.
- + MediaPeriod.Callback
A callback to be notified of MediaPeriod events.
- + MediaPeriodAsserts
Assertion methods for MediaPeriod.
- + MediaPeriodAsserts.FilterableManifestMediaPeriodFactory<T extends FilterableManifest<T>>
Interface to create media periods for testing based on a FilterableManifest.
- + MediaPeriodId
Identifies a specific playback of a Timeline.Period.
- + MediaSessionConnector
Connects a MediaSessionCompat to a Player.
- + MediaSessionConnector.CaptionCallback
Handles requests for enabling or disabling captions.
- + MediaSessionConnector.CommandReceiver
Receiver of media commands sent by a media controller.
- + MediaSessionConnector.CustomActionProvider
Provides a PlaybackStateCompat.CustomAction to be published and handles the action when sent by a media controller.
- + MediaSessionConnector.DefaultMediaMetadataProvider
Provides a default MediaMetadataCompat with properties and extras taken from the MediaDescriptionCompat of the MediaSessionCompat.QueueItem of the active queue item.
- + MediaSessionConnector.MediaButtonEventHandler
Handles a media button event.
- + MediaSessionConnector.MediaMetadataProvider
Provides a MediaMetadataCompat for a given player state.
- + MediaSessionConnector.PlaybackActions
Playback actions supported by the connector.
- + MediaSessionConnector.PlaybackPreparer
Interface to which playback preparation and play actions are delegated.
- + MediaSessionConnector.QueueEditor
Handles media session queue edits.
- + MediaSessionConnector.QueueNavigator
Handles queue navigation actions, and updates the media session queue by calling MediaSessionCompat.setQueue().
- + MediaSessionConnector.RatingCallback
Callback receiving a user rating for the active media item.
- + MediaSource
Defines and provides media to be played by an ExoPlayer.
- + +MediaSource.Factory + +
Factory for creating MediaSources from MediaItems.
+ + + MediaSource.MediaPeriodId
Identifier for a MediaPeriod.
- + MediaSource.MediaSourceCaller
A caller of media sources, which will be notified of source events.
- + MediaSourceEventListener
Interface for callbacks to be notified of MediaSource events.
- + MediaSourceEventListener.EventDispatcher
Dispatches events to MediaSourceEventListeners.
- + MediaSourceFactory - -
Factory for creating MediaSources from MediaItems.
+Deprecated. + - + MediaSourceTestRunner
A runner for MediaSource tests.
- + MergingMediaSource
Merges multiple MediaSources.
- + MergingMediaSource.IllegalMergeException
Thrown when a MergingMediaSource cannot merge its sources.
- + MergingMediaSource.IllegalMergeException.Reason
The reason the merge failed.
- + Metadata
A collection of metadata entries.
- + Metadata.Entry
A metadata entry.
- + MetadataDecoder
Decodes metadata from binary data.
- + MetadataDecoderFactory
A factory for MetadataDecoder instances.
- + MetadataInputBuffer - + MetadataOutput
Receives metadata output.
- + MetadataRenderer
A renderer for metadata.
- + MetadataRetriever
Retrieves the static metadata of MediaItems.
- + MimeTypes
Defines common MIME types and helper methods.
- + MlltFrame
MPEG location lookup table frame.
- + MotionPhotoMetadata
Metadata of a motion photo file.
- + Mp3Extractor
Extracts data from the MP3 container format.
- + Mp3Extractor.Flags
Flags controlling the behavior of the extractor.
- + Mp4Extractor
Extracts data from the MP4 container format.
- + Mp4Extractor.Flags
Flags controlling the behavior of the extractor.
- + Mp4WebvttDecoder
A SimpleSubtitleDecoder for Webvtt embedded in a Mp4 container file.
- + MpegAudioReader
Parses a continuous MPEG Audio byte stream and extracts individual frames.
- + MpegAudioUtil
Utility methods for handling MPEG audio streams.
- + MpegAudioUtil.Header
Stores the metadata for an MPEG audio frame.
- + NalUnitUtil
Utility methods for handling H.264/AVC and H.265/HEVC NAL units.
- + NalUnitUtil.H265SpsData
Holds data parsed from a H.265 sequence parameter set NAL unit.
- + NalUnitUtil.PpsData
Holds data parsed from a picture parameter set NAL unit.
- + NalUnitUtil.SpsData
Holds data parsed from a H.264 sequence parameter set NAL unit.
- + NetworkTypeObserver
Observer for network type changes.
- + NetworkTypeObserver.Config
Configuration for NetworkTypeObserver.
- + NetworkTypeObserver.Listener
A listener for network type changes.
- + NonNullApi
Annotation to declare all type usages in the annotated instance as Nonnull, unless explicitly marked with a nullable annotation.
- + NoOpCacheEvictor
Evictor that doesn't ever evict cache files.
- + NoSampleRenderer
A Renderer implementation whose track type is C.TRACK_TYPE_NONE and does not consume data from its SampleStream.
- + NotificationUtil
Utility methods for displaying Notifications.
- + NotificationUtil.Importance
Notification channel importance levels.
- + NoUidTimeline
A timeline which wraps another timeline and overrides all window and period uids to 0.
- + OfflineLicenseHelper
Helper class to download, renew and release offline licenses.
- + OggExtractor
Extracts data from the Ogg container format.
- + OkHttpDataSource
An HttpDataSource that delegates to Square's Call.Factory.
- + OkHttpDataSource.Factory - + OkHttpDataSourceFactory Deprecated. - + OpusDecoder
Opus decoder.
- + OpusDecoderException
Thrown when an Opus decoder error occurs.
- + OpusLibrary
Configures and queries the underlying native library.
- + OpusUtil
Utility methods for handling Opus audio streams.
- + OutputConsumerAdapterV30
MediaParser.OutputConsumer implementation that redirects output to an ExtractorOutput.
- + ParsableBitArray
Wraps a byte array, providing methods that allow it to be read as a bitstream.
- + ParsableByteArray
Wraps a byte array, providing a set of methods for parsing data from it.
- + ParsableNalUnitBitArray
Wraps a byte array, providing methods that allow it to be read as a NAL unit bitstream.
- + ParserException
Thrown when an error occurs parsing media data and metadata.
- + ParsingLoadable<T>
A Loader.Loadable for objects that can be parsed from binary data using a ParsingLoadable.Parser.
- + ParsingLoadable.Parser<T>
Parses an object from loaded data.
- + PassthroughSectionPayloadReader
A SectionPayloadReader that directly outputs the section bytes as sample data.
- + PercentageRating
A rating expressed as a percentage.
- + Period
Encapsulates media content components over a contiguous period of time.
- + PesReader
Parses PES packet data and extracts samples.
- + PgsDecoder
A SimpleSubtitleDecoder for PGS subtitles.
- + PictureFrame -
A picture parsed from a FLAC file.
+
A picture parsed from a Vorbis Comment or a FLAC picture block.
- + PlatformScheduler
A Scheduler that uses JobScheduler.
- + PlatformScheduler.PlatformSchedulerService
A JobService that starts the target service if the requirements are met.
- + PlaybackException
Thrown when a non locally recoverable playback failure occurs.
- + PlaybackException.ErrorCode
Codes that identify causes of player errors.
- + PlaybackException.FieldNumber
Identifiers for fields in a Bundle which represents a playback exception.
- + PlaybackOutput
Class to capture output from a playback test.
- + PlaybackParameters
Parameters that apply to playback, including speed setting.
- + PlaybackSessionManager
Manager for active playback sessions.
- + PlaybackSessionManager.Listener
A listener for session updates.
- + PlaybackStats
Statistics about playbacks.
- + PlaybackStats.EventTimeAndException
Stores an exception with the event time at which it occurred.
- + PlaybackStats.EventTimeAndFormat
Stores a format with the event time at which it started being used, or null to indicate that no format was used.
- + PlaybackStats.EventTimeAndPlaybackState
Stores a playback state with the event time at which it became active.
- + PlaybackStatsListener
AnalyticsListener to gather PlaybackStats from the player.
- + PlaybackStatsListener.Callback
A listener for PlaybackStats updates.
- + Player
A media player interface defining traditional high-level functionality, such as the ability to play, pause, seek and query properties of the currently playing media.
- + Player.Command
Commands that can be executed on a Player.
- + Player.Commands
A set of commands.
- + Player.Commands.Builder
A builder for Player.Commands instances.
- + Player.DiscontinuityReason
Reasons for position discontinuities.
- + Player.Event
Events that can be reported via Player.Listener.onEvents(Player, Events).
- -Player.EventListener -Deprecated. - - - - + Player.Events
A set of events.
- + Player.Listener
Listener of all changes in the Player.
- + Player.MediaItemTransitionReason
Reasons for media item transitions.
- + Player.PlaybackSuppressionReason
Reason why playback is suppressed even though Player.getPlayWhenReady() is true.
- + Player.PlayWhenReadyChangeReason
Reasons for playWhenReady changes.
- + Player.PositionInfo
Position info describing a playback position involved in a discontinuity.
- + Player.RepeatMode
Repeat modes for playback.
- + Player.State
Playback state.
- + Player.TimelineChangeReason
Reasons for timeline changes.
- + PlayerControlView
A view for controlling Player instances.
- + PlayerControlView.ProgressUpdateListener
Listener to be notified when progress has been updated.
- + PlayerControlView.VisibilityListener
Listener to be notified about changes of the visibility of the UI control.
- + PlayerEmsgHandler
Handles all emsg messages from all media tracks for the player.
- + PlayerEmsgHandler.PlayerEmsgCallback
Callbacks for player emsg events encountered during DASH live stream.
- + +PlayerId + +
Identifier for a player instance.
+ + + PlayerMessage
Defines a player message which can be sent with a PlayerMessage.Sender and received by a PlayerMessage.Target.
- + PlayerMessage.Sender
A sender for messages.
- + PlayerMessage.Target
A target for messages.
- + PlayerNotificationManager
Starts, updates and cancels a media style notification reflecting the player state.
- + PlayerNotificationManager.Builder
A builder for PlayerNotificationManager instances.
- + PlayerNotificationManager.CustomActionReceiver
Defines and handles custom actions.
- + PlayerNotificationManager.MediaDescriptionAdapter
An adapter to provide content assets of the media currently playing.
- + PlayerNotificationManager.NotificationListener
A listener for changes to the notification.
- + PlayerNotificationManager.Priority
Priority of the notification (required for API 25 and lower).
- + PlayerNotificationManager.Visibility
Visibility of notification on the lock screen.
- + PlayerView - -
A high level view for Player media playbacks.
+Deprecated. +
Use StyledPlayerView instead.
- + PlayerView.ShowBuffering
Determines when the buffering view is shown.
- + PositionHolder
Holds a position in the stream.
- + PriorityDataSource
A DataSource that can be used as part of a task registered with a PriorityTaskManager.
- + PriorityDataSource.Factory - + PriorityDataSourceFactory Deprecated. - + PriorityTaskManager
Allows tasks with associated priorities to control how they proceed relative to one another.
- + PriorityTaskManager.PriorityTooLowException
Thrown when task attempts to proceed when another registered task has a higher priority.
- + PrivateCommand
Represents a private command as defined in SCTE35, Section 9.3.6.
- + PrivFrame
PRIV (Private) ID3 frame.
- + ProgramInformation
A parsed program information element.
- + ProgressHolder
Holds a progress percentage.
- + ProgressiveDownloader
A downloader for progressive media streams.
- + ProgressiveMediaExtractor
Extracts the contents of a container file from a progressive media stream.
- + ProgressiveMediaExtractor.Factory
Creates ProgressiveMediaExtractor instances.
- + ProgressiveMediaSource
Provides one period that loads data from a Uri and extracted using an Extractor.
- + ProgressiveMediaSource.Factory - + PsExtractor
Extracts data from the MPEG-2 PS container format.
- + PsshAtomUtil
Utility methods for handling PSSH atoms.
- + RandomizedMp3Decoder
Generates randomized, but correct amount of data on MP3 audio input.
- + RandomTrackSelection
An ExoTrackSelection whose selected track is updated randomly.
- + RandomTrackSelection.Factory
Factory for RandomTrackSelection instances.
- + RangedUri
Defines a range of data located at a reference uri.
- + Rating
A rating for media content.
- + RawCcExtractor
Extracts data from the RawCC container format.
- + RawResourceDataSource
A DataSource for reading a raw resource inside the APK.
- + RawResourceDataSource.RawResourceDataSourceException
Thrown when an IOException is encountered reading from a raw resource.
- + Renderer
Renders media read from a SampleStream.
- + Renderer.MessageType
Represents a type of message that can be passed to a renderer.
- + Renderer.State
The renderer states.
- + Renderer.WakeupListener
Some renderers can signal when Renderer.render(long, long) should be called.
- + RendererCapabilities
Defines the capabilities of a Renderer.
- + RendererCapabilities.AdaptiveSupport
Level of renderer support for adaptive format switches.
- + RendererCapabilities.Capabilities
Combined renderer capabilities.
- + +RendererCapabilities.DecoderSupport + +
Level of decoder support.
+ + + RendererCapabilities.FormatSupport Deprecated.
Use C.FormatSupport instead.
- + +RendererCapabilities.HardwareAccelerationSupport + +
Level of renderer support for hardware acceleration.
+ + + RendererCapabilities.TunnelingSupport
Level of renderer support for tunneling.
- + RendererConfiguration
The configuration of a Renderer.
- + RenderersFactory
Builds Renderer instances for use by an ExoPlayer.
- + RepeatModeActionProvider
Provides a custom action for toggling repeat modes.
- + RepeatModeUtil
Util class for repeat mode handling.
- + RepeatModeUtil.RepeatToggleModes
Set of repeat toggle modes.
- + Representation
A DASH representation.
- + Representation.MultiSegmentRepresentation
A DASH representation consisting of multiple segments.
- + Representation.SingleSegmentRepresentation
A DASH representation consisting of a single segment.
- + Requirements
Defines a set of device state requirements.
- + Requirements.RequirementFlags
Requirement flags.
- + RequirementsWatcher
Watches whether the Requirements are met and notifies the RequirementsWatcher.Listener on changes.
- + RequirementsWatcher.Listener
Notified when RequirementsWatcher instance first created and on changes whether the Requirements are met.
- + ResolvingDataSource
DataSource wrapper allowing just-in-time resolution of DataSpecs.
- + ResolvingDataSource.Factory - + ResolvingDataSource.Resolver
Resolves DataSpecs.
- + RobolectricUtil
Utility methods for Robolectric-based tests.
- + RtmpDataSource
A Real-Time Messaging Protocol (RTMP) DataSource.
- + RtmpDataSource.Factory - + RtmpDataSourceFactory Deprecated. - + RtpAc3Reader
Parses an AC3 byte stream carried on RTP packets, and extracts AC3 frames.
- + RtpPacket
Represents the header and the payload of an RTP packet.
- + RtpPacket.Builder
Builder class for an RtpPacket
- + RtpPayloadFormat
Represents the payload format used in RTP.
- + RtpPayloadReader
Extracts media samples from the payload of received RTP packets.
- + RtpPayloadReader.Factory
Factory of RtpPayloadReader instances.
- + RtpUtils
Utility methods for RTP.
- + RtspMediaSource
An Rtsp MediaSource
- + RtspMediaSource.Factory
Factory for RtspMediaSource
- + RtspMediaSource.RtspPlaybackException
Thrown when an exception or error is encountered during loading an RTSP stream.
- + RubySpan
A styling span for ruby text.
- + RunnableFutureTask<R,​E extends Exception>
A RunnableFuture that supports additional uninterruptible operations to query whether execution has started and finished.
- + SampleQueue
A queue of media samples.
- + SampleQueue.UpstreamFormatChangedListener
A listener for changes to the upstream format.
- + SampleQueueMappingException
Thrown when it is not possible to map a TrackGroup to a SampleQueue.
- + SampleStream
A stream of media samples (and associated format information).
- + SampleStream.ReadDataResult - + - + SampleStream.ReadFlags - + - + Scheduler
Schedules a service to be started in the foreground when some Requirements are met.
- + SectionPayloadReader
Reads section data.
- + SectionReader
Reads section data packets and feeds the whole sections to a given SectionPayloadReader.
- + SeekMap
Maps seek positions (in microseconds) to corresponding positions (byte offsets) in the stream.
- + SeekMap.SeekPoints
Contains one or two SeekPoints.
- + SeekMap.Unseekable
A SeekMap that does not support seeking.
- + SeekParameters
Parameters that apply to seeking.
- + SeekPoint
Defines a seek point in a media stream.
- + SegmentBase
An approximate representation of a SegmentBase manifest element.
- + SegmentBase.MultiSegmentBase
A SegmentBase that consists of multiple segments.
- + SegmentBase.SegmentList
A SegmentBase.MultiSegmentBase that uses a SegmentList to define its segments.
- + SegmentBase.SegmentTemplate
A SegmentBase.MultiSegmentBase that uses a SegmentTemplate to define its segments.
- + SegmentBase.SegmentTimelineElement
Represents a timeline segment from the MPD's SegmentTimeline list.
- + SegmentBase.SingleSegmentBase
A SegmentBase that defines a single segment.
- + SegmentDownloader<M extends FilterableManifest<M>>
Base class for multi segment stream downloaders.
- + SegmentDownloader.Segment
Smallest unit of content to be downloaded.
- + SeiReader
Consumes SEI buffers, outputting contained CEA-608/708 messages to a TrackOutput.
- + SequenceableLoader
A loader that can proceed in approximate synchronization with other loaders.
- + SequenceableLoader.Callback<T extends SequenceableLoader>
A callback to be notified of SequenceableLoader events.
- -ServerSideInsertedAdsMediaSource + +ServerSideAdInsertionMediaSource
A MediaSource for server-side inserted ad breaks.
- -ServerSideInsertedAdsUtil + +ServerSideAdInsertionMediaSource.AdPlaybackStateUpdater + +
Receives ad playback state update requests when the Timeline of the content media + source has changed.
+ + + +ServerSideAdInsertionUtil
A static utility class with methods to work with server-side inserted ads.
- + ServiceDescriptionElement
Represents a service description element.
- + SessionAvailabilityListener
Listener of changes in the cast session availability.
- + SessionCallbackBuilder
Builds a MediaSession.SessionCallback with various collaborators.
- + SessionCallbackBuilder.AllowedCommandProvider
Provides allowed commands for MediaController.
- + SessionCallbackBuilder.CustomCommandProvider
Callbacks for querying what custom commands are supported, and for handling a custom command when a controller sends it.
- + SessionCallbackBuilder.DefaultAllowedCommandProvider
Default implementation of SessionCallbackBuilder.AllowedCommandProvider that behaves as follows: @@ -5945,1356 +6054,1369 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); Controller is in the same package as the session.
- + SessionCallbackBuilder.DisconnectedCallback
Callback for handling controller disconnection.
- + SessionCallbackBuilder.MediaIdMediaItemProvider
A SessionCallbackBuilder.MediaItemProvider that creates media items containing only a media ID.
- + SessionCallbackBuilder.MediaItemProvider
Provides the MediaItem.
- + SessionCallbackBuilder.PostConnectCallback
Callback for handling extra initialization after the connection.
- + SessionCallbackBuilder.RatingCallback
Callback receiving a user rating for a specified media id.
- + SessionCallbackBuilder.SkipCallback
Callback receiving skip backward and skip forward.
- + SessionPlayerConnector
An implementation of SessionPlayer that wraps a given ExoPlayer Player instance.
- + ShadowMediaCodecConfig
A JUnit @Rule to configure Roboelectric's ShadowMediaCodec.
- + ShuffleOrder
Shuffled order of indices.
- + ShuffleOrder.DefaultShuffleOrder
The default ShuffleOrder implementation for random shuffle order.
- + ShuffleOrder.UnshuffledShuffleOrder
A ShuffleOrder implementation which does not shuffle.
- + SilenceMediaSource
Media source with a single period consisting of silent raw audio of a given duration.
- + SilenceMediaSource.Factory
Factory for SilenceMediaSources.
- + SilenceSkippingAudioProcessor
An AudioProcessor that skips silence in the input stream.
- + SimpleCache
A Cache implementation that maintains an in-memory representation.
- + SimpleDecoder<I extends DecoderInputBuffer,​O extends DecoderOutputBuffer,​E extends DecoderException>
Base class for Decoders that use their own decode thread and decode each input buffer immediately into a corresponding output buffer.
- + SimpleDecoderOutputBuffer
Buffer for SimpleDecoder output.
- + SimpleExoPlayer Deprecated.
Use ExoPlayer instead.
- + SimpleExoPlayer.Builder Deprecated.
Use ExoPlayer.Builder instead.
- + SimpleMetadataDecoder
A MetadataDecoder base class that validates input buffers and discards any for which Buffer.isDecodeOnly() is true.
- + SimpleSubtitleDecoder
Base class for subtitle parsers that use their own decode thread.
- + SinglePeriodAdTimeline
A Timeline for sources that have ads.
- + SinglePeriodTimeline
A Timeline consisting of a single period and static window.
- + SingleSampleMediaChunk
A BaseMediaChunk for chunks consisting of a single raw sample.
- + SingleSampleMediaSource
Loads data at a given Uri as a single sample belonging to a single MediaPeriod.
- + SingleSampleMediaSource.Factory - + SlidingPercentile
Calculate any percentile over a sliding window of weighted values.
- + SlowMotionData
Holds information about the segments of slow motion playback within a track.
- + SlowMotionData.Segment
Holds information about a single segment of slow motion playback within a track.
- + SmtaMetadataEntry
Stores metadata from the Samsung smta box.
- + SntpClient
Static utility to retrieve the device time offset using SNTP.
- + SntpClient.InitializationCallback - + SonicAudioProcessor
An AudioProcessor that uses the Sonic library to modify audio speed/pitch/sample rate.
- + SpannedSubject
A Truth Subject for assertions on Spanned instances containing text styling.
- + SpannedSubject.AbsoluteSized
Allows assertions about the absolute size of a span.
- + SpannedSubject.Aligned
Allows assertions about the alignment of a span.
- + SpannedSubject.AndSpanFlags
Allows additional assertions to be made on the flags of matching spans.
- + SpannedSubject.Colored
Allows assertions about the color of a span.
- + SpannedSubject.EmphasizedText
Allows assertions about a span's text emphasis mark and its position.
- + SpannedSubject.RelativeSized
Allows assertions about the relative size of a span.
- + SpannedSubject.RubyText
Allows assertions about a span's ruby text and its position.
- + SpannedSubject.Typefaced
Allows assertions about the typeface of a span.
- + SpannedSubject.WithSpanFlags
Allows additional assertions to be made on the flags of matching spans.
- + SpanUtil
Utility methods for Android span styling.
- + SphericalGLSurfaceView
Renders a GL scene in a non-VR Activity that is affected by phone orientation and touch input.
- + SphericalGLSurfaceView.VideoSurfaceListener
Listener for the Surface to which video frames should be rendered.
- + SpliceCommand
Superclass for SCTE35 splice commands.
- + SpliceInfoDecoder
Decodes splice info sections and produces splice commands.
- + SpliceInsertCommand
Represents a splice insert command defined in SCTE35, Section 9.3.3.
- + SpliceInsertCommand.ComponentSplice
Holds splicing information for specific splice insert command components.
- + SpliceNullCommand
Represents a splice null command as defined in SCTE35, Section 9.3.1.
- + SpliceScheduleCommand
Represents a splice schedule command as defined in SCTE35, Section 9.3.2.
- + SpliceScheduleCommand.ComponentSplice
Holds splicing information for specific splice schedule command components.
- + SpliceScheduleCommand.Event
Represents a splice event as contained in a SpliceScheduleCommand.
- + SsaDecoder
A SimpleSubtitleDecoder for SSA/ASS.
- + SsChunkSource
A ChunkSource for SmoothStreaming.
- + SsChunkSource.Factory
Factory for SsChunkSources.
- + SsDownloader
A downloader for SmoothStreaming streams.
- + SsManifest
Represents a SmoothStreaming manifest.
- + SsManifest.ProtectionElement
Represents a protection element containing a single header.
- + SsManifest.StreamElement
Represents a StreamIndex element.
- + SsManifestParser
Parses SmoothStreaming client manifests.
- + SsManifestParser.MissingFieldException
Thrown if a required field is missing.
- + SsMediaSource
A SmoothStreaming MediaSource.
- + SsMediaSource.Factory
Factory for SsMediaSource.
- + StandaloneDatabaseProvider
An SQLiteOpenHelper that provides instances of a standalone database.
- + StandaloneMediaClock
A MediaClock whose position advances with real time based on the playback parameters when started.
- + StarRating
A rating expressed as a fractional number of stars.
- + StartOffsetExtractorOutput
An extractor output that wraps another extractor output and applies a give start byte offset to seek positions.
- + StatsDataSource
DataSource wrapper which keeps track of bytes transferred, redirected uris, and response headers.
- + StreamKey
A key for a subset of media that can be separately loaded (a "stream").
- + StubExoPlayer
An abstract ExoPlayer implementation that throws UnsupportedOperationException from every method.
- + StubPlayer
An abstract Player implementation that throws UnsupportedOperationException from every method.
- + StyledPlayerControlView
A view for controlling Player instances.
- + StyledPlayerControlView.OnFullScreenModeChangedListener
Listener to be invoked to inform the fullscreen mode is changed.
- + StyledPlayerControlView.ProgressUpdateListener
Listener to be notified when progress has been updated.
- + StyledPlayerControlView.VisibilityListener
Listener to be notified about changes of the visibility of the UI control.
- + StyledPlayerView
A high level view for Player media playbacks.
- + StyledPlayerView.ShowBuffering
Determines when the buffering view is shown.
- + SubripDecoder
A SimpleSubtitleDecoder for SubRip.
- + Subtitle
A subtitle consisting of timed Cues.
- + SubtitleDecoder - + SubtitleDecoderException
Thrown when an error occurs decoding subtitle data.
- + SubtitleDecoderFactory
A factory for SubtitleDecoder instances.
- + SubtitleExtractor
Generic extractor for extracting subtitles from various subtitle formats.
- + SubtitleInputBuffer - + SubtitleOutputBuffer
Base class for SubtitleDecoder output buffers.
- + SubtitleView
A view for displaying subtitle Cues.
- + SubtitleView.ViewType
The type of View to use to display subtitles.
- + SynchronousMediaCodecAdapter
A MediaCodecAdapter that operates the underlying MediaCodec in synchronous mode.
- + SynchronousMediaCodecAdapter.Factory
A factory for SynchronousMediaCodecAdapter instances.
- + SystemClock
The standard implementation of Clock, an instance of which is available via Clock.DEFAULT.
- + TeeAudioProcessor
Audio processor that outputs its input unmodified and also outputs its input to a given sink.
- + TeeAudioProcessor.AudioBufferSink
A sink for audio buffers handled by the audio processor.
- + TeeAudioProcessor.WavFileAudioBufferSink
A sink for audio buffers that writes output audio as .wav files with a given path prefix.
- + TeeDataSource
Tees data into a DataSink as the data is read.
- + TestDownloadManagerListener
Allows tests to block for, and assert properties of, calls from a DownloadManager to its DownloadManager.Listener.
- + TestExoPlayerBuilder -
A builder of SimpleExoPlayer instances for testing.
+
A builder of ExoPlayer instances for testing.
- + TestPlayerRunHelper
Helper methods to block the calling thread until the provided ExoPlayer instance reaches a particular state.
- + TestUtil
Utility methods for tests.
- + TextAnnotation
Properties of a text annotation (i.e.
- + TextAnnotation.Position
The possible positions of the annotation text relative to the base text.
- + TextEmphasisSpan
A styling span for text emphasis marks.
- + TextEmphasisSpan.MarkFill
The possible mark fills that can be used.
- + TextEmphasisSpan.MarkShape
The possible mark shapes that can be used.
- + TextInformationFrame
Text information ID3 frame.
- + TextOutput
Receives text output.
- + TextRenderer
A renderer for text.
- + ThumbRating
A rating expressed as "thumbs up" or "thumbs down".
- + TimeBar
Interface for time bar views that can display a playback position, buffered position, duration and ad markers, and that have a listener for scrubbing (seeking) events.
- + TimeBar.OnScrubListener
Listener for scrubbing events.
- + TimedValueQueue<V>
A utility class to keep a queue of values with timestamps.
- + Timeline
A flexible representation of the structure of media.
- + Timeline.Period
Holds information about a period in a Timeline.
- + Timeline.RemotableTimeline
A concrete class of Timeline to restore a Timeline instance from a Bundle sent by another process via IBinder.
- + Timeline.Window
Holds information about a window in a Timeline.
- + TimelineAsserts
Assertion methods for Timeline.
- + TimelineQueueEditor - + TimelineQueueEditor.MediaDescriptionConverter
Converts a MediaDescriptionCompat to a MediaItem.
- + TimelineQueueEditor.MediaIdEqualityChecker
Media description comparator comparing the media IDs.
- + TimelineQueueEditor.QueueDataAdapter
Adapter to get MediaDescriptionCompat of items in the queue and to notify the application about changes in the queue to sync the data structure backing the MediaSessionConnector.
- + TimelineQueueNavigator
An abstract implementation of the MediaSessionConnector.QueueNavigator that maps the windows of a Player's Timeline to the media session queue.
- + TimeSignalCommand
Represents a time signal command as defined in SCTE35, Section 9.3.4.
- + TimestampAdjuster
Adjusts and offsets sample timestamps.
- + TimestampAdjusterProvider
Provides TimestampAdjuster instances for use during HLS playbacks.
- + TimeToFirstByteEstimator
Provides an estimate of the time to first byte of a transfer.
- + TraceUtil
Calls through to Trace methods on supported API levels.
- + Track
Encapsulates information describing an MP4 track.
- + Track.Transformation
The transformation to apply to samples in the track, if any.
- + TrackEncryptionBox
Encapsulates information parsed from a track encryption (tenc) box or sample group description (sgpd) box in an MP4 stream.
- + TrackGroup
Defines an immutable group of tracks identified by their format identity.
- + TrackGroupArray
An immutable array of TrackGroups.
- + TrackNameProvider
Converts Formats to user readable track names.
- + TrackOutput
Receives track level data extracted by an Extractor.
- + TrackOutput.CryptoData
Holds data required to decrypt a sample.
- + TrackOutput.SampleDataPart
Defines the part of the sample data to which a call to TrackOutput.sampleData(com.google.android.exoplayer2.upstream.DataReader, int, boolean) corresponds.
- + TrackSelection
A track selection consisting of a static subset of selected tracks belonging to a TrackGroup.
- + TrackSelection.Type
Represents a type track selection.
- + TrackSelectionArray
An array of TrackSelections.
- + TrackSelectionDialogBuilder
Builder for a dialog with a TrackSelectionView.
- + TrackSelectionDialogBuilder.DialogCallback
Callback which is invoked when a track selection has been made.
- + TrackSelectionOverrides
Forces the selection of the specified tracks in TrackGroups.
- + TrackSelectionOverrides.Builder - + TrackSelectionOverrides.TrackSelectionOverride - + TrackSelectionParameters
Constraint parameters for track selection.
- + TrackSelectionParameters.Builder - + TrackSelectionUtil
Track selection related utility methods.
- + TrackSelectionUtil.AdaptiveTrackSelectionFactory
Functional interface to create a single adaptive track selection.
- + TrackSelectionView
A view for making track selections.
- + TrackSelectionView.TrackSelectionListener
Listener for changes to the selected tracks.
- + TrackSelector
The component of an ExoPlayer responsible for selecting tracks to be consumed by each of the player's Renderers.
- + TrackSelector.InvalidationListener
Notified when selections previously made by a TrackSelector are no longer valid.
- + TrackSelectorResult
The result of a TrackSelector operation.
- + TracksInfo -
Immutable information (TracksInfo.TrackGroupInfo) about tracks.
+
Information about groups of tracks.
- + TracksInfo.TrackGroupInfo -
Information about tracks in a TrackGroup: their C.TrackType, if their format is - supported by the player and if they are selected for playback.
+
Information about a single group of tracks, including the underlying TrackGroup, the + type of tracks it contains, and the level to which each track is supported + by the player.
- -TranscodingTransformer - -
A transcoding transformer to transform media inputs.
- - - -TranscodingTransformer.Builder - -
A builder for TranscodingTransformer instances.
- - - -TranscodingTransformer.Listener - -
A listener for the transformation events.
- - - -TranscodingTransformer.ProgressState - -
Progress state.
- - - + TransferListener
A listener of data transfer events.
- + +TransformationException + +
Thrown when a non-locally recoverable transformation failure occurs.
+ + + +TransformationException.ErrorCode + +
Codes that identify causes of Transformer errors.
+ + + +TransformationRequest + +
A media transformation request.
+ + + +TransformationRequest.Builder + +
A builder for TransformationRequest instances.
+ + + Transformer
A transformer to transform media inputs.
- + Transformer.Builder
A builder for Transformer instances.
- + +Transformer.DebugViewProvider + +
Provider for views to show diagnostic information during transformation, for debugging.
+ + + Transformer.Listener
A listener for the transformation events.
- + Transformer.ProgressState
Progress state.
- + TrueHdSampleRechunker
Rechunks TrueHD sample data into groups of Ac3Util.TRUEHD_RECHUNK_SAMPLE_COUNT samples.
- + TsExtractor
Extracts data from the MPEG-2 TS container format.
- + TsExtractor.Mode
Modes for the extractor.
- + TsPayloadReader
Parses TS packet payload data.
- + TsPayloadReader.DvbSubtitleInfo
Holds information about a DVB subtitle, as defined in ETSI EN 300 468 V1.11.1 section 6.2.41.
- + TsPayloadReader.EsInfo
Holds information associated with a PMT entry.
- + TsPayloadReader.Factory
Factory of TsPayloadReader instances.
- + TsPayloadReader.Flags
Contextual flags indicating the presence of indicators in the TS packet or PES packet headers.
- + TsPayloadReader.TrackIdGenerator
Generates track ids for initializing TsPayloadReaders' TrackOutputs.
- + TsUtil
Utilities method for extracting MPEG-TS streams.
- + TtmlDecoder
A SimpleSubtitleDecoder for TTML supporting the DFXP presentation profile.
- + Tx3gDecoder - + UdpDataSource
A UDP DataSource.
- + UdpDataSource.UdpDataSourceException
Thrown when an error is encountered when trying to read from a UdpDataSource.
- + UnknownNull
Annotation for specifying unknown nullness.
- + UnrecognizedInputFormatException
Thrown if the input format was not recognized.
- + UnsupportedDrmException
Thrown when the requested DRM scheme is not supported.
- + UnsupportedDrmException.Reason
The reason for the exception.
- + UriUtil
Utility methods for manipulating URIs.
- + UrlLinkFrame
Url link ID3 frame.
- + UrlTemplate
A template from which URLs can be built.
- + UtcTimingElement
Represents a UTCTiming element.
- + Util
Miscellaneous utility methods.
- + VersionTable
Utility methods for accessing versions of media library database components.
- + VideoDecoderGLSurfaceView
GLSurfaceView implementing VideoDecoderOutputBufferRenderer for rendering VideoDecoderOutputBuffers.
- + VideoDecoderOutputBuffer
Video decoder output buffer containing video frame data.
- + VideoDecoderOutputBufferRenderer - + VideoFrameMetadataListener
A listener for metadata corresponding to video frames being rendered.
- + VideoFrameReleaseHelper
Helps a video Renderer release frames to a Surface.
- + VideoRendererEventListener
Listener of video Renderer events.
- + VideoRendererEventListener.EventDispatcher
Dispatches events to a VideoRendererEventListener.
- + VideoSize
Represents the video size.
- + VorbisBitArray
Wraps a byte array, providing methods that allow it to be read as a Vorbis bitstream.
- + VorbisComment - -
A vorbis comment.
+Deprecated. +
Use VorbisComment instead.
- + +VorbisComment + +
A vorbis comment, extracted from a FLAC or Ogg file.
+ + + VorbisUtil
Utility methods for parsing Vorbis streams.
- + VorbisUtil.CommentHeader
Vorbis comment header.
- + VorbisUtil.Mode
Vorbis setup header modes.
- + VorbisUtil.VorbisIdHeader
Vorbis identification header.
- + VpxDecoder
Vpx decoder.
- + VpxDecoderException
Thrown when a libvpx decoder error occurs.
- + VpxLibrary
Configures and queries the underlying native library.
- + WavExtractor
Extracts data from WAV byte streams.
- + WavUtil
Utilities for handling WAVE files.
- + WebServerDispatcher
A Dispatcher for MockWebServer that allows per-path customisation of the static data served.
- + WebServerDispatcher.Resource
A resource served by WebServerDispatcher.
- + WebServerDispatcher.Resource.Builder - + WebvttCssStyle
Style object of a Css style block in a Webvtt file.
- + WebvttCssStyle.FontSizeUnit
Font size unit enum.
- + WebvttCssStyle.StyleFlags
Style flag enum.
- + WebvttCueInfo
A representation of a WebVTT cue.
- + WebvttCueParser
Parser for WebVTT cues.
- + WebvttDecoder
A SimpleSubtitleDecoder for WebVTT.
- + WebvttExtractor
A special purpose extractor for WebVTT content in HLS.
- + WebvttParserUtil
Utility methods for parsing WebVTT data.
- + WidevineUtil
Utility methods for Widevine.
- + WorkManagerScheduler
A Scheduler that uses WorkManager.
- + WorkManagerScheduler.SchedulerWorker
A Worker that starts the target service if the requirements are met.
- + WritableDownloadIndex
A writable index of Downloads.
- + XmlPullParserUtil
XmlPullParser utility methods.
diff --git a/docs/doc/reference/allclasses.html b/docs/doc/reference/allclasses.html index 5d8782d8f4..a7db5bc75c 100644 --- a/docs/doc/reference/allclasses.html +++ b/docs/doc/reference/allclasses.html @@ -63,8 +63,6 @@
  • Action.WaitForPlayWhenReady
  • Action.WaitForPositionDiscontinuity
  • Action.WaitForTimelineChanged
  • -
  • ActionFileUpgradeUtil
  • -
  • ActionFileUpgradeUtil.DownloadIdProvider
  • ActionSchedule
  • ActionSchedule.Builder
  • ActionSchedule.Callback
  • @@ -77,12 +75,14 @@
  • AdaptiveTrackSelection.Factory
  • AdditionalFailureInfo
  • AdOverlayInfo
  • +
  • AdOverlayInfo.Builder
  • AdOverlayInfo.Purpose
  • AdPlaybackState
  • AdPlaybackState.AdGroup
  • AdPlaybackState.AdState
  • AdsLoader
  • AdsLoader.EventListener
  • +
  • AdsLoader.Provider
  • AdsMediaSource
  • AdsMediaSource.AdLoadException
  • AdsMediaSource.AdLoadException.Type
  • @@ -95,9 +95,10 @@
  • AesFlushingCipher
  • Allocation
  • Allocator
  • +
  • Allocator.AllocationNode
  • AmrExtractor
  • AmrExtractor.Flags
  • -
  • AnalyticsCollector
  • +
  • AnalyticsCollector
  • AnalyticsListener
  • AnalyticsListener.EventFlags
  • AnalyticsListener.Events
  • @@ -170,8 +171,6 @@
  • C.AudioAllowedCapturePolicy
  • C.AudioContentType
  • C.AudioFlags
  • -
  • C.AudioFocusGain
  • -
  • C.AudioManagerOffloadMode
  • C.AudioUsage
  • C.BufferFlags
  • C.ColorRange
  • @@ -189,6 +188,7 @@
  • C.RoleFlags
  • C.SelectionFlags
  • C.SelectionReason
  • +
  • C.SpatializationBehavior
  • C.StereoMode
  • C.StreamType
  • C.TrackType
  • @@ -241,6 +241,9 @@
  • ClippingMediaSource.IllegalClippingException
  • ClippingMediaSource.IllegalClippingException.Reason
  • Clock
  • +
  • Codec
  • +
  • Codec.DecoderFactory
  • +
  • Codec.EncoderFactory
  • CodecSpecificDataUtil
  • ColorInfo
  • ColorParser
  • @@ -323,11 +326,16 @@
  • DecoderReuseEvaluation.DecoderReuseResult
  • DecoderVideoRenderer
  • DefaultAllocator
  • +
  • DefaultAnalyticsCollector
  • DefaultAudioSink
  • DefaultAudioSink.AudioProcessorChain
  • +
  • DefaultAudioSink.Builder
  • DefaultAudioSink.DefaultAudioProcessorChain
  • DefaultAudioSink.InvalidAudioTrackTimestampException
  • DefaultAudioSink.OffloadMode
  • +
  • DefaultAudioSink.OutputMode
  • +
  • DefaultAudioTrackBufferSizeProvider
  • +
  • DefaultAudioTrackBufferSizeProvider.Builder
  • DefaultBandwidthMeter
  • DefaultBandwidthMeter.Builder
  • DefaultCastOptionsProvider
  • @@ -377,13 +385,10 @@
  • DefaultTimeBar
  • DefaultTrackNameProvider
  • DefaultTrackSelector
  • -
  • DefaultTrackSelector.AudioTrackScore
  • -
  • DefaultTrackSelector.OtherTrackScore
  • DefaultTrackSelector.Parameters
  • DefaultTrackSelector.ParametersBuilder
  • +
  • DefaultTrackSelector.SelectionEligibility
  • DefaultTrackSelector.SelectionOverride
  • -
  • DefaultTrackSelector.TextTrackScore
  • -
  • DefaultTrackSelector.VideoTrackScore
  • DefaultTsPayloadReaderFactory
  • DefaultTsPayloadReaderFactory.Flags
  • Descriptor
  • @@ -446,6 +451,7 @@
  • EGLSurfaceTexture.TextureImageListener
  • ElementaryStreamReader
  • EmptySampleStream
  • +
  • EncoderUtil
  • ErrorMessageProvider
  • ErrorStateDrmSession
  • EventLogger
  • @@ -585,11 +591,8 @@
  • Gav1Library
  • GeobFrame
  • GlUtil
  • -
  • GlUtil.Attribute
  • GlUtil.GlException
  • GlUtil.Program
  • -
  • GlUtil.Uniform
  • -
  • GlUtil.UnsupportedEglVersionException
  • H262Reader
  • H263Reader
  • H264Reader
  • @@ -603,8 +606,6 @@
  • HlsExtractorFactory
  • HlsManifest
  • HlsMasterPlaylist
  • -
  • HlsMasterPlaylist.Rendition
  • -
  • HlsMasterPlaylist.Variant
  • HlsMediaChunkExtractor
  • HlsMediaPeriod
  • HlsMediaPlaylist
  • @@ -617,6 +618,9 @@
  • HlsMediaSource
  • HlsMediaSource.Factory
  • HlsMediaSource.MetadataType
  • +
  • HlsMultivariantPlaylist
  • +
  • HlsMultivariantPlaylist.Rendition
  • +
  • HlsMultivariantPlaylist.Variant
  • HlsPlaylist
  • HlsPlaylistParser
  • HlsPlaylistParser.DeltaUpdateException
  • @@ -655,6 +659,12 @@
  • IllegalSeekPositionException
  • ImaAdsLoader
  • ImaAdsLoader.Builder
  • +
  • ImaServerSideAdInsertionMediaSource
  • +
  • ImaServerSideAdInsertionMediaSource.AdsLoader
  • +
  • ImaServerSideAdInsertionMediaSource.AdsLoader.Builder
  • +
  • ImaServerSideAdInsertionMediaSource.AdsLoader.State
  • +
  • ImaServerSideAdInsertionMediaSource.Factory
  • +
  • ImaServerSideAdInsertionUriBuilder
  • IndexSeekMap
  • InitializationChunk
  • InputReaderAdapterV30
  • @@ -691,16 +701,19 @@
  • LoadEventInfo
  • LocalMediaDrmCallback
  • Log
  • +
  • Log.LogLevel
  • LongArray
  • LoopingMediaSource
  • MappingTrackSelector
  • MappingTrackSelector.MappedTrackInfo
  • +
  • MappingTrackSelector.MappedTrackInfo.RendererSupport
  • MaskingMediaPeriod
  • MaskingMediaPeriod.PrepareListener
  • MaskingMediaSource
  • MaskingMediaSource.PlaceholderTimeline
  • MatroskaExtractor
  • MatroskaExtractor.Flags
  • +
  • MatroskaExtractor.Track
  • MdtaMetadataEntry
  • MediaChunk
  • MediaChunkIterator
  • @@ -746,6 +759,7 @@
  • MediaMetadata.Builder
  • MediaMetadata.FolderType
  • MediaMetadata.PictureType
  • +
  • MediaMetricsListener
  • MediaParserChunkExtractor
  • MediaParserExtractorAdapter
  • MediaParserHlsMediaChunkExtractor
  • @@ -768,6 +782,7 @@
  • MediaSessionConnector.QueueNavigator
  • MediaSessionConnector.RatingCallback
  • MediaSource
  • +
  • MediaSource.Factory
  • MediaSource.MediaPeriodId
  • MediaSource.MediaSourceCaller
  • MediaSourceEventListener
  • @@ -852,7 +867,6 @@
  • Player.Commands.Builder
  • Player.DiscontinuityReason
  • Player.Event
  • -
  • Player.EventListener
  • Player.Events
  • Player.Listener
  • Player.MediaItemTransitionReason
  • @@ -867,6 +881,7 @@
  • PlayerControlView.VisibilityListener
  • PlayerEmsgHandler
  • PlayerEmsgHandler.PlayerEmsgCallback
  • +
  • PlayerId
  • PlayerMessage
  • PlayerMessage.Sender
  • PlayerMessage.Target
  • @@ -911,7 +926,9 @@
  • RendererCapabilities
  • RendererCapabilities.AdaptiveSupport
  • RendererCapabilities.Capabilities
  • +
  • RendererCapabilities.DecoderSupport
  • RendererCapabilities.FormatSupport
  • +
  • RendererCapabilities.HardwareAccelerationSupport
  • RendererCapabilities.TunnelingSupport
  • RendererConfiguration
  • RenderersFactory
  • @@ -969,8 +986,9 @@
  • SeiReader
  • SequenceableLoader
  • SequenceableLoader.Callback
  • -
  • ServerSideInsertedAdsMediaSource
  • -
  • ServerSideInsertedAdsUtil
  • +
  • ServerSideAdInsertionMediaSource
  • +
  • ServerSideAdInsertionMediaSource.AdPlaybackStateUpdater
  • +
  • ServerSideAdInsertionUtil
  • ServiceDescriptionElement
  • SessionAvailabilityListener
  • SessionCallbackBuilder
  • @@ -1132,13 +1150,14 @@
  • TrackSelectorResult
  • TracksInfo
  • TracksInfo.TrackGroupInfo
  • -
  • TranscodingTransformer
  • -
  • TranscodingTransformer.Builder
  • -
  • TranscodingTransformer.Listener
  • -
  • TranscodingTransformer.ProgressState
  • TransferListener
  • +
  • TransformationException
  • +
  • TransformationException.ErrorCode
  • +
  • TransformationRequest
  • +
  • TransformationRequest.Builder
  • Transformer
  • Transformer.Builder
  • +
  • Transformer.DebugViewProvider
  • Transformer.Listener
  • Transformer.ProgressState
  • TrueHdSampleRechunker
  • @@ -1175,6 +1194,7 @@
  • VideoSize
  • VorbisBitArray
  • VorbisComment
  • +
  • VorbisComment
  • VorbisUtil
  • VorbisUtil.CommentHeader
  • VorbisUtil.Mode
  • diff --git a/docs/doc/reference/allpackages-index.html b/docs/doc/reference/allpackages-index.html index aa307180e2..8e0f17379b 100644 --- a/docs/doc/reference/allpackages-index.html +++ b/docs/doc/reference/allpackages-index.html @@ -268,158 +268,162 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));   +com.google.android.exoplayer2.metadata.vorbis +  + + com.google.android.exoplayer2.offline   - + com.google.android.exoplayer2.robolectric   - + com.google.android.exoplayer2.scheduler   - + com.google.android.exoplayer2.source   - + com.google.android.exoplayer2.source.ads   - + com.google.android.exoplayer2.source.chunk   - + com.google.android.exoplayer2.source.dash   - + com.google.android.exoplayer2.source.dash.manifest   - + com.google.android.exoplayer2.source.dash.offline   - + com.google.android.exoplayer2.source.hls   - + com.google.android.exoplayer2.source.hls.offline   - + com.google.android.exoplayer2.source.hls.playlist   - + com.google.android.exoplayer2.source.mediaparser   - + com.google.android.exoplayer2.source.rtsp   - + com.google.android.exoplayer2.source.rtsp.reader   - + com.google.android.exoplayer2.source.smoothstreaming   - + com.google.android.exoplayer2.source.smoothstreaming.manifest   - + com.google.android.exoplayer2.source.smoothstreaming.offline   - + com.google.android.exoplayer2.testutil   - + com.google.android.exoplayer2.testutil.truth   - + com.google.android.exoplayer2.text   - + com.google.android.exoplayer2.text.cea   - + com.google.android.exoplayer2.text.dvb   - + com.google.android.exoplayer2.text.pgs   - + com.google.android.exoplayer2.text.span   - + com.google.android.exoplayer2.text.ssa   - + com.google.android.exoplayer2.text.subrip   - + com.google.android.exoplayer2.text.ttml   - + com.google.android.exoplayer2.text.tx3g   - + com.google.android.exoplayer2.text.webvtt   - + com.google.android.exoplayer2.trackselection   - + com.google.android.exoplayer2.transformer   - + com.google.android.exoplayer2.ui   - + com.google.android.exoplayer2.upstream   - + com.google.android.exoplayer2.upstream.cache   - + com.google.android.exoplayer2.upstream.crypto   - + com.google.android.exoplayer2.util   - + com.google.android.exoplayer2.video   - + com.google.android.exoplayer2.video.spherical   diff --git a/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html b/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html index f513c81b7f..21279d2248 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/BasePlayer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":42,"i12":10,"i13":10,"i14":10,"i15":42,"i16":10,"i17":42,"i18":42,"i19":10,"i20":42,"i21":42,"i22":10,"i23":42,"i24":10,"i25":10,"i26":10,"i27":10,"i28":42,"i29":42,"i30":42,"i31":10,"i32":10,"i33":42,"i34":10,"i35":10,"i36":42,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":42,"i46":10,"i47":10,"i48":42,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":42,"i11":10,"i12":10,"i13":10,"i14":42,"i15":10,"i16":42,"i17":42,"i18":10,"i19":42,"i20":42,"i21":10,"i22":42,"i23":10,"i24":10,"i25":10,"i26":10,"i27":42,"i28":42,"i29":42,"i30":10,"i31":10,"i32":42,"i33":10,"i34":10,"i35":42,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":42,"i45":10,"i46":10,"i47":42,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -159,7 +159,7 @@ implements Player -Player.Command, Player.Commands, Player.DiscontinuityReason, Player.Event, Player.EventListener, Player.Events, Player.Listener, Player.MediaItemTransitionReason, Player.PlaybackSuppressionReason, Player.PlayWhenReadyChangeReason, Player.PositionInfo, Player.RepeatMode, Player.State, Player.TimelineChangeReason +Player.Command, Player.Commands, Player.DiscontinuityReason, Player.Event, Player.Events, Player.Listener, Player.MediaItemTransitionReason, Player.PlaybackSuppressionReason, Player.PlayWhenReadyChangeReason, Player.PositionInfo, Player.RepeatMode, Player.State, Player.TimelineChangeReason @@ -189,7 +189,7 @@ implements Player -COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACK_INFOS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE +COMMAND_ADJUST_DEVICE_VOLUME, COMMAND_CHANGE_MEDIA_ITEMS, COMMAND_GET_AUDIO_ATTRIBUTES, COMMAND_GET_CURRENT_MEDIA_ITEM, COMMAND_GET_DEVICE_VOLUME, COMMAND_GET_MEDIA_ITEMS_METADATA, COMMAND_GET_TEXT, COMMAND_GET_TIMELINE, COMMAND_GET_TRACK_INFOS, COMMAND_GET_VOLUME, COMMAND_INVALID, COMMAND_PLAY_PAUSE, COMMAND_PREPARE, COMMAND_SEEK_BACK, COMMAND_SEEK_FORWARD, COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM, COMMAND_SEEK_IN_CURRENT_WINDOW, COMMAND_SEEK_TO_DEFAULT_POSITION, COMMAND_SEEK_TO_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT, COMMAND_SEEK_TO_NEXT_MEDIA_ITEM, COMMAND_SEEK_TO_NEXT_WINDOW, COMMAND_SEEK_TO_PREVIOUS, COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM, COMMAND_SEEK_TO_PREVIOUS_WINDOW, COMMAND_SEEK_TO_WINDOW, COMMAND_SET_DEVICE_VOLUME, COMMAND_SET_MEDIA_ITEMS_METADATA, COMMAND_SET_REPEAT_MODE, COMMAND_SET_SHUFFLE_MODE, COMMAND_SET_SPEED_AND_PITCH, COMMAND_SET_TRACK_SELECTION_PARAMETERS, COMMAND_SET_VIDEO_SURFACE, COMMAND_SET_VOLUME, COMMAND_STOP, DISCONTINUITY_REASON_AUTO_TRANSITION, DISCONTINUITY_REASON_INTERNAL, DISCONTINUITY_REASON_REMOVE, DISCONTINUITY_REASON_SEEK, DISCONTINUITY_REASON_SEEK_ADJUSTMENT, DISCONTINUITY_REASON_SKIP, EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_SESSION_ID, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED, MEDIA_ITEM_TRANSITION_REASON_AUTO, MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED, MEDIA_ITEM_TRANSITION_REASON_REPEAT, MEDIA_ITEM_TRANSITION_REASON_SEEK, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY, PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS, PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM, PLAY_WHEN_READY_CHANGE_REASON_REMOTE, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, PLAYBACK_SUPPRESSION_REASON_NONE, PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS, REPEAT_MODE_ALL, REPEAT_MODE_OFF, REPEAT_MODE_ONE, STATE_BUFFERING, STATE_ENDED, STATE_IDLE, STATE_READY, TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED, TIMELINE_CHANGE_REASON_SOURCE_UPDATE @@ -268,13 +268,6 @@ implements -protected Player.Commands -getAvailableCommands​(Player.Commands permanentAvailableCommands) - -
    Returns the Player.Commands available in the player.
    - - - int getBufferedPercentage() @@ -282,7 +275,7 @@ implements + long getContentDuration() @@ -290,7 +283,7 @@ implements C.TIME_UNSET if the duration is not known.
    - + long getCurrentLiveOffset() @@ -299,42 +292,42 @@ implements + Object getCurrentManifest()
    Returns the current manifest.
    - + MediaItem getCurrentMediaItem()
    Returns the currently playing MediaItem.
    - + int getCurrentWindowIndex()
    Deprecated.
    - + MediaItem getMediaItemAt​(int index)
    Returns the MediaItem at the given index.
    - + int getMediaItemCount()
    Returns the number of media items in the playlist.
    - + int getNextMediaItemIndex() @@ -342,14 +335,14 @@ implements + int getNextWindowIndex()
    Deprecated.
    - + int getPreviousMediaItemIndex() @@ -357,21 +350,21 @@ implements + int getPreviousWindowIndex()
    Deprecated.
    - + boolean hasNext()
    Deprecated.
    - + boolean hasNextMediaItem() @@ -379,21 +372,21 @@ implements + boolean hasNextWindow()
    Deprecated.
    - + boolean hasPrevious()
    Deprecated.
    - + boolean hasPreviousMediaItem() @@ -401,21 +394,21 @@ implements + boolean hasPreviousWindow()
    Deprecated.
    - + boolean isCommandAvailable​(@com.google.android.exoplayer2.Player.Command int command)
    Returns whether the provided Player.Command is available.
    - + boolean isCurrentMediaItemDynamic() @@ -423,7 +416,7 @@ implements Timeline is empty. - + boolean isCurrentMediaItemLive() @@ -431,42 +424,42 @@ implements + boolean isCurrentMediaItemSeekable()
    Returns whether the current MediaItem is seekable, or false if the Timeline is empty.
    - + boolean isCurrentWindowDynamic()
    Deprecated.
    - + boolean isCurrentWindowLive()
    Deprecated.
    - + boolean isCurrentWindowSeekable()
    Deprecated.
    - + boolean isPlaying()
    Returns whether the player is playing, i.e.
    - + void moveMediaItem​(int currentIndex, int newIndex) @@ -474,49 +467,49 @@ implements Moves the media item at the current index to the new index. - + void next()
    Deprecated.
    - + void pause()
    Pauses playback.
    - + void play()
    Resumes playback as soon as Player.getPlaybackState() == Player.STATE_READY.
    - + void previous()
    Deprecated.
    - + void removeMediaItem​(int index)
    Removes the media item at the given index of the playlist.
    - + void seekBack()
    Seeks back in the current MediaItem by Player.getSeekBackIncrement() milliseconds.
    - + void seekForward() @@ -524,35 +517,35 @@ implements + void seekTo​(long positionMs)
    Seeks to a position specified in milliseconds in the current MediaItem.
    - + void seekToDefaultPosition()
    Seeks to the default position associated with the current MediaItem.
    - + void seekToDefaultPosition​(int mediaItemIndex)
    Seeks to the default position associated with the specified MediaItem.
    - + void seekToNext()
    Seeks to a later position in the current or next MediaItem (if available).
    - + void seekToNextMediaItem() @@ -560,21 +553,21 @@ implements + void seekToNextWindow()
    Deprecated.
    - + void seekToPrevious()
    Seeks to an earlier position in the current or previous MediaItem (if available).
    - + void seekToPreviousMediaItem() @@ -582,14 +575,14 @@ implements + void seekToPreviousWindow()
    Deprecated.
    - + void setMediaItem​(MediaItem mediaItem) @@ -597,7 +590,7 @@ implements + void setMediaItem​(MediaItem mediaItem, boolean resetPosition) @@ -605,7 +598,7 @@ implements Clears the playlist and adds the specified MediaItem. - + void setMediaItem​(MediaItem mediaItem, long startPositionMs) @@ -613,7 +606,7 @@ implements Clears the playlist and adds the specified MediaItem. - + void setMediaItems​(List<MediaItem> mediaItems) @@ -621,7 +614,7 @@ implements + void setPlaybackSpeed​(float speed) @@ -1636,7 +1629,7 @@ public final boolean isCurrentWindowSeekable() - diff --git a/docs/doc/reference/com/google/android/exoplayer2/BaseRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/BaseRenderer.html index 9edbe5449a..5bea18d8b0 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/BaseRenderer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/BaseRenderer.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -166,7 +166,7 @@ implements RendererCapabilities -RendererCapabilities.AdaptiveSupport, RendererCapabilities.Capabilities, RendererCapabilities.FormatSupport, RendererCapabilities.TunnelingSupport +RendererCapabilities.AdaptiveSupport, RendererCapabilities.Capabilities, RendererCapabilities.DecoderSupport, RendererCapabilities.FormatSupport, RendererCapabilities.HardwareAccelerationSupport, RendererCapabilities.TunnelingSupport @@ -190,7 +190,7 @@ implements RendererCapabilities -ADAPTIVE_NOT_SEAMLESS, ADAPTIVE_NOT_SUPPORTED, ADAPTIVE_SEAMLESS, ADAPTIVE_SUPPORT_MASK, FORMAT_EXCEEDS_CAPABILITIES, FORMAT_HANDLED, FORMAT_SUPPORT_MASK, FORMAT_UNSUPPORTED_DRM, FORMAT_UNSUPPORTED_SUBTYPE, FORMAT_UNSUPPORTED_TYPE, TUNNELING_NOT_SUPPORTED, TUNNELING_SUPPORT_MASK, TUNNELING_SUPPORTED +ADAPTIVE_NOT_SEAMLESS, ADAPTIVE_NOT_SUPPORTED, ADAPTIVE_SEAMLESS, ADAPTIVE_SUPPORT_MASK, DECODER_SUPPORT_FALLBACK, DECODER_SUPPORT_PRIMARY, FORMAT_EXCEEDS_CAPABILITIES, FORMAT_HANDLED, FORMAT_SUPPORT_MASK, FORMAT_UNSUPPORTED_DRM, FORMAT_UNSUPPORTED_SUBTYPE, FORMAT_UNSUPPORTED_TYPE, HARDWARE_ACCELERATION_NOT_SUPPORTED, HARDWARE_ACCELERATION_SUPPORT_MASK, HARDWARE_ACCELERATION_SUPPORTED, MODE_SUPPORT_MASK, TUNNELING_NOT_SUPPORTED, TUNNELING_SUPPORT_MASK, TUNNELING_SUPPORTED @@ -316,56 +316,71 @@ implements +protected PlayerId +getPlayerId() + +
    Returns the PlayerId of the player using this renderer.
    + + + long getReadingPositionUs()
    Returns the renderer time up to which the renderer has read samples, in microseconds, or C.TIME_END_OF_SOURCE if the renderer has read the current SampleStream to the end.
    - + int getState()
    Returns the current state of the renderer.
    - + SampleStream getStream()
    Returns the SampleStream being consumed, or null if the renderer is disabled.
    - + protected Format[] getStreamFormats()
    Returns the formats of the currently enabled stream.
    - + @com.google.android.exoplayer2.C.TrackType int getTrackType()
    Returns the track type that the renderer handles.
    - + void -handleMessage​(int messageType, +handleMessage​(@com.google.android.exoplayer2.Renderer.MessageType int messageType, Object message)
    Handles a message delivered to the target.
    - + boolean hasReadStreamToEnd()
    Returns whether the renderer has read the current SampleStream to the end.
    - + +void +init​(int index, + PlayerId playerId) + +
    Initializes the renderer for playback with a player.
    + + + boolean isCurrentStreamFinal() @@ -373,28 +388,28 @@ implements + protected boolean isSourceReady()
    Returns whether the upstream source is ready.
    - + void maybeThrowStreamError()
    Throws an error that's preventing the renderer from reading from its SampleStream.
    - + protected void onDisabled()
    Called when the renderer is disabled.
    - + protected void onEnabled​(boolean joining, boolean mayRenderStartOfStream) @@ -402,7 +417,7 @@ implements Called when the renderer is enabled. - + protected void onPositionReset​(long positionUs, boolean joining) @@ -410,28 +425,28 @@ implements Called when the position is reset. - + protected void onReset()
    Called when the renderer is reset.
    - + protected void onStarted()
    Called when the renderer is started.
    - + protected void onStopped()
    Called when the renderer is stopped.
    - + protected void onStreamChanged​(Format[] formats, long startPositionUs, @@ -440,16 +455,16 @@ implements Called when the renderer's stream has changed. - -protected int -readSource​(FormatHolder formatHolder, + +protected @com.google.android.exoplayer2.source.SampleStream.ReadDataResult int +readSource​(FormatHolder formatHolder, DecoderInputBuffer buffer, - int readFlags) + @com.google.android.exoplayer2.source.SampleStream.ReadFlags int readFlags)
    Reads from the enabled upstream source.
    - + void replaceStream​(Format[] formats, SampleStream stream, @@ -459,21 +474,21 @@ implements Replaces the SampleStream from which samples will be consumed. - + void reset()
    Forces the renderer to give up any resources (e.g.
    - + void resetPosition​(long positionUs)
    Signals to the renderer that a position discontinuity has occurred.
    - + void setCurrentStreamFinal() @@ -481,14 +496,7 @@ implements -void -setIndex​(int index) - -
    Sets the index of this renderer within the player.
    - - - + protected int skipSource​(long positionUs) @@ -496,7 +504,7 @@ implements + void start() @@ -504,15 +512,15 @@ implements + void stop()
    Stops the renderer, transitioning it to the Renderer.STATE_ENABLED state.
    - -int + +@com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int supportsMixedMimeTypeAdaptation()
    Returns the extent to which the Renderer supports adapting between supported formats @@ -619,20 +627,22 @@ implements +
    • -

      setIndex

      -
      public final void setIndex​(int index)
      -
      Description copied from interface: Renderer
      -
      Sets the index of this renderer within the player.
      +

      init

      +
      public final void init​(int index,
      +                       PlayerId playerId)
      +
      Description copied from interface: Renderer
      +
      Initializes the renderer for playback with a player.
      Specified by:
      -
      setIndex in interface Renderer
      +
      init in interface Renderer
      Parameters:
      -
      index - The renderer index.
      +
      index - The renderer index within the player.
      +
      playerId - The PlayerId of the player.
    @@ -950,9 +960,8 @@ public final 
  • supportsMixedMimeTypeAdaptation

    -
    @AdaptiveSupport
    -public int supportsMixedMimeTypeAdaptation()
    -                                    throws ExoPlaybackException
    +
    public @com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int supportsMixedMimeTypeAdaptation()
    +                                                                                                        throws ExoPlaybackException
    Description copied from interface: RendererCapabilities
    Returns the extent to which the Renderer supports adapting between supported formats that have different MIME types.
    @@ -967,22 +976,21 @@ public int supportsMixedMimeTypeAdaptation()
  • - + + + + +
      +
    • +

      getPlayerId

      +
      protected final PlayerId getPlayerId()
      +
      Returns the PlayerId of the player using this renderer. + +

      Must only be used after the renderer has been initialized by the player.

    @@ -1222,17 +1244,15 @@ public int supportsMixedMimeTypeAdaptation() - +
    • readSource

      -
      @ReadDataResult
      -protected final int readSource​(FormatHolder formatHolder,
      -                               DecoderInputBuffer buffer,
      -                               @ReadFlags
      -                               int readFlags)
      +
      protected final @com.google.android.exoplayer2.source.SampleStream.ReadDataResult int readSource​(FormatHolder formatHolder,
      +                                                                                                 DecoderInputBuffer buffer,
      +                                                                                                 @com.google.android.exoplayer2.source.SampleStream.ReadFlags int readFlags)
      Reads from the enabled upstream source. If the upstream source has been read to the end then C.RESULT_BUFFER_READ is only returned if setCurrentStreamFinal() has been called. C.RESULT_NOTHING_READ is returned otherwise. diff --git a/docs/doc/reference/com/google/android/exoplayer2/BundleListRetriever.html b/docs/doc/reference/com/google/android/exoplayer2/BundleListRetriever.html index 4b8bd41030..de2e9cadf8 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/BundleListRetriever.html +++ b/docs/doc/reference/com/google/android/exoplayer2/BundleListRetriever.html @@ -238,7 +238,7 @@ extends Description -static ImmutableList<Bundle> +static ImmutableList<Bundle> getList​(IBinder binder)
      Gets a list of Bundles from a BundleListRetriever.
      @@ -329,7 +329,7 @@ extends
    • getList

      -
      public static ImmutableList<Bundle> getList​(IBinder binder)
      +
      public static ImmutableList<Bundle> getList​(IBinder binder)
      Gets a list of Bundles from a BundleListRetriever.
      Parameters:
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html b/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html index d767417d33..440eeea7b1 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Bundleable.html @@ -122,7 +122,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    • All Known Implementing Classes:
      -
      AbstractConcatenatedTimeline, AdPlaybackState, AdPlaybackState.AdGroup, AudioAttributes, ColorInfo, Cue, DefaultTrackSelector.Parameters, DefaultTrackSelector.SelectionOverride, DeviceInfo, ExoPlaybackException, FakeMediaSource.InitialTimeline, FakeTimeline, Format, ForwardingTimeline, HeartRating, MaskingMediaSource.PlaceholderTimeline, MediaItem, MediaItem.ClippingConfiguration, MediaItem.ClippingProperties, MediaItem.LiveConfiguration, MediaMetadata, NoUidTimeline, PercentageRating, PlaybackException, PlaybackParameters, Player.Commands, Player.PositionInfo, Rating, SinglePeriodAdTimeline, SinglePeriodTimeline, StarRating, ThumbRating, Timeline, Timeline.Period, Timeline.RemotableTimeline, Timeline.Window, TrackGroup, TrackGroupArray, TrackSelectionOverrides, TrackSelectionOverrides.TrackSelectionOverride, TrackSelectionParameters, TracksInfo, TracksInfo.TrackGroupInfo, VideoSize
      +
      AbstractConcatenatedTimeline, AdPlaybackState, AdPlaybackState.AdGroup, AudioAttributes, ColorInfo, Cue, DefaultTrackSelector.Parameters, DefaultTrackSelector.SelectionOverride, DeviceInfo, ExoPlaybackException, FakeMediaSource.InitialTimeline, FakeTimeline, Format, ForwardingTimeline, HeartRating, ImaServerSideAdInsertionMediaSource.AdsLoader.State, MaskingMediaSource.PlaceholderTimeline, MediaItem, MediaItem.ClippingConfiguration, MediaItem.ClippingProperties, MediaItem.LiveConfiguration, MediaMetadata, NoUidTimeline, PercentageRating, PlaybackException, PlaybackParameters, Player.Commands, Player.PositionInfo, Rating, SinglePeriodAdTimeline, SinglePeriodTimeline, StarRating, ThumbRating, Timeline, Timeline.Period, Timeline.RemotableTimeline, Timeline.Window, TrackGroup, TrackGroupArray, TrackSelectionOverrides, TrackSelectionOverrides.TrackSelectionOverride, TrackSelectionParameters, TracksInfo, TracksInfo.TrackGroupInfo, VideoSize

      public interface Bundleable
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html b/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html index 66b63a4557..7a88951e9c 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.BufferFlags.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.BufferFlags
      Flags which can apply to a buffer containing a media sample. Possible flag values are C.BUFFER_FLAG_KEY_FRAME, C.BUFFER_FLAG_END_OF_STREAM, C.BUFFER_FLAG_LAST_SAMPLE, C.BUFFER_FLAG_ENCRYPTED and C.BUFFER_FLAG_DECODE_ONLY.
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.ColorRange.html b/docs/doc/reference/com/google/android/exoplayer2/C.ColorRange.html index f176d7b7aa..2e73318937 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.ColorRange.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.ColorRange.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.ColorRange
    • diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.ColorSpace.html b/docs/doc/reference/com/google/android/exoplayer2/C.ColorSpace.html index 79c73e4a0b..8cf131f6fc 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.ColorSpace.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.ColorSpace.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.ColorSpace
    • diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.ColorTransfer.html b/docs/doc/reference/com/google/android/exoplayer2/C.ColorTransfer.html index 79bd2dedaa..636d5a2627 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.ColorTransfer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.ColorTransfer.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.ColorTransfer
      Video color transfer characteristics. One of Format.NO_VALUE, C.COLOR_TRANSFER_SDR, C.COLOR_TRANSFER_ST2084 or C.COLOR_TRANSFER_HLG.
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html b/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html index 5ccb795462..2278c6de8c 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.ContentType.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target({FIELD,METHOD,PARAMETER,LOCAL_VARIABLE,TYPE_USE})
       public static @interface C.ContentType
      Represents a streaming or other media type. One of C.TYPE_DASH, C.TYPE_SS, C.TYPE_HLS, C.TYPE_RTSP or C.TYPE_OTHER.
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.CryptoMode.html b/docs/doc/reference/com/google/android/exoplayer2/C.CryptoMode.html index 6456b835b3..2828c67c96 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.CryptoMode.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.CryptoMode.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.CryptoMode
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.DataType.html b/docs/doc/reference/com/google/android/exoplayer2/C.DataType.html index cf3775891d..88d623c1eb 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.DataType.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.DataType.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.DataType
      Represents a type of data. May be one of C.DATA_TYPE_UNKNOWN, C.DATA_TYPE_MEDIA, C.DATA_TYPE_MEDIA_INITIALIZATION, C.DATA_TYPE_DRM, C.DATA_TYPE_MANIFEST, diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.Encoding.html b/docs/doc/reference/com/google/android/exoplayer2/C.Encoding.html index 9197892cc2..955a149c7c 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.Encoding.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.Encoding.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.Encoding
      Represents an audio encoding, or an invalid or unset value. One of Format.NO_VALUE, C.ENCODING_INVALID, C.ENCODING_PCM_8BIT, C.ENCODING_PCM_16BIT, C.ENCODING_PCM_16BIT_BIG_ENDIAN, C.ENCODING_PCM_24BIT, C.ENCODING_PCM_32BIT, diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.FormatSupport.html b/docs/doc/reference/com/google/android/exoplayer2/C.FormatSupport.html index f61d9f9712..c3a299f263 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.FormatSupport.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.FormatSupport.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target({FIELD,METHOD,PARAMETER,LOCAL_VARIABLE,TYPE_USE})
       public static @interface C.FormatSupport
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.NetworkType.html b/docs/doc/reference/com/google/android/exoplayer2/C.NetworkType.html index fc6dbd889b..077b94df84 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.NetworkType.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.NetworkType.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target({FIELD,METHOD,PARAMETER,LOCAL_VARIABLE,TYPE_USE})
       public static @interface C.NetworkType
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.PcmEncoding.html b/docs/doc/reference/com/google/android/exoplayer2/C.PcmEncoding.html index 047dfa2d7d..b0cc787f2c 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.PcmEncoding.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.PcmEncoding.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.PcmEncoding
      Represents a PCM audio encoding, or an invalid or unset value. One of Format.NO_VALUE, C.ENCODING_INVALID, C.ENCODING_PCM_8BIT, C.ENCODING_PCM_16BIT, C.ENCODING_PCM_16BIT_BIG_ENDIAN, C.ENCODING_PCM_24BIT, C.ENCODING_PCM_32BIT, diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.Projection.html b/docs/doc/reference/com/google/android/exoplayer2/C.Projection.html index 76b8f08616..31a3568359 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.Projection.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.Projection.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.Projection
      Video projection types.
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.SelectionReason.html b/docs/doc/reference/com/google/android/exoplayer2/C.SelectionReason.html index 8121d94fa1..eb7f568830 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.SelectionReason.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.SelectionReason.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      @Documented
       @Retention(SOURCE)
      +@Target(TYPE_USE)
       public static @interface C.SelectionReason
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.AudioFocusGain.html b/docs/doc/reference/com/google/android/exoplayer2/C.SpatializationBehavior.html similarity index 88% rename from docs/doc/reference/com/google/android/exoplayer2/C.AudioFocusGain.html rename to docs/doc/reference/com/google/android/exoplayer2/C.SpatializationBehavior.html index 65fd696441..ed317c9fce 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.AudioFocusGain.html +++ b/docs/doc/reference/com/google/android/exoplayer2/C.SpatializationBehavior.html @@ -2,7 +2,7 @@ -C.AudioFocusGain (ExoPlayer library) +C.SpatializationBehavior (ExoPlayer library) @@ -19,7 +19,7 @@ - - - - - - - - - -
      - -
      - -
      -
      - -

      Interface Player.EventListener

      -
      -
      -
      - -
      -
      - -
      -
      -
        -
      • - -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            onTimelineChanged

            -
            default void onTimelineChanged​(Timeline timeline,
            -                               @TimelineChangeReason
            -                               @com.google.android.exoplayer2.Player.TimelineChangeReason int reason)
            -
            Deprecated.
            -
            Called when the timeline has been refreshed. - -

            Note that the current MediaItem or playback position may change as a result of a - timeline change. If playback can't continue smoothly because of this timeline change, a - separate onPositionDiscontinuity(PositionInfo, PositionInfo, int) callback will be - triggered. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            timeline - The latest timeline. Never null, but may be empty.
            -
            reason - The Player.TimelineChangeReason responsible for this timeline change.
            -
            -
          • -
          - - - -
            -
          • -

            onMediaItemTransition

            -
            default void onMediaItemTransition​(@Nullable
            -                                   MediaItem mediaItem,
            -                                   @MediaItemTransitionReason
            -                                   @com.google.android.exoplayer2.Player.MediaItemTransitionReason int reason)
            -
            Deprecated.
            -
            Called when playback transitions to a media item or starts repeating a media item according - to the current repeat mode. - -

            Note that this callback is also called when the playlist becomes non-empty or empty as a - consequence of a playlist change. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            mediaItem - The MediaItem. May be null if the playlist becomes empty.
            -
            reason - The reason for the transition.
            -
            -
          • -
          - - - -
            -
          • -

            onTracksChanged

            -
            @Deprecated
            -default void onTracksChanged​(TrackGroupArray trackGroups,
            -                             TrackSelectionArray trackSelections)
            -
            Deprecated. - -
            -
            Called when the available or selected tracks change. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            trackGroups - The available tracks. Never null, but may be of length zero.
            -
            trackSelections - The selected tracks. Never null, but may contain null elements. A - concrete implementation may include null elements if it has a fixed number of renderer - components, wishes to report a TrackSelection for each of them, and has one or more - renderer components that is not assigned any selected tracks.
            -
            -
          • -
          - - - -
            -
          • -

            onTracksInfoChanged

            -
            default void onTracksInfoChanged​(TracksInfo tracksInfo)
            -
            Deprecated.
            -
            Called when the available or selected tracks change. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            tracksInfo - The available tracks information. Never null, but may be of length zero.
            -
            -
          • -
          - - - - - - - -
            -
          • -

            onPlaylistMetadataChanged

            -
            default void onPlaylistMetadataChanged​(MediaMetadata mediaMetadata)
            -
            Deprecated.
            -
            Called when the playlist MediaMetadata changes.
            -
          • -
          - - - -
            -
          • -

            onIsLoadingChanged

            -
            default void onIsLoadingChanged​(boolean isLoading)
            -
            Deprecated.
            -
            Called when the player starts or stops loading the source. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            isLoading - Whether the source is currently being loaded.
            -
            -
          • -
          - - - - - - - - - - - - - - - - - - - -
            -
          • -

            onPlaybackStateChanged

            -
            default void onPlaybackStateChanged​(@State
            -                                    @com.google.android.exoplayer2.Player.State int playbackState)
            -
            Deprecated.
            -
            Called when the value returned from Player.getPlaybackState() changes. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            playbackState - The new playback state.
            -
            -
          • -
          - - - -
            -
          • -

            onPlayWhenReadyChanged

            -
            default void onPlayWhenReadyChanged​(boolean playWhenReady,
            -                                    @PlayWhenReadyChangeReason
            -                                    @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int reason)
            -
            Deprecated.
            -
            Called when the value returned from Player.getPlayWhenReady() changes. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            playWhenReady - Whether playback will proceed when ready.
            -
            reason - The reason for the change.
            -
            -
          • -
          - - - - - - - -
            -
          • -

            onIsPlayingChanged

            -
            default void onIsPlayingChanged​(boolean isPlaying)
            -
            Deprecated.
            -
            Called when the value of Player.isPlaying() changes. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            isPlaying - Whether the player is playing.
            -
            -
          • -
          - - - -
            -
          • -

            onRepeatModeChanged

            -
            default void onRepeatModeChanged​(@RepeatMode
            -                                 @com.google.android.exoplayer2.Player.RepeatMode int repeatMode)
            -
            Deprecated.
            -
            Called when the value of Player.getRepeatMode() changes. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            repeatMode - The Player.RepeatMode used for playback.
            -
            -
          • -
          - - - -
            -
          • -

            onShuffleModeEnabledChanged

            -
            default void onShuffleModeEnabledChanged​(boolean shuffleModeEnabled)
            -
            Deprecated.
            -
            Called when the value of Player.getShuffleModeEnabled() changes. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            shuffleModeEnabled - Whether shuffling of media items is enabled.
            -
            -
          • -
          - - - -
            -
          • -

            onPlayerError

            -
            default void onPlayerError​(PlaybackException error)
            -
            Deprecated.
            -
            Called when an error occurs. The playback state will transition to Player.STATE_IDLE - immediately after this method is called. The player instance can still be used, and Player.release() must still be called on the player should it no longer be required. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration. - -

            Implementations of Player may pass an instance of a subclass of PlaybackException - to this method in order to include more information about the error.

            -
            -
            Parameters:
            -
            error - The error.
            -
            -
          • -
          - - - -
            -
          • -

            onPlayerErrorChanged

            -
            default void onPlayerErrorChanged​(@Nullable
            -                                  PlaybackException error)
            -
            Deprecated.
            -
            Called when the PlaybackException returned by Player.getPlayerError() changes. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration. - -

            Implementations of Player may pass an instance of a subclass of PlaybackException - to this method in order to include more information about the error.

            -
            -
            Parameters:
            -
            error - The new error, or null if the error is being cleared.
            -
            -
          • -
          - - - - - - - -
            -
          • -

            onPositionDiscontinuity

            -
            default void onPositionDiscontinuity​(Player.PositionInfo oldPosition,
            -                                     Player.PositionInfo newPosition,
            -                                     @DiscontinuityReason
            -                                     @com.google.android.exoplayer2.Player.DiscontinuityReason int reason)
            -
            Deprecated.
            -
            Called when a position discontinuity occurs. - -

            A position discontinuity occurs when the playing period changes, the playback position - jumps within the period currently being played, or when the playing period has been skipped - or removed. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            oldPosition - The position before the discontinuity.
            -
            newPosition - The position after the discontinuity.
            -
            reason - The Player.DiscontinuityReason responsible for the discontinuity.
            -
            -
          • -
          - - - -
            -
          • -

            onPlaybackParametersChanged

            -
            default void onPlaybackParametersChanged​(PlaybackParameters playbackParameters)
            -
            Deprecated.
            -
            Called when the current playback parameters change. The playback parameters may change due to - a call to Player.setPlaybackParameters(PlaybackParameters), or the player itself may change - them (for example, if audio playback switches to passthrough or offload mode, where speed - adjustment is no longer possible). - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            playbackParameters - The playback parameters.
            -
            -
          • -
          - - - -
            -
          • -

            onSeekBackIncrementChanged

            -
            default void onSeekBackIncrementChanged​(long seekBackIncrementMs)
            -
            Deprecated.
            -
            Called when the value of Player.getSeekBackIncrement() changes. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            seekBackIncrementMs - The Player.seekBack() increment, in milliseconds.
            -
            -
          • -
          - - - -
            -
          • -

            onSeekForwardIncrementChanged

            -
            default void onSeekForwardIncrementChanged​(long seekForwardIncrementMs)
            -
            Deprecated.
            -
            Called when the value of Player.getSeekForwardIncrement() changes. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            seekForwardIncrementMs - The Player.seekForward() increment, in milliseconds.
            -
            -
          • -
          - - - -
            -
          • -

            onMaxSeekToPreviousPositionChanged

            -
            default void onMaxSeekToPreviousPositionChanged​(long maxSeekToPreviousPositionMs)
            -
            Deprecated.
            -
            Called when the value of Player.getMaxSeekToPreviousPosition() changes. - -

            onEvents(Player, Events) will also be called to report this event along with - other events that happen in the same Looper message queue iteration.

            -
            -
            Parameters:
            -
            maxSeekToPreviousPositionMs - The maximum position for which Player.seekToPrevious() - seeks to the previous position, in milliseconds.
            -
            -
          • -
          - - - - - - - - -
        • -
        -
        -
      • -
      -
      -
      -
      - -
      - -
      - - diff --git a/docs/doc/reference/com/google/android/exoplayer2/Player.Listener.html b/docs/doc/reference/com/google/android/exoplayer2/Player.Listener.html index 8b28391053..dc1f02f4b0 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Player.Listener.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Player.Listener.html @@ -25,8 +25,8 @@ catch(err) { } //--> -var data = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18,"i8":18,"i9":18,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":18,"i17":18,"i18":18,"i19":18,"i20":18,"i21":18,"i22":18,"i23":18,"i24":18,"i25":18,"i26":18,"i27":18,"i28":18,"i29":18,"i30":18}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"]}; +var data = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18,"i8":18,"i9":50,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":18,"i17":18,"i18":18,"i19":50,"i20":18,"i21":18,"i22":50,"i23":18,"i24":18,"i25":18,"i26":18,"i27":18,"i28":50,"i29":18,"i30":18,"i31":18,"i32":18,"i33":50,"i34":18,"i35":18,"i36":18,"i37":18}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -121,20 +121,19 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
      - + default void onMediaMetadataChanged​(MediaMetadata mediaMetadata)
      Called when the combined MediaMetadata changes.
      - + default void onMetadata​(Metadata metadata)
      Called when there is metadata associated with the current playback time.
      - + default void onPlaybackParametersChanged​(PlaybackParameters playbackParameters)
      Called when the current playback parameters change.
      - + default void onPlaybackStateChanged​(@com.google.android.exoplayer2.Player.State int playbackState)
      Called when the value returned from Player.getPlaybackState() changes.
      - + default void onPlaybackSuppressionReasonChanged​(@com.google.android.exoplayer2.Player.PlaybackSuppressionReason int playbackSuppressionReason)
      Called when the value returned from Player.getPlaybackSuppressionReason() changes.
      - + default void onPlayerError​(PlaybackException error)
      Called when an error occurs.
      - + default void onPlayerErrorChanged​(PlaybackException error)
      Called when the PlaybackException returned by Player.getPlayerError() changes.
      - + +default void +onPlayerStateChanged​(boolean playWhenReady, + @com.google.android.exoplayer2.Player.State int playbackState) + + + + + default void onPlaylistMetadataChanged​(MediaMetadata mediaMetadata)
      Called when the playlist MediaMetadata changes.
      - + default void onPlayWhenReadyChanged​(boolean playWhenReady, @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int reason) @@ -297,7 +322,16 @@ extends Called when the value returned from Player.getPlayWhenReady() changes.
      - + +default void +onPositionDiscontinuity​(@com.google.android.exoplayer2.Player.DiscontinuityReason int reason) + + + + + default void onPositionDiscontinuity​(Player.PositionInfo oldPosition, Player.PositionInfo newPosition, @@ -306,7 +340,7 @@ extends Called when a position discontinuity occurs.
      - + default void onRenderedFirstFrame() @@ -314,42 +348,51 @@ extends + default void onRepeatModeChanged​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode)
      Called when the value of Player.getRepeatMode() changes.
      - + default void onSeekBackIncrementChanged​(long seekBackIncrementMs)
      Called when the value of Player.getSeekBackIncrement() changes.
      - + default void onSeekForwardIncrementChanged​(long seekForwardIncrementMs)
      Called when the value of Player.getSeekForwardIncrement() changes.
      - + +default void +onSeekProcessed() + +
      Deprecated. +
      Seeks are processed without delay.
      +
      + + + default void onShuffleModeEnabledChanged​(boolean shuffleModeEnabled)
      Called when the value of Player.getShuffleModeEnabled() changes.
      - + default void onSkipSilenceEnabledChanged​(boolean skipSilenceEnabled)
      Called when skipping silences is enabled or disabled in the audio stream.
      - + default void onSurfaceSizeChanged​(int width, int height) @@ -358,7 +401,7 @@ extends + default void onTimelineChanged​(Timeline timeline, @com.google.android.exoplayer2.Player.TimelineChangeReason int reason) @@ -366,21 +409,38 @@ extends Called when the timeline has been refreshed.
    - + +default void +onTracksChanged​(TrackGroupArray trackGroups, + TrackSelectionArray trackSelections) + +
    Deprecated. + +
    + + + +default void +onTrackSelectionParametersChanged​(TrackSelectionParameters parameters) + +
    Called when the value returned from Player.getTrackSelectionParameters() changes.
    + + + default void onTracksInfoChanged​(TracksInfo tracksInfo)
    Called when the available or selected tracks change.
    - + default void onVideoSizeChanged​(VideoSize videoSize)
    Called each time there's a change in the size of the video being rendered.
    - + default void onVolumeChanged​(float volume) @@ -388,13 +448,6 @@ extends -
  • - - -

    Methods inherited from interface com.google.android.exoplayer2.Player.EventListener

    -onLoadingChanged, onMaxSeekToPreviousPositionChanged, onPlayerStateChanged, onPositionDiscontinuity, onSeekProcessed, onTracksChanged, onTrackSelectionParametersChanged
  • - @@ -411,6 +464,44 @@ extends + + + @@ -420,19 +511,16 @@ extends default void onTimelineChanged​(Timeline timeline, @TimelineChangeReason @com.google.android.exoplayer2.Player.TimelineChangeReason int reason) -
    Description copied from interface: Player.EventListener
    Called when the timeline has been refreshed.

    Note that the current MediaItem or playback position may change as a result of a timeline change. If playback can't continue smoothly because of this timeline change, a - separate Player.EventListener.onPositionDiscontinuity(PositionInfo, PositionInfo, int) callback will be + separate onPositionDiscontinuity(PositionInfo, PositionInfo, int) callback will be triggered. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onTimelineChanged in interface Player.EventListener
    Parameters:
    timeline - The latest timeline. Never null, but may be empty.
    reason - The Player.TimelineChangeReason responsible for this timeline change.
    @@ -449,24 +537,47 @@ extends MediaItem mediaItem, @MediaItemTransitionReason @com.google.android.exoplayer2.Player.MediaItemTransitionReason int reason) -
    Description copied from interface: Player.EventListener
    Called when playback transitions to a media item or starts repeating a media item according to the current repeat mode.

    Note that this callback is also called when the playlist becomes non-empty or empty as a consequence of a playlist change. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onMediaItemTransition in interface Player.EventListener
    Parameters:
    mediaItem - The MediaItem. May be null if the playlist becomes empty.
    reason - The reason for the transition.
    + + + +
      +
    • +

      onTracksChanged

      +
      @Deprecated
      +default void onTracksChanged​(TrackGroupArray trackGroups,
      +                             TrackSelectionArray trackSelections)
      +
      Deprecated. + +
      +
      Called when the available or selected tracks change. + +

      onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

      +
      +
      Parameters:
      +
      trackGroups - The available tracks. Never null, but may be of length zero.
      +
      trackSelections - The selected tracks. Never null, but may contain null elements. A + concrete implementation may include null elements if it has a fixed number of renderer + components, wishes to report a TrackSelection for each of them, and has one or more + renderer components that is not assigned any selected tracks.
      +
      +
    • +
    @@ -474,19 +585,54 @@ extends

    onTracksInfoChanged

    default void onTracksInfoChanged​(TracksInfo tracksInfo)
    -
    Description copied from interface: Player.EventListener
    Called when the available or selected tracks change. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onTracksInfoChanged in interface Player.EventListener
    Parameters:
    tracksInfo - The available tracks information. Never null, but may be of length zero.
    + + + + + + + +
      +
    • +

      onPlaylistMetadataChanged

      +
      default void onPlaylistMetadataChanged​(MediaMetadata mediaMetadata)
      +
      Called when the playlist MediaMetadata changes. + +

      onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

      +
    • +
    @@ -494,19 +640,29 @@ extends

    onIsLoadingChanged

    default void onIsLoadingChanged​(boolean isLoading)
    -
    Called when the player starts or stops loading the source. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onIsLoadingChanged in interface Player.EventListener
    Parameters:
    isLoading - Whether the source is currently being loaded.
    + + + + @@ -514,20 +670,49 @@ extends

    onAvailableCommandsChanged

    default void onAvailableCommandsChanged​(Player.Commands availableCommands)
    -
    Description copied from interface: Player.EventListener
    Called when the value returned from Player.isCommandAvailable(int) changes for at least one Player.Command. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onAvailableCommandsChanged in interface Player.EventListener
    Parameters:
    availableCommands - The available Player.Commands.
    + + + + + + + + @@ -536,14 +721,11 @@ extends default void onPlaybackStateChanged​(@State @com.google.android.exoplayer2.Player.State int playbackState) -
    Description copied from interface: Player.EventListener
    Called when the value returned from Player.getPlaybackState() changes. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onPlaybackStateChanged in interface Player.EventListener
    Parameters:
    playbackState - The new playback state.
    @@ -558,14 +740,11 @@ extends default void onPlayWhenReadyChanged​(boolean playWhenReady, @PlayWhenReadyChangeReason @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int reason) -
    Description copied from interface: Player.EventListener
    Called when the value returned from Player.getPlayWhenReady() changes. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onPlayWhenReadyChanged in interface Player.EventListener
    Parameters:
    playWhenReady - Whether playback will proceed when ready.
    reason - The reason for the change.
    @@ -580,14 +759,11 @@ extends default void onPlaybackSuppressionReasonChanged​(@PlaybackSuppressionReason @com.google.android.exoplayer2.Player.PlaybackSuppressionReason int playbackSuppressionReason) -
    Description copied from interface: Player.EventListener
    Called when the value returned from Player.getPlaybackSuppressionReason() changes. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onPlaybackSuppressionReasonChanged in interface Player.EventListener
    Parameters:
    playbackSuppressionReason - The current Player.PlaybackSuppressionReason.
    @@ -600,14 +776,11 @@ extends

    onIsPlayingChanged

    default void onIsPlayingChanged​(boolean isPlaying)
    -
    Called when the value of Player.isPlaying() changes. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onIsPlayingChanged in interface Player.EventListener
    Parameters:
    isPlaying - Whether the player is playing.
    @@ -621,14 +794,11 @@ extends default void onRepeatModeChanged​(@RepeatMode @com.google.android.exoplayer2.Player.RepeatMode int repeatMode) -
    Description copied from interface: Player.EventListener
    Called when the value of Player.getRepeatMode() changes. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onRepeatModeChanged in interface Player.EventListener
    Parameters:
    repeatMode - The Player.RepeatMode used for playback.
    @@ -641,14 +811,11 @@ extends

    onShuffleModeEnabledChanged

    default void onShuffleModeEnabledChanged​(boolean shuffleModeEnabled)
    -
    Called when the value of Player.getShuffleModeEnabled() changes. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onShuffleModeEnabledChanged in interface Player.EventListener
    Parameters:
    shuffleModeEnabled - Whether shuffling of media items is enabled.
    @@ -661,18 +828,15 @@ extends

    onPlayerError

    default void onPlayerError​(PlaybackException error)
    -
    Description copied from interface: Player.EventListener
    Called when an error occurs. The playback state will transition to Player.STATE_IDLE immediately after this method is called. The player instance can still be used, and Player.release() must still be called on the player should it no longer be required. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    Implementations of Player may pass an instance of a subclass of PlaybackException to this method in order to include more information about the error.

    -
    Specified by:
    -
    onPlayerError in interface Player.EventListener
    Parameters:
    error - The error.
    @@ -686,22 +850,33 @@ extends default void onPlayerErrorChanged​(@Nullable PlaybackException error) -
    Description copied from interface: Player.EventListener
    Called when the PlaybackException returned by Player.getPlayerError() changes. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    Implementations of Player may pass an instance of a subclass of PlaybackException to this method in order to include more information about the error.

    -
    Specified by:
    -
    onPlayerErrorChanged in interface Player.EventListener
    Parameters:
    error - The new error, or null if the error is being cleared.
    + + + + @@ -712,18 +887,15 @@ extends Player.PositionInfo newPosition, @DiscontinuityReason @com.google.android.exoplayer2.Player.DiscontinuityReason int reason) -
    Description copied from interface: Player.EventListener
    Called when a position discontinuity occurs.

    A position discontinuity occurs when the playing period changes, the playback position jumps within the period currently being played, or when the playing period has been skipped or removed. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onPositionDiscontinuity in interface Player.EventListener
    Parameters:
    oldPosition - The position before the discontinuity.
    newPosition - The position after the discontinuity.
    @@ -738,42 +910,19 @@ extends

    onPlaybackParametersChanged

    default void onPlaybackParametersChanged​(PlaybackParameters playbackParameters)
    -
    Description copied from interface: Player.EventListener
    Called when the current playback parameters change. The playback parameters may change due to a call to Player.setPlaybackParameters(PlaybackParameters), or the player itself may change them (for example, if audio playback switches to passthrough or offload mode, where speed adjustment is no longer possible). -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onPlaybackParametersChanged in interface Player.EventListener
    Parameters:
    playbackParameters - The playback parameters.
    - - - - @@ -781,19 +930,64 @@ extends

    onSeekBackIncrementChanged

    default void onSeekBackIncrementChanged​(long seekBackIncrementMs)
    -
    Called when the value of Player.getSeekBackIncrement() changes. -

    Player.EventListener.onEvents(Player, Events) will also be called to report this event along with +

    onEvents(Player, Events) will also be called to report this event along with other events that happen in the same Looper message queue iteration.

    -
    Specified by:
    -
    onSeekBackIncrementChanged in interface Player.EventListener
    Parameters:
    seekBackIncrementMs - The Player.seekBack() increment, in milliseconds.
    + + + +
      +
    • +

      onSeekForwardIncrementChanged

      +
      default void onSeekForwardIncrementChanged​(long seekForwardIncrementMs)
      +
      Called when the value of Player.getSeekForwardIncrement() changes. + +

      onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

      +
      +
      Parameters:
      +
      seekForwardIncrementMs - The Player.seekForward() increment, in milliseconds.
      +
      +
    • +
    + + + +
      +
    • +

      onMaxSeekToPreviousPositionChanged

      +
      default void onMaxSeekToPreviousPositionChanged​(long maxSeekToPreviousPositionMs)
      +
      Called when the value of Player.getMaxSeekToPreviousPosition() changes. + +

      onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

      +
      +
      Parameters:
      +
      maxSeekToPreviousPositionMs - The maximum position for which Player.seekToPrevious() + seeks to the previous position, in milliseconds.
      +
      +
    • +
    + + + + @@ -801,7 +995,10 @@ extends

    onAudioSessionIdChanged

    default void onAudioSessionIdChanged​(int audioSessionId)
    -
    Called when the audio session ID changes.
    +
    Called when the audio session ID changes. + +

    onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

    Parameters:
    audioSessionId - The audio session ID.
    @@ -815,7 +1012,10 @@ extends

    onAudioAttributesChanged

    default void onAudioAttributesChanged​(AudioAttributes audioAttributes)
    -
    Called when the audio attributes change.
    +
    Called when the audio attributes change. + +

    onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

    Parameters:
    audioAttributes - The audio attributes.
    @@ -829,7 +1029,10 @@ extends

    onVolumeChanged

    default void onVolumeChanged​(float volume)
    -
    Called when the volume changes.
    +
    Called when the volume changes. + +

    onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

    Parameters:
    volume - The new volume, with 0 being silence and 1 being unity gain.
    @@ -843,7 +1046,10 @@ extends

    onSkipSilenceEnabledChanged

    default void onSkipSilenceEnabledChanged​(boolean skipSilenceEnabled)
    -
    Called when skipping silences is enabled or disabled in the audio stream.
    +
    Called when skipping silences is enabled or disabled in the audio stream. + +

    onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

    Parameters:
    skipSilenceEnabled - Whether skipping silences in the audio stream is enabled.
    @@ -857,7 +1063,14 @@ extends

    onDeviceInfoChanged

    default void onDeviceInfoChanged​(DeviceInfo deviceInfo)
    -
    Called when the device information changes.
    +
    Called when the device information changes + +

    onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

    +
    +
    Parameters:
    +
    deviceInfo - The new DeviceInfo.
    +
    @@ -868,47 +1081,14 @@ extends default void onDeviceVolumeChanged​(int volume, boolean muted) -
    Called when the device volume or mute state changes.
    - - -
    - - - @@ -919,7 +1099,10 @@ extends

    onVideoSizeChanged

    default void onVideoSizeChanged​(VideoSize videoSize)
    -
    Called each time there's a change in the size of the video being rendered.
    +
    Called each time there's a change in the size of the video being rendered. + +

    onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

    Parameters:
    videoSize - The new size of the video.
    @@ -935,7 +1118,10 @@ extends default void onSurfaceSizeChanged​(int width, int height)
    Called each time there's a change in the size of the surface onto which the video is being - rendered.
    + rendered. + +

    onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

    Parameters:
    width - The surface width in pixels. May be C.LENGTH_UNSET if unknown, or 0 if @@ -953,7 +1139,10 @@ extends default void onRenderedFirstFrame()
    Called when a frame is rendered for the first time since setting the surface, or since the - renderer was reset, or since the stream being rendered was changed.
    + renderer was reset, or since the stream being rendered was changed. + +

    onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration. @@ -966,7 +1155,10 @@ extends Called when there is a change in the Cues.

    cues is in ascending order of priority. If any of the cue boxes overlap when - displayed, the Cue nearer the end of the list should be shown on top. + displayed, the Cue nearer the end of the list should be shown on top. + +

    onEvents(Player, Events) will also be called to report this event along with + other events that happen in the same Looper message queue iteration.

    Parameters:
    cues - The Cues. May be empty.
    @@ -976,60 +1168,20 @@ extends - diff --git a/docs/doc/reference/com/google/android/exoplayer2/Player.html b/docs/doc/reference/com/google/android/exoplayer2/Player.html index 782214a203..a0c61d9c35 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Player.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Player.html @@ -195,71 +195,62 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); -static interface  -Player.EventListener - -
    Deprecated. - -
    - - - static class  Player.Events
    A set of events.
    - + static interface  Player.Listener
    Listener of all changes in the Player.
    - + static interface  Player.MediaItemTransitionReason
    Reasons for media item transitions.
    - + static interface  Player.PlaybackSuppressionReason
    Reason why playback is suppressed even though getPlayWhenReady() is true.
    - + static interface  Player.PlayWhenReadyChangeReason
    Reasons for playWhenReady changes.
    - + static class  Player.PositionInfo
    Position info describing a playback position involved in a discontinuity.
    - + static interface  Player.RepeatMode
    Repeat modes for playback.
    - + static interface  Player.State
    Playback state.
    - + static interface  Player.TimelineChangeReason @@ -582,6 +573,20 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); static int +EVENT_AUDIO_ATTRIBUTES_CHANGED + + + + + +static int +EVENT_AUDIO_SESSION_ID + +
    The audio session id was set.
    + + + +static int EVENT_AVAILABLE_COMMANDS_CHANGED
    isCommandAvailable(int) changed for at least one Player.Command.
    @@ -589,39 +594,67 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); static int +EVENT_CUES + + + + + +static int +EVENT_DEVICE_INFO_CHANGED + + + + + +static int +EVENT_DEVICE_VOLUME_CHANGED + + + + + +static int EVENT_IS_LOADING_CHANGED
    isLoading() ()} changed.
    - + static int EVENT_IS_PLAYING_CHANGED
    isPlaying() changed.
    - + static int EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED - + static int EVENT_MEDIA_ITEM_TRANSITION
    getCurrentMediaItem() changed or the player started repeating the current item.
    - + static int EVENT_MEDIA_METADATA_CHANGED + +static int +EVENT_METADATA + +
    Metadata associated with the current playback time changed.
    + + static int EVENT_PLAY_WHEN_READY_CHANGED @@ -673,152 +706,188 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); static int +EVENT_RENDERED_FIRST_FRAME + +
    A frame is rendered for the first time since setting the surface, or since the renderer was + reset, or since the stream being rendered was changed.
    + + + +static int EVENT_REPEAT_MODE_CHANGED - + static int EVENT_SEEK_BACK_INCREMENT_CHANGED - + static int EVENT_SEEK_FORWARD_INCREMENT_CHANGED - + static int EVENT_SHUFFLE_MODE_ENABLED_CHANGED + +static int +EVENT_SKIP_SILENCE_ENABLED_CHANGED + +
    Skipping silences in the audio stream is enabled or disabled.
    + + static int +EVENT_SURFACE_SIZE_CHANGED + +
    The size of the surface onto which the video is being rendered changed.
    + + + +static int EVENT_TIMELINE_CHANGED - + static int EVENT_TRACK_SELECTION_PARAMETERS_CHANGED - + static int EVENT_TRACKS_CHANGED + +static int +EVENT_VIDEO_SIZE_CHANGED + + + + static int +EVENT_VOLUME_CHANGED + +
    getVolume() changed.
    + + + +static int MEDIA_ITEM_TRANSITION_REASON_AUTO
    Playback has automatically transitioned to the next media item.
    - + static int MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED
    The current media item has changed because of a change in the playlist.
    - + static int MEDIA_ITEM_TRANSITION_REASON_REPEAT
    The media item has been repeated.
    - + static int MEDIA_ITEM_TRANSITION_REASON_SEEK
    A seek to another media item has occurred.
    - + static int PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY
    Playback has been paused to avoid becoming noisy.
    - + static int PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS
    Playback has been paused because of a loss of audio focus.
    - + static int PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM
    Playback has been paused at the end of a media item.
    - + static int PLAY_WHEN_READY_CHANGE_REASON_REMOTE
    Playback has been started or paused because of a remote change.
    - + static int PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST
    Playback has been started or paused by a call to setPlayWhenReady(boolean).
    - + static int PLAYBACK_SUPPRESSION_REASON_NONE
    Playback is not suppressed.
    - + static int PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS
    Playback is suppressed due to transient audio focus loss.
    - + static int REPEAT_MODE_ALL
    Repeats the entire timeline infinitely.
    - + static int REPEAT_MODE_OFF
    Normal playback without repetition.
    - + static int REPEAT_MODE_ONE
    Repeats the currently playing MediaItem infinitely during ongoing playback.
    - + static int STATE_BUFFERING @@ -826,35 +895,35 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); so. - + static int STATE_ENDED
    The player has finished playing the media.
    - + static int STATE_IDLE
    The player is idle, meaning it holds only limited resources.
    - + static int STATE_READY
    The player is able to immediately play from its current position.
    - + static int TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED
    Timeline changed as a result of a change of the playlist items or the order of the items.
    - + static int TIMELINE_CHANGE_REASON_SOURCE_UPDATE @@ -2502,6 +2571,161 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    + + + + + + + +
      +
    • +

      EVENT_AUDIO_SESSION_ID

      +
      static final int EVENT_AUDIO_SESSION_ID
      +
      The audio session id was set.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + + + + + +
      +
    • +

      EVENT_SKIP_SILENCE_ENABLED_CHANGED

      +
      static final int EVENT_SKIP_SILENCE_ENABLED_CHANGED
      +
      Skipping silences in the audio stream is enabled or disabled.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      EVENT_SURFACE_SIZE_CHANGED

      +
      static final int EVENT_SURFACE_SIZE_CHANGED
      +
      The size of the surface onto which the video is being rendered changed.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + + + + + +
      +
    • +

      EVENT_RENDERED_FIRST_FRAME

      +
      static final int EVENT_RENDERED_FIRST_FRAME
      +
      A frame is rendered for the first time since setting the surface, or since the renderer was + reset, or since the stream being rendered was changed.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + + + + + +
      +
    • +

      EVENT_METADATA

      +
      static final int EVENT_METADATA
      +
      Metadata associated with the current playback time changed.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + + + + + + @@ -3801,7 +4025,7 @@ void seekToPreviousWindow()
    Returns:
    The maximum seek to previous position, in milliseconds.
    See Also:
    -
    Player.EventListener.onMaxSeekToPreviousPositionChanged(long)
    +
    Player.Listener.onMaxSeekToPreviousPositionChanged(long)
    @@ -4042,7 +4266,7 @@ void stop​(boolean reset)
    Returns the available track groups.
    See Also:
    -
    Player.EventListener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    +
    Player.Listener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    @@ -4064,7 +4288,7 @@ void stop​(boolean reset) components that is not assigned any selected tracks.
    See Also:
    -
    Player.EventListener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    +
    Player.Listener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    @@ -4078,7 +4302,7 @@ void stop​(boolean reset)
    Returns the available tracks, as well as the tracks' support, type, and selection status.
    See Also:
    -
    Player.EventListener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    +
    Player.Listener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    @@ -4092,7 +4316,7 @@ void stop​(boolean reset)
    Returns the parameters constraining the track selection.
    See Also:
    -
    }
    +
    }
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/PlayerMessage.Target.html b/docs/doc/reference/com/google/android/exoplayer2/PlayerMessage.Target.html index ab6dae6e0b..acc5f9339a 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/PlayerMessage.Target.html +++ b/docs/doc/reference/com/google/android/exoplayer2/PlayerMessage.Target.html @@ -157,7 +157,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); void -handleMessage​(int messageType, +handleMessage​(@com.google.android.exoplayer2.Renderer.MessageType int messageType, Object message)
    Handles a message delivered to the target.
    @@ -180,14 +180,13 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));

    Method Detail

    - + @@ -482,7 +482,7 @@ extends setPayload
    public PlayerMessage setPayload​(@Nullable
                                     Object payload)
    -
    Sets the message payload forwarded to PlayerMessage.Target.handleMessage(int, Object).
    +
    Sets the message payload forwarded to PlayerMessage.Target.handleMessage(int, Object).
    Parameters:
    payload - The message payload.
    @@ -501,7 +501,7 @@ extends getPayload
    @Nullable
     public Object getPayload()
    -
    Returns the message payload forwarded to PlayerMessage.Target.handleMessage(int, Object).
    +
    Returns the message payload forwarded to PlayerMessage.Target.handleMessage(int, Object).
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/Renderer.MessageType.html b/docs/doc/reference/com/google/android/exoplayer2/Renderer.MessageType.html index 050d97dfc1..1e8b010dd6 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Renderer.MessageType.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Renderer.MessageType.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    @Documented
     @Retention(SOURCE)
    +@Target(TYPE_USE)
     public static @interface Renderer.MessageType
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/Renderer.State.html b/docs/doc/reference/com/google/android/exoplayer2/Renderer.State.html index 955a03a85e..cfb721435b 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Renderer.State.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Renderer.State.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    @Documented
     @Retention(SOURCE)
    +@Target(TYPE_USE)
     public static @interface Renderer.State
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/Renderer.html b/docs/doc/reference/com/google/android/exoplayer2/Renderer.html index 43e62bb44e..ff9854ebf7 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Renderer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Renderer.html @@ -211,35 +211,35 @@ extends static int MSG_SET_AUDIO_ATTRIBUTES -
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target).
    +
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(PlayerMessage.Target).
    static int MSG_SET_AUDIO_SESSION_ID -
    The type of a message that can be passed to audio and video renderers via ExoPlayer.createMessage(Target).
    +
    The type of a message that can be passed to audio and video renderers via ExoPlayer.createMessage(PlayerMessage.Target).
    static int MSG_SET_AUX_EFFECT_INFO -
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target).
    +
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(PlayerMessage.Target).
    static int MSG_SET_CAMERA_MOTION_LISTENER -
    The type of a message that can be passed to a camera motion renderer via ExoPlayer.createMessage(Target).
    +
    The type of a message that can be passed to a camera motion renderer via ExoPlayer.createMessage(PlayerMessage.Target).
    static int MSG_SET_CHANGE_FRAME_RATE_STRATEGY -
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(Target).
    +
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(PlayerMessage.Target).
    @@ -247,43 +247,43 @@ extends MSG_SET_SCALING_MODE
    The type of a message that can be passed to a MediaCodec-based video renderer via - ExoPlayer.createMessage(Target).
    + ExoPlayer.createMessage(PlayerMessage.Target). static int MSG_SET_SKIP_SILENCE_ENABLED -
    The type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target).
    +
    The type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(PlayerMessage.Target).
    static int MSG_SET_VIDEO_FRAME_METADATA_LISTENER -
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(Target).
    +
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(PlayerMessage.Target).
    static int MSG_SET_VIDEO_OUTPUT -
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(Target).
    +
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(PlayerMessage.Target).
    static int MSG_SET_VOLUME -
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target).
    +
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(PlayerMessage.Target).
    static int MSG_SET_WAKEUP_LISTENER -
    The type of a message that can be passed to a Renderer via ExoPlayer.createMessage(Target), to inform the renderer that it can schedule waking up another - component.
    +
    The type of a message that can be passed to a Renderer via ExoPlayer.createMessage(PlayerMessage.Target), to inform the renderer that it can schedule + waking up another component.
    @@ -376,7 +376,7 @@ extends -int +@com.google.android.exoplayer2.Renderer.State int getState()
    Returns the current state of the renderer.
    @@ -404,6 +404,14 @@ extends +void +init​(int index, + PlayerId playerId) + +
    Initializes the renderer for playback with a player.
    + + + boolean isCurrentStreamFinal() @@ -411,28 +419,28 @@ extends + boolean isEnded()
    Whether the renderer is ready for the ExoPlayer instance to transition to Player.STATE_ENDED.
    - + boolean isReady()
    Whether the renderer is able to immediately render media from the current position.
    - + void maybeThrowStreamError()
    Throws an error that's preventing the renderer from reading from its SampleStream.
    - + void render​(long positionUs, long elapsedRealtimeUs) @@ -440,7 +448,7 @@ extends Incrementally renders the SampleStream. - + void replaceStream​(Format[] formats, SampleStream stream, @@ -450,21 +458,21 @@ extends Replaces the SampleStream from which samples will be consumed. - + void reset()
    Forces the renderer to give up any resources (e.g.
    - + void resetPosition​(long positionUs)
    Signals to the renderer that a position discontinuity has occurred.
    - + void setCurrentStreamFinal() @@ -472,13 +480,6 @@ extends -void -setIndex​(int index) - -
    Sets the index of this renderer within the player.
    - - default void setPlaybackSpeed​(float currentPlaybackSpeed, @@ -508,7 +509,7 @@ extends PlayerMessage.Target -handleMessage +handleMessage @@ -533,8 +534,7 @@ extends

    MSG_SET_VIDEO_OUTPUT

    static final int MSG_SET_VIDEO_OUTPUT
    -
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(Target). The message payload is normally a Surface, however - some video renderers may accept other outputs (e.g., VideoDecoderOutputBufferRenderer). +
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(PlayerMessage.Target). The message payload is normally a Surface, however some video renderers may accept other outputs (e.g., VideoDecoderOutputBufferRenderer).

    If the receiving renderer does not support the payload type as an output, then it will clear any existing output that it has.

    @@ -551,8 +551,8 @@ extends

    MSG_SET_VOLUME

    static final int MSG_SET_VOLUME
    -
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target). The message payload should be a Float with 0 being - silence and 1 being unity gain.
    +
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(PlayerMessage.Target). The message payload should be a Float + with 0 being silence and 1 being unity gain.
    See Also:
    Constant Field Values
    @@ -566,9 +566,8 @@ extends

    MSG_SET_AUDIO_ATTRIBUTES

    static final int MSG_SET_AUDIO_ATTRIBUTES
    -
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target). The message payload should be an AudioAttributes - instance that will configure the underlying audio track. If not set, the default audio - attributes will be used. They are suitable for general media playback. +
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(PlayerMessage.Target). The message payload should be an AudioAttributes instance that will configure the underlying audio track. If not set, the + default audio attributes will be used. They are suitable for general media playback.

    Setting the audio attributes during playback may introduce a short gap in audio output as the audio track is recreated. A new audio session id will also be generated. @@ -581,7 +580,7 @@ extends Util.getStreamTypeForAudioUsage(int).

    To get audio attributes that are equivalent to a legacy stream type, pass the stream type to - Util.getAudioUsageForStreamType(int) and use the returned C.AudioUsage to build + Util.getAudioUsageForStreamType(int) and use the returned C.AudioUsage to build an audio attributes instance.

    See Also:
    @@ -597,8 +596,8 @@ extends The type of a message that can be passed to a MediaCodec-based video renderer via - ExoPlayer.createMessage(Target). The message payload should be one of the integer - scaling modes in C.VideoScalingMode. + ExoPlayer.createMessage(PlayerMessage.Target). The message payload should be one of the + integer scaling modes in C.VideoScalingMode.

    Note that the scaling mode only applies if the Surface targeted by the renderer is owned by a SurfaceView.

    @@ -615,8 +614,8 @@ extends

    MSG_SET_CHANGE_FRAME_RATE_STRATEGY

    static final int MSG_SET_CHANGE_FRAME_RATE_STRATEGY
    -
    +
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(PlayerMessage.Target). The message payload should be one of the + integer strategy constants in C.VideoChangeFrameRateStrategy.
    See Also:
    Constant Field Values
    @@ -630,8 +629,7 @@ extends

    MSG_SET_AUX_EFFECT_INFO

    static final int MSG_SET_AUX_EFFECT_INFO
    -
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target). The message payload should be an AuxEffectInfo - instance representing an auxiliary audio effect for the underlying audio track.
    +
    A type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(PlayerMessage.Target). The message payload should be an AuxEffectInfo instance representing an auxiliary audio effect for the underlying audio track.
    See Also:
    Constant Field Values
    @@ -645,7 +643,7 @@ extends

    MSG_SET_VIDEO_FRAME_METADATA_LISTENER

    static final int MSG_SET_VIDEO_FRAME_METADATA_LISTENER
    -
    +
    The type of a message that can be passed to a video renderer via ExoPlayer.createMessage(PlayerMessage.Target). The message payload should be a VideoFrameMetadataListener instance, or null.
    See Also:
    Constant Field Values
    @@ -659,8 +657,7 @@ extends

    MSG_SET_CAMERA_MOTION_LISTENER

    static final int MSG_SET_CAMERA_MOTION_LISTENER
    -
    +
    The type of a message that can be passed to a camera motion renderer via ExoPlayer.createMessage(PlayerMessage.Target). The message payload should be a CameraMotionListener instance, or null.
    See Also:
    Constant Field Values
    @@ -674,8 +671,8 @@ extends

    MSG_SET_SKIP_SILENCE_ENABLED

    static final int MSG_SET_SKIP_SILENCE_ENABLED
    -
    The type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(Target). The message payload should be a Boolean instance - telling whether to enable or disable skipping silences in the audio stream.
    +
    The type of a message that can be passed to an audio renderer via ExoPlayer.createMessage(PlayerMessage.Target). The message payload should be a Boolean + instance telling whether to enable or disable skipping silences in the audio stream.
    See Also:
    Constant Field Values
    @@ -689,9 +686,9 @@ extends

    MSG_SET_AUDIO_SESSION_ID

    static final int MSG_SET_AUDIO_SESSION_ID
    -
    The type of a message that can be passed to audio and video renderers via ExoPlayer.createMessage(Target). The message payload should be an Integer instance - representing the audio session ID that will be attached to the underlying audio track. Video - renderers that support tunneling will use the audio session ID when tunneling is enabled.
    +
    The type of a message that can be passed to audio and video renderers via ExoPlayer.createMessage(PlayerMessage.Target). The message payload should be an Integer instance representing the audio session ID that will be attached to the underlying + audio track. Video renderers that support tunneling will use the audio session ID when + tunneling is enabled.
    See Also:
    Constant Field Values
    @@ -705,8 +702,8 @@ extends

    MSG_SET_WAKEUP_LISTENER

    static final int MSG_SET_WAKEUP_LISTENER
    -
    The type of a message that can be passed to a Renderer via ExoPlayer.createMessage(Target), to inform the renderer that it can schedule waking up another - component. +
    The type of a message that can be passed to a Renderer via ExoPlayer.createMessage(PlayerMessage.Target), to inform the renderer that it can schedule + waking up another component.

    The message payload must be a Renderer.WakeupListener instance.

    @@ -832,17 +829,19 @@ extends +
    • -

      setIndex

      -
      void setIndex​(int index)
      -
      Sets the index of this renderer within the player.
      +

      init

      +
      void init​(int index,
      +          PlayerId playerId)
      +
      Initializes the renderer for playback with a player.
      Parameters:
      -
      index - The renderer index.
      +
      index - The renderer index within the player.
      +
      playerId - The PlayerId of the player.
    @@ -869,8 +868,7 @@ extends
  • getState

    -
    @State
    -int getState()
    +
    @com.google.android.exoplayer2.Renderer.State int getState()
    Returns the current state of the renderer.
    Returns:
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.AdaptiveSupport.html b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.AdaptiveSupport.html index adb4563562..28fe3dced6 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.AdaptiveSupport.html +++ b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.AdaptiveSupport.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    @Documented
     @Retention(SOURCE)
    +@Target(TYPE_USE)
     public static @interface RendererCapabilities.AdaptiveSupport
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.Capabilities.html b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.Capabilities.html index de8d6a1bc5..a0a1c74cc0 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.Capabilities.html +++ b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.Capabilities.html @@ -115,12 +115,13 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    @Documented
     @Retention(SOURCE)
    +@Target(TYPE_USE)
     public static @interface RendererCapabilities.Capabilities
    Combined renderer capabilities. -

    This is a bitwise OR of C.FormatSupport, RendererCapabilities.AdaptiveSupport and RendererCapabilities.TunnelingSupport. Use RendererCapabilities.getFormatSupport(int), RendererCapabilities.getAdaptiveSupport(int) or - RendererCapabilities.getTunnelingSupport(int) to obtain the individual flags. And use RendererCapabilities.create(int) - or RendererCapabilities.create(int, int, int) to create the combined capabilities. +

    This is a bitwise OR of C.FormatSupport, RendererCapabilities.AdaptiveSupport, RendererCapabilities.TunnelingSupport, RendererCapabilities.HardwareAccelerationSupport and RendererCapabilities.DecoderSupport. Use RendererCapabilities.getFormatSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int), RendererCapabilities.getAdaptiveSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int), RendererCapabilities.getTunnelingSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int), RendererCapabilities.getHardwareAccelerationSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int) and RendererCapabilities.getDecoderSupport(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int) to obtain individual + components. Use RendererCapabilities.create(int), RendererCapabilities.create(int, int, int) or RendererCapabilities.create(int, + int, int, int, int) to create combined capabilities from individual components.

    Possible values: @@ -131,6 +132,9 @@ public static @interface RendererCapabilities.Capa support for the format itself is C.FORMAT_HANDLED or C.FORMAT_EXCEEDS_CAPABILITIES.

  • RendererCapabilities.TunnelingSupport: The level of support for tunneling. One of RendererCapabilities.TUNNELING_SUPPORTED and RendererCapabilities.TUNNELING_NOT_SUPPORTED. Only set if the level of support for the format itself is C.FORMAT_HANDLED or C.FORMAT_EXCEEDS_CAPABILITIES. +
  • RendererCapabilities.HardwareAccelerationSupport: The level of support for hardware acceleration. One + of RendererCapabilities.HARDWARE_ACCELERATION_SUPPORTED and RendererCapabilities.HARDWARE_ACCELERATION_NOT_SUPPORTED. +
  • RendererCapabilities.DecoderSupport: The level of decoder support. One of RendererCapabilities.DECODER_SUPPORT_PRIMARY and RendererCapabilities.DECODER_SUPPORT_FALLBACK.
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/C.AudioManagerOffloadMode.html b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.DecoderSupport.html similarity index 77% rename from docs/doc/reference/com/google/android/exoplayer2/C.AudioManagerOffloadMode.html rename to docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.DecoderSupport.html index 53c7d0b00a..0ae2a8f9fe 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/C.AudioManagerOffloadMode.html +++ b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.DecoderSupport.html @@ -2,7 +2,7 @@ -C.AudioManagerOffloadMode (ExoPlayer library) +RendererCapabilities.DecoderSupport (ExoPlayer library) @@ -19,7 +19,7 @@ + + + + + + + + + +
    + +
    + +
    +
    + +

    Annotation Type RendererCapabilities.HardwareAccelerationSupport

    +
    +
    +
    + +
    +
    +
    + +
    + +
    + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.TunnelingSupport.html b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.TunnelingSupport.html index 66523a868c..4afd536556 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.TunnelingSupport.html +++ b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.TunnelingSupport.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    @Documented
     @Retention(SOURCE)
    +@Target(TYPE_USE)
     public static @interface RendererCapabilities.TunnelingSupport
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.html b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.html index 8ca740cfc0..3c5acc9e72 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.html +++ b/docs/doc/reference/com/google/android/exoplayer2/RendererCapabilities.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":1,"i1":1,"i2":1,"i3":1,"i4":6,"i5":6,"i6":1,"i7":6,"i8":6}; +var data = {"i0":1,"i1":1,"i2":1,"i3":1,"i4":1,"i5":1,"i6":1,"i7":6,"i8":6,"i9":1,"i10":6,"i11":6}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -163,6 +163,13 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); static interface  +RendererCapabilities.DecoderSupport + +
    Level of decoder support.
    + + + +static interface  RendererCapabilities.FormatSupport
    Deprecated. @@ -170,6 +177,13 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    + +static interface  +RendererCapabilities.HardwareAccelerationSupport + +
    Level of renderer support for hardware acceleration.
    + + static interface  RendererCapabilities.TunnelingSupport @@ -226,6 +240,20 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); static int +DECODER_SUPPORT_FALLBACK + +
    The renderer will use a fallback decoder.
    + + + +static int +DECODER_SUPPORT_PRIMARY + +
    The renderer is able to use the primary decoder for the format's MIME type.
    + + + +static int FORMAT_EXCEEDS_CAPABILITIES
    Deprecated. @@ -278,6 +306,34 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); static int +HARDWARE_ACCELERATION_NOT_SUPPORTED + +
    The renderer is not able to use hardware acceleration.
    + + + +static int +HARDWARE_ACCELERATION_SUPPORT_MASK + + + + + +static int +HARDWARE_ACCELERATION_SUPPORTED + +
    The renderer is able to use hardware acceleration.
    + + + +static int +MODE_SUPPORT_MASK + + + + + +static int TUNNELING_NOT_SUPPORTED
    The Renderer does not support tunneled output.
    @@ -287,7 +343,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); static int TUNNELING_SUPPORT_MASK - + @@ -316,65 +372,90 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); Description -static int -create​(int formatSupport) +static @com.google.android.exoplayer2.RendererCapabilities.Capabilities int +create​(@com.google.android.exoplayer2.C.FormatSupport int formatSupport) -static int -create​(int formatSupport, - int adaptiveSupport, - int tunnelingSupport) +static @com.google.android.exoplayer2.RendererCapabilities.Capabilities int +create​(@com.google.android.exoplayer2.C.FormatSupport int formatSupport, + @com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int adaptiveSupport, + @com.google.android.exoplayer2.RendererCapabilities.TunnelingSupport int tunnelingSupport) -static int -getAdaptiveSupport​(int supportFlags) +static @com.google.android.exoplayer2.RendererCapabilities.Capabilities int +create​(@com.google.android.exoplayer2.C.FormatSupport int formatSupport, + @com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int adaptiveSupport, + @com.google.android.exoplayer2.RendererCapabilities.TunnelingSupport int tunnelingSupport, + @com.google.android.exoplayer2.RendererCapabilities.HardwareAccelerationSupport int hardwareAccelerationSupport, + @com.google.android.exoplayer2.RendererCapabilities.DecoderSupport int decoderSupport) + + + + + +static @com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int +getAdaptiveSupport​(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int supportFlags) - -static int -getFormatSupport​(int supportFlags) + +static @com.google.android.exoplayer2.RendererCapabilities.DecoderSupport int +getDecoderSupport​(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int supportFlags) + + + + + +static @com.google.android.exoplayer2.C.FormatSupport int +getFormatSupport​(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int supportFlags)
    Returns the C.FormatSupport from the combined RendererCapabilities.Capabilities.
    - + +static @com.google.android.exoplayer2.RendererCapabilities.HardwareAccelerationSupport int +getHardwareAccelerationSupport​(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int supportFlags) + + + + + String getName()
    Returns the name of the Renderer.
    - + @com.google.android.exoplayer2.C.TrackType int getTrackType()
    Returns the track type that the Renderer handles.
    - -static int -getTunnelingSupport​(int supportFlags) + +static @com.google.android.exoplayer2.RendererCapabilities.TunnelingSupport int +getTunnelingSupport​(@com.google.android.exoplayer2.RendererCapabilities.Capabilities int supportFlags) - -int + +@com.google.android.exoplayer2.RendererCapabilities.Capabilities int supportsFormat​(Format format)
    Returns the extent to which the Renderer supports a given format.
    - -int + +@com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int supportsMixedMimeTypeAdaptation()
    Returns the extent to which the Renderer supports adapting between supported formats @@ -561,7 +642,7 @@ static final int FORMAT_UNSUPPORTED_TYPE
  • TUNNELING_SUPPORT_MASK

    static final int TUNNELING_SUPPORT_MASK
    - +
    See Also:
    Constant Field Values
    @@ -585,7 +666,7 @@ static final int FORMAT_UNSUPPORTED_TYPE -
      +
      • TUNNELING_NOT_SUPPORTED

        static final int TUNNELING_NOT_SUPPORTED
        @@ -596,6 +677,90 @@ static final int FORMAT_UNSUPPORTED_TYPE
  • + + + + + + + +
      +
    • +

      HARDWARE_ACCELERATION_SUPPORTED

      +
      static final int HARDWARE_ACCELERATION_SUPPORTED
      +
      The renderer is able to use hardware acceleration.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      HARDWARE_ACCELERATION_NOT_SUPPORTED

      +
      static final int HARDWARE_ACCELERATION_NOT_SUPPORTED
      +
      The renderer is not able to use hardware acceleration.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + + + + + +
      +
    • +

      DECODER_SUPPORT_PRIMARY

      +
      static final int DECODER_SUPPORT_PRIMARY
      +
      The renderer is able to use the primary decoder for the format's MIME type.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      DECODER_SUPPORT_FALLBACK

      +
      static final int DECODER_SUPPORT_FALLBACK
      +
      The renderer will use a fallback decoder.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    @@ -606,18 +771,19 @@ static final int FORMAT_UNSUPPORTED_TYPE

    Method Detail

    - +
    Parameters:
    formatSupport - The C.FormatSupport.
    @@ -626,20 +792,20 @@ static int create​( +
    @@ -199,21 +199,6 @@ implements -Fields  - -Modifier and Type -Field -Description - - -protected Renderer[] -renderers - -
    Deprecated.
    -  - - @@ -254,13 +239,13 @@ implements protected -SimpleExoPlayer​(Context context, +SimpleExoPlayer​(Context context, RenderersFactory renderersFactory, TrackSelector trackSelector, - MediaSourceFactory mediaSourceFactory, + MediaSource.Factory mediaSourceFactory, LoadControl loadControl, BandwidthMeter bandwidthMeter, - AnalyticsCollector analyticsCollector, + AnalyticsCollector analyticsCollector, boolean useLazyPreparation, Clock clock, Looper applicationLooper) @@ -313,20 +298,13 @@ implements void -addListener​(Player.EventListener listener) - -
    Deprecated.
    - - - -void addListener​(Player.Listener listener)
    Deprecated.
    Registers a listener to receive all events from the player.
    - + void addMediaItems​(int index, List<MediaItem> mediaItems) @@ -335,7 +313,7 @@ implements Adds a list of media items at the given index of the playlist.
    - + void addMediaSource​(int index, MediaSource mediaSource) @@ -344,7 +322,7 @@ implements Adds a media source at the given index of the playlist.
    - + void addMediaSource​(MediaSource mediaSource) @@ -352,7 +330,7 @@ implements Adds a media source to the end of the playlist.
    - + void addMediaSources​(int index, List<MediaSource> mediaSources) @@ -361,7 +339,7 @@ implements Adds a list of media sources at the given index of the playlist. - + void addMediaSources​(List<MediaSource> mediaSources) @@ -369,7 +347,7 @@ implements Adds a list of media sources to the end of the playlist. - + void clearAuxEffectInfo() @@ -377,7 +355,7 @@ implements Detaches any previously attached auxiliary audio effect from the underlying audio track. - + void clearCameraMotionListener​(CameraMotionListener listener) @@ -385,7 +363,7 @@ implements Clears the listener which receives camera motion events if it matches the one passed. - + void clearVideoFrameMetadataListener​(VideoFrameMetadataListener listener) @@ -393,7 +371,7 @@ implements Clears the listener which receives video frame metadata events if it matches the one passed. - + void clearVideoSurface() @@ -402,7 +380,7 @@ implements + void clearVideoSurface​(Surface surface) @@ -410,7 +388,7 @@ implements Clears the Surface onto which video is being rendered if it matches the one passed. - + void clearVideoSurfaceHolder​(SurfaceHolder surfaceHolder) @@ -419,7 +397,7 @@ implements + void clearVideoSurfaceView​(SurfaceView surfaceView) @@ -427,7 +405,7 @@ implements Clears the SurfaceView onto which video is being rendered if it matches the one passed. - + void clearVideoTextureView​(TextureView textureView) @@ -435,7 +413,7 @@ implements Clears the TextureView onto which video is being rendered if it matches the one passed. - + PlayerMessage createMessage​(PlayerMessage.Target target) @@ -443,7 +421,7 @@ implements Creates a message that can be sent to a PlayerMessage.Target. - + void decreaseDeviceVolume() @@ -451,7 +429,7 @@ implements Decreases the volume of the device. - + boolean experimentalIsSleepingForOffload() @@ -459,7 +437,7 @@ implements Returns whether the player has paused its main loop to save power in offload scheduling mode. - + void experimentalSetOffloadSchedulingEnabled​(boolean offloadSchedulingEnabled) @@ -467,15 +445,15 @@ implements Sets whether audio offload scheduling is enabled. - -AnalyticsCollector + +AnalyticsCollector getAnalyticsCollector()
    Deprecated.
    -
    Returns the AnalyticsCollector used for collecting analytics events.
    +
    Returns the AnalyticsCollector used for collecting analytics events.
    - + Looper getApplicationLooper() @@ -484,7 +462,7 @@ implements + AudioAttributes getAudioAttributes() @@ -492,14 +470,14 @@ implements Returns the attributes for audio playback. - + ExoPlayer.AudioComponent getAudioComponent()
    Deprecated.
      - + DecoderCounters getAudioDecoderCounters() @@ -507,7 +485,7 @@ implements Returns DecoderCounters for audio, or null if no audio is being played. - + Format getAudioFormat() @@ -515,7 +493,7 @@ implements Returns the audio format currently being played, or null if no audio is being played. - + int getAudioSessionId() @@ -523,7 +501,7 @@ implements Returns the audio session identifier, or C.AUDIO_SESSION_ID_UNSET if not set. - + Player.Commands getAvailableCommands() @@ -531,7 +509,7 @@ implements Returns the player's currently available Player.Commands. - + long getBufferedPosition() @@ -540,7 +518,7 @@ implements + Clock getClock() @@ -548,7 +526,7 @@ implements Returns the Clock used for playback. - + long getContentBufferedPosition() @@ -557,7 +535,7 @@ implements + long getContentPosition() @@ -566,7 +544,7 @@ implements + int getCurrentAdGroupIndex() @@ -575,7 +553,7 @@ implements + int getCurrentAdIndexInAdGroup() @@ -583,7 +561,7 @@ implements If Player.isPlayingAd() returns true, returns the index of the ad in its ad group. - + List<Cue> getCurrentCues() @@ -591,7 +569,7 @@ implements Returns the current Cues. - + int getCurrentMediaItemIndex() @@ -600,7 +578,7 @@ implements + int getCurrentPeriodIndex() @@ -608,7 +586,7 @@ implements Returns the index of the period currently being played. - + long getCurrentPosition() @@ -617,7 +595,7 @@ implements current timeline is empty. - + Timeline getCurrentTimeline() @@ -625,7 +603,7 @@ implements Returns the current Timeline. - + TrackGroupArray getCurrentTrackGroups() @@ -633,7 +611,7 @@ implements Returns the available track groups. - + TrackSelectionArray getCurrentTrackSelections() @@ -641,7 +619,7 @@ implements Returns the current track selections. - + TracksInfo getCurrentTracksInfo() @@ -649,14 +627,14 @@ implements Returns the available tracks, as well as the tracks' support, type, and selection status. - + ExoPlayer.DeviceComponent getDeviceComponent()
    Deprecated.
      - + DeviceInfo getDeviceInfo() @@ -664,7 +642,7 @@ implements Gets the device information. - + int getDeviceVolume() @@ -672,7 +650,7 @@ implements Gets the current volume of the device. - + long getDuration() @@ -681,7 +659,7 @@ implements + long getMaxSeekToPreviousPosition() @@ -689,7 +667,7 @@ implements Returns the maximum position for which Player.seekToPrevious() seeks to the previous MediaItem, in milliseconds. - + MediaMetadata getMediaMetadata() @@ -698,7 +676,7 @@ implements + boolean getPauseAtEndOfMediaItems() @@ -706,7 +684,7 @@ implements Returns whether the player pauses playback at the end of each media item. - + Looper getPlaybackLooper() @@ -714,7 +692,7 @@ implements Returns the Looper associated with the playback thread. - + PlaybackParameters getPlaybackParameters() @@ -722,7 +700,7 @@ implements Returns the currently active playback parameters. - + @com.google.android.exoplayer2.Player.State int getPlaybackState() @@ -730,7 +708,7 @@ implements Returns the current playback state of the player. - + @com.google.android.exoplayer2.Player.PlaybackSuppressionReason int getPlaybackSuppressionReason() @@ -739,7 +717,7 @@ implements Player.PLAYBACK_SUPPRESSION_REASON_NONE if playback is not suppressed. - + ExoPlaybackException getPlayerError() @@ -748,7 +726,7 @@ implements ExoPlaybackException. - + MediaMetadata getPlaylistMetadata() @@ -756,7 +734,7 @@ implements Returns the playlist MediaMetadata, as set by Player.setPlaylistMetadata(MediaMetadata), or MediaMetadata.EMPTY if not supported. - + boolean getPlayWhenReady() @@ -764,6 +742,14 @@ implements Whether playback will proceed when Player.getPlaybackState() == Player.STATE_READY. + +Renderer +getRenderer​(int index) + +
    Deprecated.
    +
    Returns the renderer at the given index.
    + + int getRendererCount() @@ -860,7 +846,7 @@ implements -int +@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int getVideoChangeFrameRateStrategy()
    Deprecated.
    @@ -891,7 +877,7 @@ implements -int +@com.google.android.exoplayer2.C.VideoScalingMode int getVideoScalingMode()
    Deprecated.
    @@ -1011,20 +997,13 @@ implements void -removeListener​(Player.EventListener listener) - -
    Deprecated.
    - - - -void removeListener​(Player.Listener listener)
    Deprecated.
    Unregister a listener registered through Player.addListener(Listener).
    - + void removeMediaItems​(int fromIndex, int toIndex) @@ -1033,7 +1012,7 @@ implements Removes a range of media items from the playlist. - + void retry() @@ -1042,7 +1021,7 @@ implements + void seekTo​(int mediaItemIndex, long positionMs) @@ -1051,7 +1030,7 @@ implements Seeks to a position specified in milliseconds in the specified MediaItem. - + void setAudioAttributes​(AudioAttributes audioAttributes, boolean handleAudioFocus) @@ -1060,7 +1039,7 @@ implements Sets the attributes for audio playback, used by the underlying audio track. - + void setAudioSessionId​(int audioSessionId) @@ -1068,7 +1047,7 @@ implements Sets the ID of the audio session to attach to the underlying AudioTrack. - + void setAuxEffectInfo​(AuxEffectInfo auxEffectInfo) @@ -1076,7 +1055,7 @@ implements Sets information on an auxiliary audio effect to attach to the underlying audio track. - + void setCameraMotionListener​(CameraMotionListener listener) @@ -1084,7 +1063,7 @@ implements Sets a listener of camera motion events. - + void setDeviceMuted​(boolean muted) @@ -1092,7 +1071,7 @@ implements Sets the mute state of the device. - + void setDeviceVolume​(int volume) @@ -1100,7 +1079,7 @@ implements Sets the volume of the device. - + void setForegroundMode​(boolean foregroundMode) @@ -1109,7 +1088,7 @@ implements + void setHandleAudioBecomingNoisy​(boolean handleAudioBecomingNoisy) @@ -1118,14 +1097,14 @@ implements + void setHandleWakeLock​(boolean handleWakeLock)
    Deprecated.
    - + void setMediaItems​(List<MediaItem> mediaItems, boolean resetPosition) @@ -1134,7 +1113,7 @@ implements Clears the playlist and adds the specified MediaItems. - + void setMediaItems​(List<MediaItem> mediaItems, int startIndex, @@ -1144,7 +1123,7 @@ implements Clears the playlist and adds the specified MediaItems. - + void setMediaSource​(MediaSource mediaSource) @@ -1153,7 +1132,7 @@ implements + void setMediaSource​(MediaSource mediaSource, boolean resetPosition) @@ -1162,7 +1141,7 @@ implements Clears the playlist and adds the specified MediaSource. - + void setMediaSource​(MediaSource mediaSource, long startPositionMs) @@ -1171,7 +1150,7 @@ implements Clears the playlist and adds the specified MediaSource. - + void setMediaSources​(List<MediaSource> mediaSources) @@ -1180,7 +1159,7 @@ implements + void setMediaSources​(List<MediaSource> mediaSources, boolean resetPosition) @@ -1189,7 +1168,7 @@ implements Clears the playlist and adds the specified MediaSources. - + void setMediaSources​(List<MediaSource> mediaSources, int startMediaItemIndex, @@ -1199,7 +1178,7 @@ implements Clears the playlist and adds the specified MediaSources. - + void setPauseAtEndOfMediaItems​(boolean pauseAtEndOfMediaItems) @@ -1207,7 +1186,7 @@ implements Sets whether to pause playback at the end of each media item. - + void setPlaybackParameters​(PlaybackParameters playbackParameters) @@ -1215,7 +1194,7 @@ implements Attempts to set the playback parameters. - + void setPlaylistMetadata​(MediaMetadata mediaMetadata) @@ -1223,7 +1202,7 @@ implements Sets the playlist MediaMetadata. - + void setPlayWhenReady​(boolean playWhenReady) @@ -1231,7 +1210,7 @@ implements Sets whether playback should proceed when Player.getPlaybackState() == Player.STATE_READY. - + void setPriorityTaskManager​(PriorityTaskManager priorityTaskManager) @@ -1239,7 +1218,7 @@ implements Sets a PriorityTaskManager, or null to clear a previously set priority task manager. - + void setRepeatMode​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode) @@ -1247,7 +1226,7 @@ implements Sets the Player.RepeatMode to be used for playback. - + void setSeekParameters​(SeekParameters seekParameters) @@ -1255,7 +1234,7 @@ implements Sets the parameters that control how seek operations are performed. - + void setShuffleModeEnabled​(boolean shuffleModeEnabled) @@ -1263,7 +1242,7 @@ implements Sets whether shuffling of media items is enabled. - + void setShuffleOrder​(ShuffleOrder shuffleOrder) @@ -1271,7 +1250,7 @@ implements Sets the shuffle order. - + void setSkipSilenceEnabled​(boolean skipSilenceEnabled) @@ -1279,14 +1258,7 @@ implements Sets whether skipping silences in the audio stream is enabled. - -void -setThrowsWhenUsingWrongThread​(boolean throwsWhenUsingWrongThread) - -
    Deprecated.
    - - - + void setTrackSelectionParameters​(TrackSelectionParameters parameters) @@ -1294,16 +1266,16 @@ implements Sets the parameters constraining the track selection. - + void -setVideoChangeFrameRateStrategy​(int videoChangeFrameRateStrategy) +setVideoChangeFrameRateStrategy​(@com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)
    Deprecated.
    Sets a C.VideoChangeFrameRateStrategy that will be used by the player when provided with a video output Surface.
    - + void setVideoFrameMetadataListener​(VideoFrameMetadataListener listener) @@ -1311,15 +1283,15 @@ implements Sets a listener to receive video frame metadata events. - + void -setVideoScalingMode​(int videoScalingMode) +setVideoScalingMode​(@com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)
    Deprecated.
    - + void setVideoSurface​(Surface surface) @@ -1327,7 +1299,7 @@ implements Sets the Surface onto which video will be rendered. - + void setVideoSurfaceHolder​(SurfaceHolder surfaceHolder) @@ -1336,7 +1308,7 @@ implements + void setVideoSurfaceView​(SurfaceView surfaceView) @@ -1344,7 +1316,7 @@ implements Sets the SurfaceView onto which video will be rendered. - + void setVideoTextureView​(TextureView textureView) @@ -1352,7 +1324,7 @@ implements Sets the TextureView onto which video will be rendered. - + void setVolume​(float volume) @@ -1361,7 +1333,7 @@ implements + void setWakeMode​(@com.google.android.exoplayer2.C.WakeMode int wakeMode) @@ -1369,7 +1341,7 @@ implements Sets how the player should keep the device awake for playback when the screen is off. - + void stop() @@ -1377,7 +1349,7 @@ implements Stops playback without resetting the playlist. - + void stop​(boolean reset) @@ -1390,7 +1362,7 @@ implements BasePlayer -addMediaItem, addMediaItem, addMediaItems, canAdvertiseSession, clearMediaItems, getAvailableCommands, getBufferedPercentage, getContentDuration, getCurrentLiveOffset, getCurrentManifest, getCurrentMediaItem, getCurrentWindowIndex, getMediaItemAt, getMediaItemCount, getNextMediaItemIndex, getNextWindowIndex, getPreviousMediaItemIndex, getPreviousWindowIndex, hasNext, hasNextMediaItem, hasNextWindow, hasPrevious, hasPreviousMediaItem, hasPreviousWindow, isCommandAvailable, isCurrentMediaItemDynamic, isCurrentMediaItemLive, isCurrentMediaItemSeekable, isCurrentWindowDynamic, isCurrentWindowLive, isCurrentWindowSeekable, isPlaying, moveMediaItem, next, pause, play, previous, removeMediaItem, seekBack, seekForward, seekTo, seekToDefaultPosition, seekToDefaultPosition, seekToNext, seekToNextMediaItem, seekToNextWindow, seekToPrevious, seekToPreviousMediaItem, seekToPreviousWindow, setMediaItem, setMediaItem, setMediaItem, setMediaItems, setPlaybackSpeed +addMediaItem, addMediaItem, addMediaItems, canAdvertiseSession, clearMediaItems, getBufferedPercentage, getContentDuration, getCurrentLiveOffset, getCurrentManifest, getCurrentMediaItem, getCurrentWindowIndex, getMediaItemAt, getMediaItemCount, getNextMediaItemIndex, getNextWindowIndex, getPreviousMediaItemIndex, getPreviousWindowIndex, hasNext, hasNextMediaItem, hasNextWindow, hasPrevious, hasPreviousMediaItem, hasPreviousWindow, isCommandAvailable, isCurrentMediaItemDynamic, isCurrentMediaItemLive, isCurrentMediaItemSeekable, isCurrentWindowDynamic, isCurrentWindowLive, isCurrentWindowSeekable, isPlaying, moveMediaItem, next, pause, play, previous, removeMediaItem, seekBack, seekForward, seekTo, seekToDefaultPosition, seekToDefaultPosition, seekToNext, seekToNextMediaItem, seekToNextWindow, seekToPrevious, seekToPreviousMediaItem, seekToPreviousWindow, setMediaItem, setMediaItem, setMediaItem, setMediaItems, setPlaybackSpeed
    - +
    @@ -3567,14 +3477,33 @@ public void stop​(boolean reset)
    + + + +
      +
    • +

      getRenderer

      +
      public Renderer getRenderer​(int index)
      +
      Deprecated.
      +
      Description copied from interface: ExoPlayer
      +
      Returns the renderer at the given index.
      +
      +
      Specified by:
      +
      getRenderer in interface ExoPlayer
      +
      Parameters:
      +
      index - The index of the renderer.
      +
      Returns:
      +
      The renderer at this index.
      +
      +
    • +
    @@ -3620,7 +3549,7 @@ public Specified by:
    getCurrentTrackSelections in interface Player
    See Also:
    -
    Player.EventListener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    +
    Player.Listener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    @@ -3638,7 +3567,7 @@ public Specified by:
    getCurrentTracksInfo in interface Player
    See Also:
    -
    Player.EventListener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    +
    Player.Listener.onTracksChanged(TrackGroupArray, TrackSelectionArray)
    @@ -3656,7 +3585,7 @@ public Specified by:
    getTrackSelectionParameters in interface Player
    See Also:
    -
    }
    +
    }
    @@ -4112,7 +4041,7 @@ public void setHandleWakeLock​(boolean handleWakeLock) -
      +
      • setDeviceMuted

        public void setDeviceMuted​(boolean muted)
        @@ -4127,28 +4056,6 @@ public void setHandleWakeLock​(boolean handleWakeLock)
      - - - -
        -
      • -

        setThrowsWhenUsingWrongThread

        -
        @Deprecated
        -public void setThrowsWhenUsingWrongThread​(boolean throwsWhenUsingWrongThread)
        -
        Deprecated.
        -
        Description copied from interface: ExoPlayer
        -
        Sets whether the player should throw an IllegalStateException when methods are called - from a thread other than the one associated with Player.getApplicationLooper(). - -

        The default is true and this method will be removed in the future.

        -
        -
        Specified by:
        -
        setThrowsWhenUsingWrongThread in interface ExoPlayer
        -
        Parameters:
        -
        throwsWhenUsingWrongThread - Whether to throw when methods are called from a wrong thread.
        -
        -
      • -
    @@ -4207,7 +4114,7 @@ public void setThrowsWhenUsingWrongThread​(boolean throwsWh 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 389648781d..a291b2c366 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Timeline.Period.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Timeline.Period.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -346,6 +346,15 @@ implements +int +getAdState​(int adGroupIndex, + int adIndexInAdGroup) + +
    Returns the state of the ad at index adIndexInAdGroup in the ad group at + adGroupIndex, or AdPlaybackState.AD_STATE_UNAVAILABLE if not yet known.
    + + + long getContentResumeOffsetUs​(int adGroupIndex) @@ -353,21 +362,21 @@ implements + long getDurationMs()
    Returns the duration of the period in milliseconds, or C.TIME_UNSET if unknown.
    - + long getDurationUs()
    Returns the duration of this period in microseconds, or C.TIME_UNSET if unknown.
    - + int getFirstAdIndexToPlay​(int adGroupIndex) @@ -375,7 +384,7 @@ implements + int getNextAdIndexToPlay​(int adGroupIndex, int lastPlayedAdIndex) @@ -385,7 +394,7 @@ implements + long getPositionInWindowMs() @@ -393,7 +402,7 @@ implements + long getPositionInWindowUs() @@ -401,19 +410,19 @@ implements + int getRemovedAdGroupCount()
    Returns the number of removed ad groups in the period.
    - + int hashCode()   - + boolean hasPlayedAdGroup​(int adGroupIndex) @@ -421,7 +430,7 @@ implements + boolean isServerSideInsertedAdGroup​(int adGroupIndex) @@ -429,7 +438,7 @@ implements + Timeline.Period set​(Object id, Object uid, @@ -440,7 +449,7 @@ implements Sets the data held by this period. - + Timeline.Period set​(Object id, Object uid, @@ -453,7 +462,7 @@ implements Sets the data held by this period. - + Bundle toBundle() @@ -882,6 +891,25 @@ public  + + +
      +
    • +

      getAdState

      +
      public int getAdState​(int adGroupIndex,
      +                      int adIndexInAdGroup)
      +
      Returns the state of the ad at index adIndexInAdGroup in the ad group at + adGroupIndex, or AdPlaybackState.AD_STATE_UNAVAILABLE if not yet known.
      +
      +
      Parameters:
      +
      adGroupIndex - The ad group index.
      +
      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/Timeline.RemotableTimeline.html b/docs/doc/reference/com/google/android/exoplayer2/Timeline.RemotableTimeline.html index 9b8d35a8d7..ec5f5723de 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Timeline.RemotableTimeline.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Timeline.RemotableTimeline.html @@ -206,8 +206,8 @@ extends T Description -RemotableTimeline​(ImmutableList<Timeline.Window> windows, - ImmutableList<Timeline.Period> periods, +RemotableTimeline​(ImmutableList<Timeline.Window> windows, + ImmutableList<Timeline.Period> periods, int[] shuffledWindowIndices)   @@ -348,8 +348,8 @@ extends T diff --git a/docs/doc/reference/com/google/android/exoplayer2/Timeline.html b/docs/doc/reference/com/google/android/exoplayer2/Timeline.html index 1d13ead103..8b173ff8a8 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/Timeline.html +++ b/docs/doc/reference/com/google/android/exoplayer2/Timeline.html @@ -466,7 +466,7 @@ implements -
    Calls getPeriodPosition(Window, Period, int, long, long) with a zero default position +
    Calls getPeriodPositionUs(Window, Period, int, long) with a zero default position projection.
    @@ -881,7 +881,7 @@ public final Timeline.Period period, int windowIndex, long windowPositionUs) -
    Calls getPeriodPosition(Window, Period, int, long, long) with a zero default position +
    Calls getPeriodPositionUs(Window, Period, int, long) with a zero default position projection.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/TracksInfo.TrackGroupInfo.html b/docs/doc/reference/com/google/android/exoplayer2/TracksInfo.TrackGroupInfo.html index bf2d129d08..951ee906aa 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/TracksInfo.TrackGroupInfo.html +++ b/docs/doc/reference/com/google/android/exoplayer2/TracksInfo.TrackGroupInfo.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -140,8 +140,9 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    public static final class TracksInfo.TrackGroupInfo
     extends Object
     implements Bundleable
    -
    Information about tracks in a TrackGroup: their C.TrackType, if their format is - supported by the player and if they are selected for playback.
    +
    Information about a single group of tracks, including the underlying TrackGroup, the + type of tracks it contains, and the level to which each track is supported + by the player.
    @@ -204,8 +205,8 @@ implements Description -TrackGroupInfo​(TrackGroup trackGroup, - int[] trackSupport, +TrackGroupInfo​(TrackGroup trackGroup, + @com.google.android.exoplayer2.C.FormatSupport int[] trackSupport, @com.google.android.exoplayer2.C.TrackType int trackType, boolean[] tracksSelected) @@ -243,17 +244,17 @@ implements -int +@com.google.android.exoplayer2.C.FormatSupport int getTrackSupport​(int trackIndex) -
    Returns the level of support for a track in a TrackGroup.
    +
    Returns the level of support for a specified track.
    @com.google.android.exoplayer2.C.TrackType int getTrackType() -
    Returns the C.TrackType of the tracks in the TrackGroup.
    +
    Returns the C.TrackType of the group.
    @@ -265,31 +266,48 @@ implements boolean isSelected() -
    Returns if at least one track in a TrackGroup is selected for playback.
    +
    Returns whether at least one track in the group is selected for playback.
    boolean isSupported() -
    Returns if at least one track in a TrackGroup is supported.
    +
    Returns whether at least one track in the group is supported for playback, without exceeding + the advertised capabilities of the device.
    boolean -isTrackSelected​(int trackIndex) +isSupported​(boolean allowExceedsCapabilities) -
    Returns if a track in a TrackGroup is selected for playback.
    +
    Returns whether at least one track in the group is supported for playback.
    boolean -isTrackSupported​(int trackIndex) +isTrackSelected​(int trackIndex) -
    Returns if a track in a TrackGroup is supported for playback.
    +
    Returns whether a specified track is selected for playback.
    +boolean +isTrackSupported​(int trackIndex) + +
    Returns whether a specified track is supported for playback, without exceeding the advertised + capabilities of the device.
    + + + +boolean +isTrackSupported​(int trackIndex, + boolean allowExceedsCapabilities) + +
    Returns whether a specified track is supported for playback.
    + + + Bundle toBundle() @@ -340,7 +358,7 @@ implements +
      @@ -348,7 +366,7 @@ implements TrackGroup trackGroup, @FormatSupport - int[] trackSupport, + @com.google.android.exoplayer2.C.FormatSupport int[] trackSupport, @com.google.android.exoplayer2.C.TrackType int trackType, boolean[] tracksSelected)
      Constructs a TrackGroupInfo.
      @@ -388,8 +406,8 @@ implements

      getTrackSupport

      @FormatSupport
      -public int getTrackSupport​(int trackIndex)
      -
      Returns the level of support for a track in a TrackGroup.
      +public @com.google.android.exoplayer2.C.FormatSupport int getTrackSupport​(int trackIndex) +
      Returns the level of support for a specified track.
      Parameters:
      trackIndex - The index of the track in the TrackGroup.
      @@ -405,7 +423,8 @@ public int getTrackSupport​(int trackIndex)
    • isTrackSupported

      public boolean isTrackSupported​(int trackIndex)
      -
      Returns if a track in a TrackGroup is supported for playback.
      +
      Returns whether a specified track is supported for playback, without exceeding the advertised + capabilities of the device. Equivalent to isTrackSupported(trackIndex, false).
      Parameters:
      trackIndex - The index of the track in the TrackGroup.
      @@ -414,6 +433,28 @@ public int getTrackSupport​(int trackIndex)
    + + + +
      +
    • +

      isTrackSupported

      +
      public boolean isTrackSupported​(int trackIndex,
      +                                boolean allowExceedsCapabilities)
      +
      Returns whether a specified track is supported for playback.
      +
      +
      Parameters:
      +
      trackIndex - The index of the track in the TrackGroup.
      +
      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 + decoder whose maximum advertised resolution is exceeded by the resolution of the track. + Such tracks may be playable in some cases.
      +
      Returns:
      +
      True if the track's format can be played, false otherwise.
      +
      +
    • +
    @@ -421,7 +462,7 @@ public int getTrackSupport​(int trackIndex)
  • isSelected

    public boolean isSelected()
    -
    Returns if at least one track in a TrackGroup is selected for playback.
    +
    Returns whether at least one track in the group is selected for playback.
  • @@ -431,7 +472,26 @@ public int getTrackSupport​(int trackIndex)
  • isSupported

    public boolean isSupported()
    -
    +
    Returns whether at least one track in the group is supported for playback, without exceeding + the advertised capabilities of the device. Equivalent to isSupported(false).
    +
  • + + + + +
      +
    • +

      isSupported

      +
      public boolean isSupported​(boolean allowExceedsCapabilities)
      +
      Returns whether at least one track in the group is supported for playback.
      +
      +
      Parameters:
      +
      allowExceedsCapabilities - Whether to consider a 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 + decoder whose maximum advertised resolution is exceeded by the resolution of the track. + Such tracks may be playable in some cases.
      +
    @@ -441,20 +501,20 @@ public int getTrackSupport​(int trackIndex)
  • isTrackSelected

    public boolean isTrackSelected​(int trackIndex)
    -
    Returns if a track in a TrackGroup is selected for playback. +
    Returns whether a specified track is selected for playback. -

    Multiple tracks of a track group may be selected. This is common in adaptive streaming, - where multiple tracks of different quality are selected and the player switches between them - depending on the network and the TrackSelectionParameters. +

    Note that multiple tracks in the group may be selected. This is common in adaptive + streaming, where tracks of different qualities are selected and the player switches between + them during playback (e.g., based on the available network bandwidth). -

    While this class doesn't provide which selected track is currently playing, some player - implementations have ways of getting such information. For example ExoPlayer provides this - information in ExoTrackSelection.getSelectedFormat.

    +

    This class doesn't provide a way to determine which of the selected tracks is currently + playing, however some player implementations have ways of getting such information. For + example, ExoPlayer provides this information via ExoTrackSelection.getSelectedFormat.

    Parameters:
    trackIndex - The index of the track in the TrackGroup.
    Returns:
    -
    true if the track is selected, false otherwise.
    +
    True if the track is selected, false otherwise.
  • @@ -465,8 +525,7 @@ public int getTrackSupport​(int trackIndex)
  • getTrackType

    public @com.google.android.exoplayer2.C.TrackType int getTrackType()
    -
    Returns the C.TrackType of the tracks in the TrackGroup. Tracks in a group - are all of the same type.
    +
    Returns the C.TrackType of the group.
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/TracksInfo.html b/docs/doc/reference/com/google/android/exoplayer2/TracksInfo.html index 1945afab4a..bee2ab6f41 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/TracksInfo.html +++ b/docs/doc/reference/com/google/android/exoplayer2/TracksInfo.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -136,7 +136,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    public final class TracksInfo
     extends Object
     implements Bundleable
    -
    Immutable information (TracksInfo.TrackGroupInfo) about tracks.
    +
    Information about groups of tracks.
    @@ -161,8 +161,9 @@ implements static class  TracksInfo.TrackGroupInfo -
    Information about tracks in a TrackGroup: their C.TrackType, if their format is - supported by the player and if they are selected for playback.
    +
    Information about a single group of tracks, including the underlying TrackGroup, the + type of tracks it contains, and the level to which each track is supported + by the player.
    @@ -201,7 +202,7 @@ implements static TracksInfo EMPTY -
    An empty TrackInfo containing no TracksInfo.TrackGroupInfo.
    +
    An TrackInfo that contains no tracks.
    @@ -224,7 +225,7 @@ implements TracksInfo​(List<TracksInfo.TrackGroupInfo> trackGroupInfos) -
    Constructs TracksInfo from the provided TracksInfo.TrackGroupInfo.
    +
    Constructs an instance.
    @@ -251,10 +252,10 @@ implements   -ImmutableList<TracksInfo.TrackGroupInfo> +ImmutableList<TracksInfo.TrackGroupInfo> getTrackGroupInfos() -
    Returns the TrackGroupInfos, describing each TrackGroup.
    +
    Returns the TrackGroupInfos describing the groups of tracks.
    @@ -266,17 +267,26 @@ implements boolean isTypeSelected​(@com.google.android.exoplayer2.C.TrackType int trackType) -
    Returns if at least one track of the type trackType is selected for playback.
    +
    Returns true if at least one track of the type trackType is selected for playback.
    boolean isTypeSupportedOrEmpty​(@com.google.android.exoplayer2.C.TrackType int trackType) -
    Returns if there is at least one track of type trackType but none are supported.
    +
    Returns true if at least one track of type trackType is supported or if there are no tracks of this type.
    +boolean +isTypeSupportedOrEmpty​(@com.google.android.exoplayer2.C.TrackType int trackType, + boolean allowExceedsCapabilities) + +
    Returns true if at least one track of type trackType is supported or if there are no tracks of this + type.
    + + + Bundle toBundle() @@ -314,7 +324,7 @@ implements

    EMPTY

    public static final TracksInfo EMPTY
    -
    An empty TrackInfo containing no TracksInfo.TrackGroupInfo.
    +
    An TrackInfo that contains no tracks.
    @@ -344,7 +354,12 @@ implements

    TracksInfo

    public TracksInfo​(List<TracksInfo.TrackGroupInfo> trackGroupInfos)
    -
    Constructs TracksInfo from the provided TracksInfo.TrackGroupInfo.
    +
    Constructs an instance.
    +
    +
    Parameters:
    +
    trackGroupInfos - The TrackGroupInfos describing the groups of + tracks.
    +
    @@ -363,8 +378,8 @@ implements
  • getTrackGroupInfos

    -
    public ImmutableList<TracksInfo.TrackGroupInfo> getTrackGroupInfos()
    -
    Returns the TrackGroupInfos, describing each TrackGroup.
    +
    public ImmutableList<TracksInfo.TrackGroupInfo> getTrackGroupInfos()
    +
    Returns the TrackGroupInfos describing the groups of tracks.
  • @@ -374,7 +389,27 @@ implements

    isTypeSupportedOrEmpty

    public boolean isTypeSupportedOrEmpty​(@com.google.android.exoplayer2.C.TrackType int trackType)
    -
    Returns if there is at least one track of type trackType but none are supported.
    +
    + + + + + +
      +
    • +

      isTypeSupportedOrEmpty

      +
      public boolean isTypeSupportedOrEmpty​(@com.google.android.exoplayer2.C.TrackType int trackType,
      +                                      boolean allowExceedsCapabilities)
      +
      Returns true if at least one track of type trackType is supported or if there are no tracks of this + type.
      +
      +
      Parameters:
      +
      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 + decoder whose maximum advertised resolution is exceeded by the resolution of the track. + Such tracks may be playable in some cases.
      +
    @@ -384,7 +419,7 @@ implements

    isTypeSelected

    public boolean isTypeSelected​(@com.google.android.exoplayer2.C.TrackType int trackType)
    -
    Returns if at least one track of the type trackType is selected for playback.
    +
    Returns true if at least one track of the type trackType is selected for playback.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsCollector.html b/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsCollector.html index 1ab98d1f2a..ca76ed4a84 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsCollector.html +++ b/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsCollector.html @@ -25,8 +25,8 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -88,13 +88,13 @@ loadScripts(document, 'script');
  • Summary: 
  • Nested | 
  • Field | 
  • -
  • Constr | 
  • +
  • Constr | 
  • Method
  • @@ -114,29 +114,24 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    -

    Class AnalyticsCollector

    +

    Interface AnalyticsCollector

    -
      -
    • java.lang.Object
    • -
    • -
        -
      • com.google.android.exoplayer2.analytics.AnalyticsCollector
      • -
      -
    • -
    @@ -151,13 +146,6 @@ implements -
  • - - -

    Nested classes/interfaces inherited from interface com.google.android.exoplayer2.audio.AudioRendererEventListener

    -AudioRendererEventListener.EventDispatcher
  • - - - - - - - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      AnalyticsCollector​(Clock clock) -
      Creates an analytics collector.
      -
    @@ -219,7 +177,7 @@ implements -All Methods Instance Methods Concrete Methods  +All Methods Instance Methods Abstract Methods  Modifier and Type Method @@ -233,81 +191,58 @@ implements -protected AnalyticsListener.EventTime -generateCurrentPlayerMediaPeriodEventTime() - -
    Generates an AnalyticsListener.EventTime for the currently playing item in the player.
    - - - -protected AnalyticsListener.EventTime -generateEventTime​(Timeline timeline, - int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId) - -
    Returns a new AnalyticsListener.EventTime for the specified timeline, window and media period id.
    - - - void notifySeekStarted()
    Notify analytics collector that a seek operation will start.
    - -void -onAudioAttributesChanged​(AudioAttributes audioAttributes) - -
    Called when the audio attributes change.
    - - - + void onAudioCodecError​(Exception audioCodecError)
    Called when an audio decoder encounters an error.
    - + void onAudioDecoderInitialized​(String decoderName, long initializedTimestampMs, long initializationDurationMs) -
    Called when a decoder is created.
    +
    Called when a audio decoder is created.
    + + + +void +onAudioDecoderReleased​(String decoderName) + +
    Called when a audio decoder is released.
    + + + +void +onAudioDisabled​(DecoderCounters counters) + +
    Called when the audio renderer is disabled.
    + + + +void +onAudioEnabled​(DecoderCounters counters) + +
    Called when the audio renderer is enabled.
    void -onAudioDecoderReleased​(String decoderName) - -
    Called when a decoder is released.
    - - - -void -onAudioDisabled​(DecoderCounters counters) - -
    Called when the renderer is disabled.
    - - - -void -onAudioEnabled​(DecoderCounters counters) - -
    Called when the renderer is enabled.
    - - - -void onAudioInputFormatChanged​(Format format, DecoderReuseEvaluation decoderReuseEvaluation) -
    Called when the format of the media being consumed by the renderer changes.
    +
    Called when the format of the media being consumed by the audio renderer changes.
    - + void onAudioPositionAdvancing​(long playoutStartSystemTimeMs) @@ -315,21 +250,14 @@ implements -void -onAudioSessionIdChanged​(int audioSessionId) - -
    Called when the audio session ID changes.
    - - - + void onAudioSinkError​(Exception audioSinkError)
    Called when AudioSink has encountered an error.
    - + void onAudioUnderrun​(int bufferSize, long bufferSizeMs, @@ -338,236 +266,15 @@ implements Called when an audio underrun occurs.
    - -void -onAvailableCommandsChanged​(Player.Commands availableCommands) - -
    Called when the value returned from Player.isCommandAvailable(int) changes for at least one - Player.Command.
    - - - -void -onBandwidthSample​(int elapsedMs, - long bytesTransferred, - long bitrateEstimate) - -
    Called periodically to indicate that bytes have been transferred or the estimated bitrate has - changed.
    - - - -void -onDownstreamFormatChanged​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId, - MediaLoadData mediaLoadData) - -
    Called when a downstream format change occurs (i.e.
    - - - -void -onDrmKeysLoaded​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId) - -
    Called each time keys are loaded.
    - - - -void -onDrmKeysRemoved​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId) - -
    Called each time offline keys are removed.
    - - - -void -onDrmKeysRestored​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId) - -
    Called each time offline keys are restored.
    - - - -void -onDrmSessionAcquired​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId, - int state) - -
    Called each time a drm session is acquired.
    - - - -void -onDrmSessionManagerError​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId, - Exception error) - -
    Called when a drm error occurs.
    - - - -void -onDrmSessionReleased​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId) - -
    Called each time a drm session is released.
    - - - + void onDroppedFrames​(int count, long elapsedMs) -
    Called to report the number of frames dropped by the renderer.
    +
    Called to report the number of frames dropped by the video renderer.
    - -void -onIsLoadingChanged​(boolean isLoading) - -
    Called when the player starts or stops loading the source.
    - - - -void -onIsPlayingChanged​(boolean isPlaying) - -
    Called when the value of Player.isPlaying() changes.
    - - - -void -onLoadCanceled​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId, - LoadEventInfo loadEventInfo, - MediaLoadData mediaLoadData) - -
    Called when a load is canceled.
    - - - -void -onLoadCompleted​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId, - LoadEventInfo loadEventInfo, - MediaLoadData mediaLoadData) - -
    Called when a load ends.
    - - - -void -onLoadError​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId, - LoadEventInfo loadEventInfo, - MediaLoadData mediaLoadData, - IOException error, - boolean wasCanceled) - -
    Called when a load error occurs.
    - - - -void -onLoadStarted​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId, - LoadEventInfo loadEventInfo, - MediaLoadData mediaLoadData) - -
    Called when a load begins.
    - - - -void -onMaxSeekToPreviousPositionChanged​(long maxSeekToPreviousPositionMs) - -
    Called when the value of Player.getMaxSeekToPreviousPosition() changes.
    - - - -void -onMediaItemTransition​(MediaItem mediaItem, - @com.google.android.exoplayer2.Player.MediaItemTransitionReason int reason) - -
    Called when playback transitions to a media item or starts repeating a media item according - to the current repeat mode.
    - - - -void -onMediaMetadataChanged​(MediaMetadata mediaMetadata) - -
    Called when the combined MediaMetadata changes.
    - - - -void -onMetadata​(Metadata metadata) - -
    Called when there is metadata associated with the current playback time.
    - - - -void -onPlaybackParametersChanged​(PlaybackParameters playbackParameters) - -
    Called when the current playback parameters change.
    - - - -void -onPlaybackStateChanged​(@com.google.android.exoplayer2.Player.State int playbackState) - -
    Called when the value returned from Player.getPlaybackState() changes.
    - - - -void -onPlaybackSuppressionReasonChanged​(@com.google.android.exoplayer2.Player.PlaybackSuppressionReason int playbackSuppressionReason) - -
    Called when the value returned from Player.getPlaybackSuppressionReason() changes.
    - - - -void -onPlayerError​(PlaybackException error) - -
    Called when an error occurs.
    - - - -void -onPlayerStateChanged​(boolean playWhenReady, - @com.google.android.exoplayer2.Player.State int playbackState) -  - - -void -onPlaylistMetadataChanged​(MediaMetadata playlistMetadata) - -
    Called when the playlist MediaMetadata changes.
    - - - -void -onPlayWhenReadyChanged​(boolean playWhenReady, - @com.google.android.exoplayer2.Player.PlayWhenReadyChangeReason int reason) - -
    Called when the value returned from Player.getPlayWhenReady() changes.
    - - - -void -onPositionDiscontinuity​(Player.PositionInfo oldPosition, - Player.PositionInfo newPosition, - @com.google.android.exoplayer2.Player.DiscontinuityReason int reason) - -
    Called when a position discontinuity occurs.
    - - - + void onRenderedFirstFrame​(Object output, long renderTimeMs) @@ -576,126 +283,44 @@ implements -void -onRepeatModeChanged​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode) - -
    Called when the value of Player.getRepeatMode() changes.
    - - - -void -onSeekBackIncrementChanged​(long seekBackIncrementMs) - -
    Called when the value of Player.getSeekBackIncrement() changes.
    - - - -void -onSeekForwardIncrementChanged​(long seekForwardIncrementMs) - -
    Called when the value of Player.getSeekForwardIncrement() changes.
    - - - -void -onSeekProcessed() -  - - -void -onShuffleModeEnabledChanged​(boolean shuffleModeEnabled) - -
    Called when the value of Player.getShuffleModeEnabled() changes.
    - - - -void -onSkipSilenceEnabledChanged​(boolean skipSilenceEnabled) - -
    Called when skipping silences is enabled or disabled in the audio stream.
    - - - -void -onSurfaceSizeChanged​(int width, - int height) - -
    Called each time there's a change in the size of the surface onto which the video is being - rendered.
    - - - -void -onTimelineChanged​(Timeline timeline, - @com.google.android.exoplayer2.Player.TimelineChangeReason int reason) - -
    Called when the timeline has been refreshed.
    - - - -void -onTracksChanged​(TrackGroupArray trackGroups, - TrackSelectionArray trackSelections) - -
    Called when the available or selected tracks change.
    - - - -void -onTracksInfoChanged​(TracksInfo tracksInfo) - -
    Called when the available or selected tracks change.
    - - - -void -onUpstreamDiscarded​(int windowIndex, - MediaSource.MediaPeriodId mediaPeriodId, - MediaLoadData mediaLoadData) - -
    Called when data is removed from the back of a media buffer, typically so that it can be - re-buffered in a different format.
    - - - + void onVideoCodecError​(Exception videoCodecError)
    Called when a video decoder encounters an error.
    - + void onVideoDecoderInitialized​(String decoderName, long initializedTimestampMs, long initializationDurationMs) -
    Called when a decoder is created.
    +
    Called when a video decoder is created.
    - + void onVideoDecoderReleased​(String decoderName) -
    Called when a decoder is released.
    +
    Called when a video decoder is released.
    - + void onVideoDisabled​(DecoderCounters counters) -
    Called when the renderer is disabled.
    +
    Called when the video renderer is disabled.
    - + void onVideoEnabled​(DecoderCounters counters) -
    Called when the renderer is enabled.
    +
    Called when the video renderer is enabled.
    - + void onVideoFrameProcessingOffset​(long totalProcessingOffsetUs, int frameCount) @@ -703,52 +328,29 @@ implements Called to report the video processing offset of video frames processed by the video renderer. - + void onVideoInputFormatChanged​(Format format, DecoderReuseEvaluation decoderReuseEvaluation) -
    Called when the format of the media being consumed by the renderer changes.
    +
    Called when the format of the media being consumed by the video renderer changes.
    - -void -onVideoSizeChanged​(VideoSize videoSize) - -
    Called each time there's a change in the size of the video being rendered.
    - - - -void -onVolumeChanged​(float volume) - -
    Called when the volume changes.
    - - - + void release()
    Releases the collector.
    - + void removeListener​(AnalyticsListener listener)
    Removes a previously added analytics event listener.
    - -protected void -sendEvent​(AnalyticsListener.EventTime eventTime, - int eventFlag, - ListenerSet.Event<AnalyticsListener> eventInvocation) - -
    Sends an event to registered listeners.
    - - - + void setPlayer​(Player player, Looper looper) @@ -756,7 +358,7 @@ implements Sets the player for which data will be collected. - + void updateMediaPeriodQueueInfo​(List<MediaSource.MediaPeriodId> queue, MediaSource.MediaPeriodId readingPeriod) @@ -766,46 +368,32 @@ implements -
  • +
  • -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • - - - @@ -816,30 +404,6 @@ implements diff --git a/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsListener.EventFlags.html b/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsListener.EventFlags.html index ef3fec105f..746fad9c8b 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsListener.EventFlags.html +++ b/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsListener.EventFlags.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    @Documented
     @Retention(SOURCE)
    +@Target({FIELD,METHOD,PARAMETER,LOCAL_VARIABLE,TYPE_USE})
     public static @interface AnalyticsListener.EventFlags
    Events that can be reported via AnalyticsListener.onEvents(Player, Events). diff --git a/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsListener.Events.html b/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsListener.Events.html index 1dc95dc465..60ce958df8 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsListener.Events.html +++ b/docs/doc/reference/com/google/android/exoplayer2/analytics/AnalyticsListener.Events.html @@ -182,20 +182,20 @@ extends boolean -contains​(int event) +contains​(@com.google.android.exoplayer2.analytics.AnalyticsListener.EventFlags int event)
    Returns whether the given event occurred.
    boolean -containsAny​(int... events) +containsAny​(@com.google.android.exoplayer2.analytics.AnalyticsListener.EventFlags int... events)
    Returns whether any of the given events occurred.
    -int +@com.google.android.exoplayer2.analytics.AnalyticsListener.EventFlags int get​(int index)
    Returns the event at the given index.
    @@ -203,7 +203,7 @@ extends AnalyticsListener.EventTime -getEventTime​(int event) +getEventTime​(@com.google.android.exoplayer2.analytics.AnalyticsListener.EventFlags int event)
    Returns the AnalyticsListener.EventTime for the specified event.
    @@ -267,14 +267,14 @@ extends

    Method Detail

    - + - +
    • contains

      public boolean contains​(@EventFlags
      -                        int event)
      + @com.google.android.exoplayer2.analytics.AnalyticsListener.EventFlags int event)
      Returns whether the given event occurred.
      Parameters:
      @@ -301,14 +301,14 @@ extends
    - +
    - + default void onDecoderEnabled​(AnalyticsListener.EventTime eventTime, int trackType, @@ -774,7 +810,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onDecoderInitialized​(AnalyticsListener.EventTime eventTime, int trackType, @@ -787,7 +823,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onDecoderInputFormatChanged​(AnalyticsListener.EventTime eventTime, int trackType, @@ -799,7 +835,24 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + +default void +onDeviceInfoChanged​(AnalyticsListener.EventTime eventTime, + DeviceInfo deviceInfo) + +
    Called when the device information changes
    + + + +default void +onDeviceVolumeChanged​(AnalyticsListener.EventTime eventTime, + int volume, + boolean muted) + +
    Called when the device volume or mute state changes.
    + + + default void onDownstreamFormatChanged​(AnalyticsListener.EventTime eventTime, MediaLoadData mediaLoadData) @@ -807,45 +860,45 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the downstream format sent to the renderers changed.
    - + default void onDrmKeysLoaded​(AnalyticsListener.EventTime eventTime)
    Called each time drm keys are loaded.
    - + default void onDrmKeysRemoved​(AnalyticsListener.EventTime eventTime)
    Called each time offline drm keys are removed.
    - + default void onDrmKeysRestored​(AnalyticsListener.EventTime eventTime)
    Called each time offline drm keys are restored.
    - + default void onDrmSessionAcquired​(AnalyticsListener.EventTime eventTime)
    Deprecated. - +
    - + default void -onDrmSessionAcquired​(AnalyticsListener.EventTime eventTime, - int state) +onDrmSessionAcquired​(AnalyticsListener.EventTime eventTime, + @com.google.android.exoplayer2.drm.DrmSession.State int state)
    Called each time a drm session is acquired.
    - + default void onDrmSessionManagerError​(AnalyticsListener.EventTime eventTime, Exception error) @@ -853,14 +906,14 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a drm error occurs.
    - + default void onDrmSessionReleased​(AnalyticsListener.EventTime eventTime)
    Called each time a drm session is released.
    - + default void onDroppedVideoFrames​(AnalyticsListener.EventTime eventTime, int droppedFrames, @@ -869,7 +922,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called after video frames have been dropped.
    - + default void onEvents​(Player player, AnalyticsListener.Events events) @@ -877,7 +930,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called after one or more events occurred.
    - + default void onIsLoadingChanged​(AnalyticsListener.EventTime eventTime, boolean isLoading) @@ -885,7 +938,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the player starts or stops loading data from a source.
    - + default void onIsPlayingChanged​(AnalyticsListener.EventTime eventTime, boolean isPlaying) @@ -893,7 +946,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the player starts or stops playing.
    - + default void onLoadCanceled​(AnalyticsListener.EventTime eventTime, LoadEventInfo loadEventInfo, @@ -902,7 +955,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a media source canceled loading data.
    - + default void onLoadCompleted​(AnalyticsListener.EventTime eventTime, LoadEventInfo loadEventInfo, @@ -911,7 +964,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a media source completed loading data.
    - + default void onLoadError​(AnalyticsListener.EventTime eventTime, LoadEventInfo loadEventInfo, @@ -922,7 +975,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a media source loading error occurred.
    - + default void onLoadingChanged​(AnalyticsListener.EventTime eventTime, boolean isLoading) @@ -932,7 +985,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onLoadStarted​(AnalyticsListener.EventTime eventTime, LoadEventInfo loadEventInfo, @@ -941,7 +994,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a media source started loading data.
    - + default void onMaxSeekToPreviousPositionChanged​(AnalyticsListener.EventTime eventTime, long maxSeekToPreviousPositionMs) @@ -950,7 +1003,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); previous window changes. - + default void onMediaItemTransition​(AnalyticsListener.EventTime eventTime, MediaItem mediaItem, @@ -959,7 +1012,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when playback transitions to a different media item.
    - + default void onMediaMetadataChanged​(AnalyticsListener.EventTime eventTime, MediaMetadata mediaMetadata) @@ -967,7 +1020,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the combined MediaMetadata changes.
    - + default void onMetadata​(AnalyticsListener.EventTime eventTime, Metadata metadata) @@ -975,7 +1028,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when there is Metadata associated with the current playback time.
    - + default void onPlaybackParametersChanged​(AnalyticsListener.EventTime eventTime, PlaybackParameters playbackParameters) @@ -983,7 +1036,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the playback parameters changed.
    - + default void onPlaybackStateChanged​(AnalyticsListener.EventTime eventTime, @com.google.android.exoplayer2.Player.State int state) @@ -991,7 +1044,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the playback state changed.
    - + default void onPlaybackSuppressionReasonChanged​(AnalyticsListener.EventTime eventTime, @com.google.android.exoplayer2.Player.PlaybackSuppressionReason int playbackSuppressionReason) @@ -999,7 +1052,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when playback suppression reason changed.
    - + default void onPlayerError​(AnalyticsListener.EventTime eventTime, PlaybackException error) @@ -1007,14 +1060,22 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a fatal player error occurred.
    - + +default void +onPlayerErrorChanged​(AnalyticsListener.EventTime eventTime, + PlaybackException error) + +
    Called when the PlaybackException returned by Player.getPlayerError() changes.
    + + + default void onPlayerReleased​(AnalyticsListener.EventTime eventTime)
    Called when the Player is released.
    - + default void onPlayerStateChanged​(AnalyticsListener.EventTime eventTime, boolean playWhenReady, @@ -1025,7 +1086,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onPlaylistMetadataChanged​(AnalyticsListener.EventTime eventTime, MediaMetadata playlistMetadata) @@ -1033,7 +1094,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the playlist MediaMetadata changes.
    - + default void onPlayWhenReadyChanged​(AnalyticsListener.EventTime eventTime, boolean playWhenReady, @@ -1042,7 +1103,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the value changed that indicates whether playback will proceed when ready.
    - + default void onPositionDiscontinuity​(AnalyticsListener.EventTime eventTime, @com.google.android.exoplayer2.Player.DiscontinuityReason int reason) @@ -1053,7 +1114,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onPositionDiscontinuity​(AnalyticsListener.EventTime eventTime, Player.PositionInfo oldPosition, @@ -1063,7 +1124,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a position discontinuity occurred.
    - + default void onRenderedFirstFrame​(AnalyticsListener.EventTime eventTime, Object output, @@ -1073,7 +1134,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); renderer was reset, or since the stream being rendered was changed. - + default void onRepeatModeChanged​(AnalyticsListener.EventTime eventTime, @com.google.android.exoplayer2.Player.RepeatMode int repeatMode) @@ -1081,7 +1142,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the repeat mode changed.
    - + default void onSeekBackIncrementChanged​(AnalyticsListener.EventTime eventTime, long seekBackIncrementMs) @@ -1089,7 +1150,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the seek back increment changed.
    - + default void onSeekForwardIncrementChanged​(AnalyticsListener.EventTime eventTime, long seekForwardIncrementMs) @@ -1097,7 +1158,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the seek forward increment changed.
    - + default void onSeekProcessed​(AnalyticsListener.EventTime eventTime) @@ -1106,7 +1167,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onSeekStarted​(AnalyticsListener.EventTime eventTime) @@ -1116,7 +1177,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onShuffleModeChanged​(AnalyticsListener.EventTime eventTime, boolean shuffleModeEnabled) @@ -1124,7 +1185,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the shuffle mode changed.
    - + default void onSkipSilenceEnabledChanged​(AnalyticsListener.EventTime eventTime, boolean skipSilenceEnabled) @@ -1132,7 +1193,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when skipping silences is enabled or disabled in the audio stream.
    - + default void onSurfaceSizeChanged​(AnalyticsListener.EventTime eventTime, int width, @@ -1141,7 +1202,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the output surface size changed.
    - + default void onTimelineChanged​(AnalyticsListener.EventTime eventTime, @com.google.android.exoplayer2.Player.TimelineChangeReason int reason) @@ -1149,7 +1210,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the timeline changed.
    - + default void onTracksChanged​(AnalyticsListener.EventTime eventTime, TrackGroupArray trackGroups, @@ -1160,7 +1221,15 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + +default void +onTrackSelectionParametersChanged​(AnalyticsListener.EventTime eventTime, + TrackSelectionParameters trackSelectionParameters) + +
    Called when track selection parameters change.
    + + + default void onTracksInfoChanged​(AnalyticsListener.EventTime eventTime, TracksInfo tracksInfo) @@ -1168,7 +1237,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the available or selected tracks change.
    - + default void onUpstreamDiscarded​(AnalyticsListener.EventTime eventTime, MediaLoadData mediaLoadData) @@ -1177,7 +1246,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); re-buffered in a different format. - + default void onVideoCodecError​(AnalyticsListener.EventTime eventTime, Exception videoCodecError) @@ -1185,7 +1254,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a video decoder encounters an error.
    - + default void onVideoDecoderInitialized​(AnalyticsListener.EventTime eventTime, String decoderName, @@ -1196,7 +1265,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onVideoDecoderInitialized​(AnalyticsListener.EventTime eventTime, String decoderName, @@ -1206,7 +1275,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a video renderer creates a decoder.
    - + default void onVideoDecoderReleased​(AnalyticsListener.EventTime eventTime, String decoderName) @@ -1214,7 +1283,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a video renderer releases a decoder.
    - + default void onVideoDisabled​(AnalyticsListener.EventTime eventTime, DecoderCounters decoderCounters) @@ -1222,7 +1291,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a video renderer is disabled.
    - + default void onVideoEnabled​(AnalyticsListener.EventTime eventTime, DecoderCounters decoderCounters) @@ -1230,7 +1299,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when a video renderer is enabled.
    - + default void onVideoFrameProcessingOffset​(AnalyticsListener.EventTime eventTime, long totalProcessingOffsetUs, @@ -1240,7 +1309,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); renderer. - + default void onVideoInputFormatChanged​(AnalyticsListener.EventTime eventTime, Format format) @@ -1250,7 +1319,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onVideoInputFormatChanged​(AnalyticsListener.EventTime eventTime, Format format, @@ -1259,7 +1328,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Called when the format of the media being consumed by a video renderer changes.
    - + default void onVideoSizeChanged​(AnalyticsListener.EventTime eventTime, int width, @@ -1272,7 +1341,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + default void onVideoSizeChanged​(AnalyticsListener.EventTime eventTime, VideoSize videoSize) @@ -1281,7 +1350,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); there's a change in the size or pixel aspect ratio of the video being rendered. - + default void onVolumeChanged​(AnalyticsListener.EventTime eventTime, float volume) @@ -1572,6 +1641,175 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    + + + + + + + +
      +
    • +

      EVENT_AUDIO_ATTRIBUTES_CHANGED

      +
      static final int EVENT_AUDIO_ATTRIBUTES_CHANGED
      +
      Audio attributes changed.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      EVENT_AUDIO_SESSION_ID

      +
      static final int EVENT_AUDIO_SESSION_ID
      +
      An audio session id was set.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      EVENT_VOLUME_CHANGED

      +
      static final int EVENT_VOLUME_CHANGED
      +
      The volume changed.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      EVENT_SKIP_SILENCE_ENABLED_CHANGED

      +
      static final int EVENT_SKIP_SILENCE_ENABLED_CHANGED
      +
      Skipping silences was enabled or disabled in the audio stream.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      EVENT_SURFACE_SIZE_CHANGED

      +
      static final int EVENT_SURFACE_SIZE_CHANGED
      +
      The surface size changed.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      EVENT_VIDEO_SIZE_CHANGED

      +
      static final int EVENT_VIDEO_SIZE_CHANGED
      +
      The video size changed.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      EVENT_RENDERED_FIRST_FRAME

      +
      static final int EVENT_RENDERED_FIRST_FRAME
      +
      The first frame has been rendered since setting the surface, since the renderer was reset or + since the stream changed.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + +
      +
    • +

      EVENT_METADATA

      +
      static final int EVENT_METADATA
      +
      Metadata associated with the current playback time was reported.
      +
      +
      See Also:
      +
      Constant Field Values
      +
      +
    • +
    + + + + + + + + + + + + @@ -1670,20 +1908,6 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    - - - -
      -
    • -

      EVENT_METADATA

      -
      static final int EVENT_METADATA
      -
      Metadata associated with the current playback time was reported.
      -
      -
      See Also:
      -
      Constant Field Values
      -
      -
    • -
    @@ -1782,48 +2006,6 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - - - -
      -
    • -

      EVENT_AUDIO_SESSION_ID

      -
      static final int EVENT_AUDIO_SESSION_ID
      -
      An audio session id was set.
      -
      -
      See Also:
      -
      Constant Field Values
      -
      -
    • -
    - - - -
      -
    • -

      EVENT_AUDIO_ATTRIBUTES_CHANGED

      -
      static final int EVENT_AUDIO_ATTRIBUTES_CHANGED
      -
      Audio attributes changed.
      -
      -
      See Also:
      -
      Constant Field Values
      -
      -
    • -
    - - - -
      -
    • -

      EVENT_SKIP_SILENCE_ENABLED_CHANGED

      -
      static final int EVENT_SKIP_SILENCE_ENABLED_CHANGED
      -
      Skipping silences was enabled or disabled in the audio stream.
      -
      -
      See Also:
      -
      Constant Field Values
      -
      -
    • -
    @@ -1838,20 +2020,6 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - - - -
      -
    • -

      EVENT_VOLUME_CHANGED

      -
      static final int EVENT_VOLUME_CHANGED
      -
      The volume changed.
      -
      -
      See Also:
      -
      Constant Field Values
      -
      -
    • -
    @@ -1950,49 +2118,6 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - - - -
      -
    • -

      EVENT_RENDERED_FIRST_FRAME

      -
      static final int EVENT_RENDERED_FIRST_FRAME
      -
      The first frame has been rendered since setting the surface, since the renderer was reset or - since the stream changed.
      -
      -
      See Also:
      -
      Constant Field Values
      -
      -
    • -
    - - - -
      -
    • -

      EVENT_VIDEO_SIZE_CHANGED

      -
      static final int EVENT_VIDEO_SIZE_CHANGED
      -
      The video size changed.
      -
      -
      See Also:
      -
      Constant Field Values
      -
      -
    • -
    - - - -
      -
    • -

      EVENT_SURFACE_SIZE_CHANGED

      -
      static final int EVENT_SURFACE_SIZE_CHANGED
      -
      The surface size changed.
      -
      -
      See Also:
      -
      Constant Field Values
      -
      -
    • -
    @@ -2478,6 +2603,26 @@ default void onLoadingChanged​( + + + @@ -2516,6 +2661,22 @@ default void onTracksChanged​( + + + @@ -2704,6 +2865,25 @@ default void onTracksChanged​( + + +
      +
    • +

      onCues

      +
      default void onCues​(AnalyticsListener.EventTime eventTime,
      +                    List<Cue> cues)
      +
      Called when there is a change in the Cues. + +

      cues is in ascending order of priority. If any of the cue boxes overlap when + displayed, the Cue nearer the end of the list should be shown on top.

      +
      +
      Parameters:
      +
      eventTime - The event time.
      +
      cues - The Cues. May be empty.
      +
      +
    • +
    @@ -3037,6 +3217,40 @@ default void onAudioInputFormatChanged​( + + +
      +
    • +

      onDeviceInfoChanged

      +
      default void onDeviceInfoChanged​(AnalyticsListener.EventTime eventTime,
      +                                 DeviceInfo deviceInfo)
      +
      Called when the device information changes
      +
      +
      Parameters:
      +
      eventTime - The event time.
      +
      deviceInfo - The new DeviceInfo.
      +
      +
    • +
    + + + +
      +
    • +

      onDeviceVolumeChanged

      +
      default void onDeviceVolumeChanged​(AnalyticsListener.EventTime eventTime,
      +                                   int volume,
      +                                   boolean muted)
      +
      Called when the device volume or mute state changes.
      +
      +
      Parameters:
      +
      eventTime - The event time.
      +
      volume - The new device volume, with 0 being silence and 1 being unity gain.
      +
      muted - Whether the device is muted.
      +
      +
    • +
    @@ -3310,11 +3524,11 @@ default void onVideoSizeChanged​(@Deprecated default void onDrmSessionAcquired​(AnalyticsListener.EventTime eventTime)
    Deprecated. - +
    - + @@ -351,7 +351,7 @@ implements
  • DefaultPlaybackSessionManager

    -
    public DefaultPlaybackSessionManager​(Supplier<String> sessionIdGenerator)
    +
    public DefaultPlaybackSessionManager​(Supplier<String> sessionIdGenerator)
    Creates session manager.
    Parameters:
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/analytics/MediaMetricsListener.html b/docs/doc/reference/com/google/android/exoplayer2/analytics/MediaMetricsListener.html new file mode 100644 index 0000000000..70f091b284 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/analytics/MediaMetricsListener.html @@ -0,0 +1,721 @@ + + + + +MediaMetricsListener (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class MediaMetricsListener

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.analytics.MediaMetricsListener
      • +
      +
    • +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/analytics/PlaybackSessionManager.Listener.html b/docs/doc/reference/com/google/android/exoplayer2/analytics/PlaybackSessionManager.Listener.html index b3745f4680..33a274545b 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/analytics/PlaybackSessionManager.Listener.html +++ b/docs/doc/reference/com/google/android/exoplayer2/analytics/PlaybackSessionManager.Listener.html @@ -122,7 +122,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • All Known Implementing Classes:
    -
    PlaybackStatsListener
    +
    MediaMetricsListener, PlaybackStatsListener
    Enclosing interface:
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/analytics/PlaybackStatsListener.html b/docs/doc/reference/com/google/android/exoplayer2/analytics/PlaybackStatsListener.html index f62cdb2436..7d26c91950 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/analytics/PlaybackStatsListener.html +++ b/docs/doc/reference/com/google/android/exoplayer2/analytics/PlaybackStatsListener.html @@ -193,7 +193,7 @@ implements AnalyticsListener -EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_CODEC_ERROR, EVENT_AUDIO_DECODER_INITIALIZED, EVENT_AUDIO_DECODER_RELEASED, EVENT_AUDIO_DISABLED, EVENT_AUDIO_ENABLED, EVENT_AUDIO_INPUT_FORMAT_CHANGED, EVENT_AUDIO_POSITION_ADVANCING, EVENT_AUDIO_SESSION_ID, EVENT_AUDIO_SINK_ERROR, EVENT_AUDIO_UNDERRUN, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_BANDWIDTH_ESTIMATE, EVENT_DOWNSTREAM_FORMAT_CHANGED, EVENT_DRM_KEYS_LOADED, EVENT_DRM_KEYS_REMOVED, EVENT_DRM_KEYS_RESTORED, EVENT_DRM_SESSION_ACQUIRED, EVENT_DRM_SESSION_MANAGER_ERROR, EVENT_DRM_SESSION_RELEASED, EVENT_DROPPED_VIDEO_FRAMES, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_LOAD_CANCELED, EVENT_LOAD_COMPLETED, EVENT_LOAD_ERROR, EVENT_LOAD_STARTED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYER_RELEASED, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACKS_CHANGED, EVENT_UPSTREAM_DISCARDED, EVENT_VIDEO_CODEC_ERROR, EVENT_VIDEO_DECODER_INITIALIZED, EVENT_VIDEO_DECODER_RELEASED, EVENT_VIDEO_DISABLED, EVENT_VIDEO_ENABLED, EVENT_VIDEO_FRAME_PROCESSING_OFFSET, EVENT_VIDEO_INPUT_FORMAT_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED
  • +EVENT_AUDIO_ATTRIBUTES_CHANGED, EVENT_AUDIO_CODEC_ERROR, EVENT_AUDIO_DECODER_INITIALIZED, EVENT_AUDIO_DECODER_RELEASED, EVENT_AUDIO_DISABLED, EVENT_AUDIO_ENABLED, EVENT_AUDIO_INPUT_FORMAT_CHANGED, EVENT_AUDIO_POSITION_ADVANCING, EVENT_AUDIO_SESSION_ID, EVENT_AUDIO_SINK_ERROR, EVENT_AUDIO_UNDERRUN, EVENT_AVAILABLE_COMMANDS_CHANGED, EVENT_BANDWIDTH_ESTIMATE, EVENT_CUES, EVENT_DEVICE_INFO_CHANGED, EVENT_DEVICE_VOLUME_CHANGED, EVENT_DOWNSTREAM_FORMAT_CHANGED, EVENT_DRM_KEYS_LOADED, EVENT_DRM_KEYS_REMOVED, EVENT_DRM_KEYS_RESTORED, EVENT_DRM_SESSION_ACQUIRED, EVENT_DRM_SESSION_MANAGER_ERROR, EVENT_DRM_SESSION_RELEASED, EVENT_DROPPED_VIDEO_FRAMES, EVENT_IS_LOADING_CHANGED, EVENT_IS_PLAYING_CHANGED, EVENT_LOAD_CANCELED, EVENT_LOAD_COMPLETED, EVENT_LOAD_ERROR, EVENT_LOAD_STARTED, EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED, EVENT_MEDIA_ITEM_TRANSITION, EVENT_MEDIA_METADATA_CHANGED, EVENT_METADATA, EVENT_PLAY_WHEN_READY_CHANGED, EVENT_PLAYBACK_PARAMETERS_CHANGED, EVENT_PLAYBACK_STATE_CHANGED, EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED, EVENT_PLAYER_ERROR, EVENT_PLAYER_RELEASED, EVENT_PLAYLIST_METADATA_CHANGED, EVENT_POSITION_DISCONTINUITY, EVENT_RENDERED_FIRST_FRAME, EVENT_REPEAT_MODE_CHANGED, EVENT_SEEK_BACK_INCREMENT_CHANGED, EVENT_SEEK_FORWARD_INCREMENT_CHANGED, EVENT_SHUFFLE_MODE_ENABLED_CHANGED, EVENT_SKIP_SILENCE_ENABLED_CHANGED, EVENT_SURFACE_SIZE_CHANGED, EVENT_TIMELINE_CHANGED, EVENT_TRACK_SELECTION_PARAMETERS_CHANGED, EVENT_TRACKS_CHANGED, EVENT_UPSTREAM_DISCARDED, EVENT_VIDEO_CODEC_ERROR, EVENT_VIDEO_DECODER_INITIALIZED, EVENT_VIDEO_DECODER_RELEASED, EVENT_VIDEO_DISABLED, EVENT_VIDEO_ENABLED, EVENT_VIDEO_FRAME_PROCESSING_OFFSET, EVENT_VIDEO_INPUT_FORMAT_CHANGED, EVENT_VIDEO_SIZE_CHANGED, EVENT_VOLUME_CHANGED
  • @@ -372,7 +372,7 @@ implements AnalyticsListener -onAudioAttributesChanged, onAudioCodecError, onAudioDecoderInitialized, onAudioDecoderInitialized, onAudioDecoderReleased, onAudioDisabled, onAudioEnabled, onAudioInputFormatChanged, onAudioInputFormatChanged, onAudioPositionAdvancing, onAudioSessionIdChanged, onAudioSinkError, onAudioUnderrun, onAvailableCommandsChanged, onDecoderDisabled, onDecoderEnabled, onDecoderInitialized, onDecoderInputFormatChanged, onDrmKeysLoaded, onDrmKeysRemoved, onDrmKeysRestored, onDrmSessionAcquired, onDrmSessionAcquired, onDrmSessionReleased, onIsLoadingChanged, onIsPlayingChanged, onLoadCanceled, onLoadCompleted, onLoadingChanged, onLoadStarted, onMaxSeekToPreviousPositionChanged, onMediaItemTransition, onMediaMetadataChanged, onMetadata, onPlaybackParametersChanged, onPlaybackStateChanged, onPlaybackSuppressionReasonChanged, onPlayerError, onPlayerReleased, onPlayerStateChanged, onPlaylistMetadataChanged, onPlayWhenReadyChanged, onPositionDiscontinuity, onRenderedFirstFrame, onRepeatModeChanged, onSeekBackIncrementChanged, onSeekForwardIncrementChanged, onSeekProcessed, onSeekStarted, onShuffleModeChanged, onSkipSilenceEnabledChanged, onSurfaceSizeChanged, onTimelineChanged, onTracksChanged, onTracksInfoChanged, onUpstreamDiscarded, onVideoCodecError, onVideoDecoderInitialized, onVideoDecoderInitialized, onVideoDecoderReleased, onVideoDisabled, onVideoEnabled, onVideoFrameProcessingOffset, onVideoInputFormatChanged, onVideoInputFormatChanged, onVideoSizeChanged, onVolumeChanged +onAudioAttributesChanged, onAudioCodecError, onAudioDecoderInitialized, onAudioDecoderInitialized, onAudioDecoderReleased, onAudioDisabled, onAudioEnabled, onAudioInputFormatChanged, onAudioInputFormatChanged, onAudioPositionAdvancing, onAudioSessionIdChanged, onAudioSinkError, onAudioUnderrun, onAvailableCommandsChanged, onCues, onDecoderDisabled, onDecoderEnabled, onDecoderInitialized, onDecoderInputFormatChanged, onDeviceInfoChanged, onDeviceVolumeChanged, onDrmKeysLoaded, onDrmKeysRemoved, onDrmKeysRestored, onDrmSessionAcquired, onDrmSessionAcquired, onDrmSessionReleased, onIsLoadingChanged, onIsPlayingChanged, onLoadCanceled, onLoadCompleted, onLoadingChanged, onLoadStarted, onMaxSeekToPreviousPositionChanged, onMediaItemTransition, onMediaMetadataChanged, onMetadata, onPlaybackParametersChanged, onPlaybackStateChanged, onPlaybackSuppressionReasonChanged, onPlayerError, onPlayerErrorChanged, onPlayerReleased, onPlayerStateChanged, onPlaylistMetadataChanged, onPlayWhenReadyChanged, onPositionDiscontinuity, onRenderedFirstFrame, onRepeatModeChanged, onSeekBackIncrementChanged, onSeekForwardIncrementChanged, onSeekProcessed, onSeekStarted, onShuffleModeChanged, onSkipSilenceEnabledChanged, onSurfaceSizeChanged, onTimelineChanged, onTracksChanged, onTrackSelectionParametersChanged, onTracksInfoChanged, onUpstreamDiscarded, onVideoCodecError, onVideoDecoderInitialized, onVideoDecoderInitialized, onVideoDecoderReleased, onVideoDisabled, onVideoEnabled, onVideoFrameProcessingOffset, onVideoInputFormatChanged, onVideoInputFormatChanged, onVideoSizeChanged, onVolumeChanged diff --git a/docs/doc/reference/com/google/android/exoplayer2/util/GlUtil.Attribute.html b/docs/doc/reference/com/google/android/exoplayer2/analytics/PlayerId.html similarity index 77% rename from docs/doc/reference/com/google/android/exoplayer2/util/GlUtil.Attribute.html rename to docs/doc/reference/com/google/android/exoplayer2/analytics/PlayerId.html index 30b3d1f15a..a91c1e4061 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/util/GlUtil.Attribute.html +++ b/docs/doc/reference/com/google/android/exoplayer2/analytics/PlayerId.html @@ -2,7 +2,7 @@ -GlUtil.Attribute (ExoPlayer library) +PlayerId (ExoPlayer library) @@ -19,13 +19,13 @@ + + + + + + + + + +
    + +
    + +
    +
    + +

    Class DefaultAudioSink.Builder

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.audio.DefaultAudioSink.Builder
      • +
      +
    • +
    +
    + +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          Builder

          +
          public Builder()
          +
          Creates a new builder.
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + + + + + +
          +
        • +

          setAudioProcessors

          +
          public DefaultAudioSink.Builder setAudioProcessors​(AudioProcessor[] audioProcessors)
          +
          Sets an array of AudioProcessorss that will process PCM audio before + output. May be empty. Equivalent of setAudioProcessorChain(new + DefaultAudioProcessorChain(audioProcessors). + +

          The default value is an empty array.

          +
        • +
        + + + + + + + +
          +
        • +

          setEnableFloatOutput

          +
          public DefaultAudioSink.Builder setEnableFloatOutput​(boolean enableFloatOutput)
          +
          Sets whether to enable 32-bit float output or integer output. Where possible, 32-bit float + output will be used if the input is 32-bit float, and also if the input is high resolution + (24-bit or 32-bit) integer PCM. Float output is supported from API level 21. Audio processing + (for example, speed adjustment) will not be available when float output is in use. + +

          The default value is false.

          +
        • +
        + + + +
          +
        • +

          setEnableAudioTrackPlaybackParams

          +
          public DefaultAudioSink.Builder setEnableAudioTrackPlaybackParams​(boolean enableAudioTrackPlaybackParams)
          +
          Sets whether to control the playback speed using the platform implementation (see AudioTrack.setPlaybackParams(PlaybackParams)), if supported. If set to false, speed + up/down of the audio will be done by ExoPlayer (see SonicAudioProcessor). Platform + speed adjustment is lower latency, but less reliable. + +

          The default value is false.

          +
        • +
        + + + +
          +
        • +

          setOffloadMode

          +
          public DefaultAudioSink.Builder setOffloadMode​(@com.google.android.exoplayer2.audio.DefaultAudioSink.OffloadMode int offloadMode)
          +
          Sets the offload mode. If an audio format can be both played with offload and encoded audio + passthrough, it will be played in offload. Audio offload is supported from API level 29. Most + Android devices can only support one offload AudioTrack at a time and can invalidate + it at any time. Thus an app can never be guaranteed that it will be able to play in offload. + Audio processing (for example, speed adjustment) will not be available when offload is in + use. + +

          The default value is DefaultAudioSink.OFFLOAD_MODE_DISABLED.

          +
        • +
        + + + +
          +
        • +

          setAudioTrackBufferSizeProvider

          +
          public DefaultAudioSink.Builder setAudioTrackBufferSizeProvider​(com.google.android.exoplayer2.audio.DefaultAudioSink.AudioTrackBufferSizeProvider audioTrackBufferSizeProvider)
          +
          Sets an DefaultAudioSink.AudioTrackBufferSizeProvider to compute the buffer size when DefaultAudioSink.configure(com.google.android.exoplayer2.Format, int, int[]) is called with specifiedBufferSize == 0. + +

          The default value is DefaultAudioSink.AudioTrackBufferSizeProvider.DEFAULT.

          +
        • +
        + + + + +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/DefaultAudioSink.OffloadMode.html b/docs/doc/reference/com/google/android/exoplayer2/audio/DefaultAudioSink.OffloadMode.html index 95d8e572d6..54c8e981ac 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/DefaultAudioSink.OffloadMode.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/DefaultAudioSink.OffloadMode.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    @Documented
     @Retention(SOURCE)
    +@Target(TYPE_USE)
     public static @interface DefaultAudioSink.OffloadMode
    Audio offload mode configuration.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/transformer/TranscodingTransformer.ProgressState.html b/docs/doc/reference/com/google/android/exoplayer2/audio/DefaultAudioSink.OutputMode.html similarity index 86% rename from docs/doc/reference/com/google/android/exoplayer2/transformer/TranscodingTransformer.ProgressState.html rename to docs/doc/reference/com/google/android/exoplayer2/audio/DefaultAudioSink.OutputMode.html index 90cd81f90d..2add21bfeb 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/transformer/TranscodingTransformer.ProgressState.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/DefaultAudioSink.OutputMode.html @@ -2,7 +2,7 @@ -TranscodingTransformer.ProgressState (ExoPlayer library) +DefaultAudioSink.OutputMode (ExoPlayer library) @@ -19,7 +19,7 @@ @@ -113,15 +113,15 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    - -

    Class GlUtil.Uniform

    + +

    Class DefaultAudioTrackBufferSizeProvider.Builder

    • java.lang.Object
      • -
      • com.google.android.exoplayer2.util.GlUtil.Uniform
      • +
      • com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider.Builder
    @@ -130,43 +130,18 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • Enclosing class:
    -
    GlUtil
    +
    DefaultAudioTrackBufferSizeProvider

    -
    public static final class GlUtil.Uniform
    +
    public static class DefaultAudioTrackBufferSizeProvider.Builder
     extends Object
    -
    GL uniform, which can be attached to a sampler using setSamplerTexId(int, int).
    +
    A builder to create DefaultAudioTrackBufferSizeProvider instances.
  • @@ -414,7 +414,7 @@ implements void -handleMessage​(int messageType, +handleMessage​(@com.google.android.exoplayer2.Renderer.MessageType int messageType, Object message)
    Handles a message delivered to the target.
    @@ -443,7 +443,8 @@ implements protected void -onCodecInitialized​(String name, +onCodecInitialized​(String name, + MediaCodecAdapter.Configuration configuration, long initializedTimestampMs, long initializationDurationMs) @@ -576,7 +577,7 @@ implements -protected int +protected @com.google.android.exoplayer2.RendererCapabilities.Capabilities int supportsFormat​(MediaCodecSelector mediaCodecSelector, Format format) @@ -589,14 +590,14 @@ implements MediaCodecRenderer -createDecoderException, flushOrReinitializeCodec, flushOrReleaseCodec, getCodec, getCodecInfo, getCodecNeedsEosPropagation, getCodecOperatingRate, getCodecOutputMediaFormat, getOutputStreamOffsetUs, getPlaybackSpeed, handleInputBufferSupplementalData, maybeInitCodecOrBypass, onProcessedOutputBuffer, onStreamChanged, releaseCodec, render, resetCodecStateForFlush, resetCodecStateForRelease, setPendingOutputEndOfStream, setPendingPlaybackException, setPlaybackSpeed, setRenderTimeLimitMs, shouldInitCodec, supportsFormat, supportsFormatDrm, supportsMixedMimeTypeAdaptation, updateCodecOperatingRate, updateOutputFormatForTime +createDecoderException, flushOrReinitializeCodec, flushOrReleaseCodec, getCodec, getCodecInfo, getCodecNeedsEosPropagation, getCodecOperatingRate, getCodecOutputMediaFormat, getOutputStreamOffsetUs, getPlaybackSpeed, handleInputBufferSupplementalData, maybeInitCodecOrBypass, onProcessedOutputBuffer, onStreamChanged, releaseCodec, render, resetCodecStateForFlush, resetCodecStateForRelease, setPendingOutputEndOfStream, setPendingPlaybackException, setPlaybackSpeed, setRenderTimeLimitMs, shouldInitCodec, shouldReinitCodec, supportsFormat, supportsFormatDrm, supportsMixedMimeTypeAdaptation, updateCodecOperatingRate, updateOutputFormatForTime
    • @@ -670,7 +671,6 @@ implements Handler eventHandler, @Nullable AudioRendererEventListener eventListener, - @Nullable AudioCapabilities audioCapabilities, AudioProcessor... audioProcessors)
      @@ -680,8 +680,8 @@ implements AudioCapabilities.DEFAULT_AUDIO_CAPABILITIES if default capabilities (no encoded audio + passthrough support) should be assumed.
      audioProcessors - Optional AudioProcessors that will process PCM audio before output.
      @@ -823,10 +823,9 @@ implements
    • supportsFormat

      -
      @Capabilities
      -protected int supportsFormat​(MediaCodecSelector mediaCodecSelector,
      -                             Format format)
      -                      throws MediaCodecUtil.DecoderQueryException
      +
      protected @com.google.android.exoplayer2.RendererCapabilities.Capabilities int supportsFormat​(MediaCodecSelector mediaCodecSelector,
      +                                                                                              Format format)
      +                                                                                       throws MediaCodecUtil.DecoderQueryException
      Description copied from class: MediaCodecRenderer
      Returns the RendererCapabilities.Capabilities for the given Format.
      @@ -995,24 +994,26 @@ public  + - +
      • handleMessage

        -
        public void handleMessage​(@MessageType
        -                          int messageType,
        +
        public void handleMessage​(@com.google.android.exoplayer2.Renderer.MessageType int messageType,
                                   @Nullable
                                   Object message)
                            throws ExoPlaybackException
        -
        Description copied from interface: PlayerMessage.Target
        +
        Description copied from interface: PlayerMessage.Target
        Handles a message delivered to the target.
        Specified by:
        -
        handleMessage in interface PlayerMessage.Target
        +
        handleMessage in interface PlayerMessage.Target
        Overrides:
        -
        handleMessage in class BaseRenderer
        +
        handleMessage in class BaseRenderer
        Parameters:
        messageType - The message type.
        message - The message payload.
        diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/SilenceSkippingAudioProcessor.html b/docs/doc/reference/com/google/android/exoplayer2/audio/SilenceSkippingAudioProcessor.html index e6fd0e559a..be4242f43c 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/SilenceSkippingAudioProcessor.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/SilenceSkippingAudioProcessor.html @@ -310,7 +310,7 @@ extends void queueInput​(ByteBuffer inputBuffer) -
        Queues audio data between the position and limit of the input buffer for processing.
        +
        Queues audio data between the position and limit of the inputBuffer for processing.
        @@ -514,14 +514,15 @@ extends public void queueInput​(ByteBuffer inputBuffer)
        Description copied from interface: AudioProcessor
        -
        Queues audio data between the position and limit of the input buffer for processing. - buffer must be a direct byte buffer with native byte order. Its contents are treated as - read-only. Its position will be advanced by the number of bytes consumed (which may be zero). - The caller retains ownership of the provided buffer. Calling this method invalidates any - previous buffer returned by AudioProcessor.getOutput().
        +
        Queues audio data between the position and limit of the inputBuffer for processing. + After calling this method, processed output may be available via AudioProcessor.getOutput(). Calling + queueInput(ByteBuffer) again invalidates any pending output.
        Parameters:
        -
        inputBuffer - The input buffer to process.
        +
        inputBuffer - The input buffer to process. It must be a direct byte buffer with native + byte order. Its contents are treated as read-only. Its position will be advanced by the + number of bytes consumed (which may be zero). The caller retains ownership of the provided + buffer.
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/SonicAudioProcessor.html b/docs/doc/reference/com/google/android/exoplayer2/audio/SonicAudioProcessor.html index 7e20e13ce7..dd401c1b62 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/SonicAudioProcessor.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/SonicAudioProcessor.html @@ -284,7 +284,7 @@ implements void queueInput​(ByteBuffer inputBuffer) -
      Queues audio data between the position and limit of the input buffer for processing.
      +
      Queues audio data between the position and limit of the inputBuffer for processing.
      @@ -505,16 +505,17 @@ implements public void queueInput​(ByteBuffer inputBuffer)
      Description copied from interface: AudioProcessor
      -
      Queues audio data between the position and limit of the input buffer for processing. - buffer must be a direct byte buffer with native byte order. Its contents are treated as - read-only. Its position will be advanced by the number of bytes consumed (which may be zero). - The caller retains ownership of the provided buffer. Calling this method invalidates any - previous buffer returned by AudioProcessor.getOutput().
      +
      Queues audio data between the position and limit of the inputBuffer for processing. + After calling this method, processed output may be available via AudioProcessor.getOutput(). Calling + queueInput(ByteBuffer) again invalidates any pending output.
      Specified by:
      queueInput in interface AudioProcessor
      Parameters:
      -
      inputBuffer - The input buffer to process.
      +
      inputBuffer - The input buffer to process. It must be a direct byte buffer with native + byte order. Its contents are treated as read-only. Its position will be advanced by the + number of bytes consumed (which may be zero). The caller retains ownership of the provided + buffer.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.AudioBufferSink.html b/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.AudioBufferSink.html index 09b060b9dd..38aa812b6e 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.AudioBufferSink.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.AudioBufferSink.html @@ -153,9 +153,9 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); void -flush​(int sampleRateHz, +flush​(int sampleRateHz, int channelCount, - int encoding) + @com.google.android.exoplayer2.C.PcmEncoding int encoding)
    Called when the audio processor is flushed with a format of subsequent input.
    @@ -184,7 +184,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));

    Method Detail

    - +
      @@ -192,8 +192,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));

      flush

      void flush​(int sampleRateHz,
                  int channelCount,
      -           @PcmEncoding
      -           int encoding)
      + @com.google.android.exoplayer2.C.PcmEncoding int encoding)
      Called when the audio processor is flushed with a format of subsequent input.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.WavFileAudioBufferSink.html b/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.WavFileAudioBufferSink.html index 2dcf041b7a..394df7d5ad 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.WavFileAudioBufferSink.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.WavFileAudioBufferSink.html @@ -191,9 +191,9 @@ implements void -flush​(int sampleRateHz, +flush​(int sampleRateHz, int channelCount, - int encoding) + @com.google.android.exoplayer2.C.PcmEncoding int encoding)
    Called when the audio processor is flushed with a format of subsequent input.
    @@ -253,7 +253,7 @@ implements + diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.html b/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.html index 2575d10588..f112491117 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/TeeAudioProcessor.html @@ -286,7 +286,7 @@ extends void queueInput​(ByteBuffer inputBuffer) -
    Queues audio data between the position and limit of the input buffer for processing.
    +
    Queues audio data between the position and limit of the inputBuffer for processing.
    @@ -368,14 +368,15 @@ extends public void queueInput​(ByteBuffer inputBuffer)
    Description copied from interface: AudioProcessor
    -
    Queues audio data between the position and limit of the input buffer for processing. - buffer must be a direct byte buffer with native byte order. Its contents are treated as - read-only. Its position will be advanced by the number of bytes consumed (which may be zero). - The caller retains ownership of the provided buffer. Calling this method invalidates any - previous buffer returned by AudioProcessor.getOutput().
    +
    Queues audio data between the position and limit of the inputBuffer for processing. + After calling this method, processed output may be available via AudioProcessor.getOutput(). Calling + queueInput(ByteBuffer) again invalidates any pending output.
    Parameters:
    -
    inputBuffer - The input buffer to process.
    +
    inputBuffer - The input buffer to process. It must be a direct byte buffer with native + byte order. Its contents are treated as read-only. Its position will be advanced by the + number of bytes consumed (which may be zero). The caller retains ownership of the provided + buffer.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/WavUtil.html b/docs/doc/reference/com/google/android/exoplayer2/audio/WavUtil.html index 4fa2b3cdf5..267f0bf1da 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/WavUtil.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/WavUtil.html @@ -255,7 +255,7 @@ extends Description -static int +static @com.google.android.exoplayer2.C.PcmEncoding int getPcmEncodingForType​(int type, int bitsPerSample) @@ -264,7 +264,7 @@ extends static int -getTypeForPcmEncoding​(int pcmEncoding) +getTypeForPcmEncoding​(@com.google.android.exoplayer2.C.PcmEncoding int pcmEncoding)
    Returns the WAVE format type value for the given C.PcmEncoding.
    @@ -471,14 +471,13 @@ extends

    Method Detail

    - +
    • getTypeForPcmEncoding

      -
      public static int getTypeForPcmEncoding​(@PcmEncoding
      -                                        int pcmEncoding)
      +
      public static int getTypeForPcmEncoding​(@com.google.android.exoplayer2.C.PcmEncoding int pcmEncoding)
      Returns the WAVE format type value for the given C.PcmEncoding.
      Parameters:
      @@ -497,9 +496,8 @@ extends
    • getPcmEncodingForType

      -
      @PcmEncoding
      -public static int getPcmEncodingForType​(int type,
      -                                        int bitsPerSample)
      +
      public static @com.google.android.exoplayer2.C.PcmEncoding int getPcmEncodingForType​(int type,
      +                                                                                     int bitsPerSample)
      Returns the C.PcmEncoding for the given WAVE format type value, or C.ENCODING_INVALID if the type is not a known PCM type.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html b/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html index adbed47e7e..ff6048ccb7 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/package-summary.html @@ -258,73 +258,91 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); +DefaultAudioSink.Builder + +
    A builder to create DefaultAudioSink instances.
    + + + DefaultAudioSink.DefaultAudioProcessorChain
    The default audio processor chain, which applies a (possibly empty) chain of user-defined audio processors followed by SilenceSkippingAudioProcessor and SonicAudioProcessor.
    + +DefaultAudioTrackBufferSizeProvider + +
    Provide the buffer size to use when creating an AudioTrack.
    + + +DefaultAudioTrackBufferSizeProvider.Builder + +
    A builder to create DefaultAudioTrackBufferSizeProvider instances.
    + + + DtsUtil
    Utility methods for parsing DTS frames.
    - + ForwardingAudioSink
    An overridable AudioSink implementation forwarding all methods to another sink.
    - + MediaCodecAudioRenderer
    Decodes and renders audio using MediaCodec and an AudioSink.
    - + MpegAudioUtil
    Utility methods for handling MPEG audio streams.
    - + MpegAudioUtil.Header
    Stores the metadata for an MPEG audio frame.
    - + OpusUtil
    Utility methods for handling Opus audio streams.
    - + SilenceSkippingAudioProcessor
    An AudioProcessor that skips silence in the input stream.
    - + SonicAudioProcessor
    An AudioProcessor that uses the Sonic library to modify audio speed/pitch/sample rate.
    - + TeeAudioProcessor
    Audio processor that outputs its input unmodified and also outputs its input to a given sink.
    - + TeeAudioProcessor.WavFileAudioBufferSink
    A sink for audio buffers that writes output audio as .wav files with a given path prefix.
    - + WavUtil
    Utilities for handling WAVE files.
    @@ -412,6 +430,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    Audio offload mode configuration.
    + +DefaultAudioSink.OutputMode + +
    Output mode of the audio sink.
    + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html b/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html index 397e2d4786..f5aa27b124 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html +++ b/docs/doc/reference/com/google/android/exoplayer2/audio/package-tree.html @@ -133,7 +133,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • com.google.android.exoplayer2.audio.DefaultAudioSink (implements com.google.android.exoplayer2.audio.AudioSink)
  • +
  • com.google.android.exoplayer2.audio.DefaultAudioSink.Builder
  • com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain (implements com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain)
  • +
  • com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider
  • +
  • com.google.android.exoplayer2.audio.DefaultAudioTrackBufferSizeProvider.Builder
  • com.google.android.exoplayer2.audio.DtsUtil
  • com.google.android.exoplayer2.audio.ForwardingAudioSink (implements com.google.android.exoplayer2.audio.AudioSink)
  • com.google.android.exoplayer2.audio.MpegAudioUtil
  • @@ -183,6 +186,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo.StreamType (implements java.lang.annotation.Annotation)
  • com.google.android.exoplayer2.audio.AudioSink.SinkFormatSupport (implements java.lang.annotation.Annotation)
  • com.google.android.exoplayer2.audio.DefaultAudioSink.OffloadMode (implements java.lang.annotation.Annotation)
  • +
  • com.google.android.exoplayer2.audio.DefaultAudioSink.OutputMode (implements java.lang.annotation.Annotation)
  • diff --git a/docs/doc/reference/com/google/android/exoplayer2/database/VersionTable.html b/docs/doc/reference/com/google/android/exoplayer2/database/VersionTable.html index dfed319152..dfc1710fa1 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/database/VersionTable.html +++ b/docs/doc/reference/com/google/android/exoplayer2/database/VersionTable.html @@ -185,7 +185,7 @@ extends static int VERSION_UNSET -
    Returned by getVersion(SQLiteDatabase, int, String) if the version is unset.
    +
    Returned by getVersion(SQLiteDatabase, int, String) if the version is unset.
    @@ -208,8 +208,8 @@ extends static int -getVersion​(SQLiteDatabase database, - int feature, +getVersion​(SQLiteDatabase database, + @com.google.android.exoplayer2.database.VersionTable.Feature int feature, String instanceUid)
    Returns the version of a specified instance of a feature, or VERSION_UNSET if no @@ -218,8 +218,8 @@ extends static void -removeVersion​(SQLiteDatabase writableDatabase, - int feature, +removeVersion​(SQLiteDatabase writableDatabase, + @com.google.android.exoplayer2.database.VersionTable.Feature int feature, String instanceUid)
    Removes the version of a specified instance of a feature.
    @@ -227,8 +227,8 @@ extends static void -setVersion​(SQLiteDatabase writableDatabase, - int feature, +setVersion​(SQLiteDatabase writableDatabase, + @com.google.android.exoplayer2.database.VersionTable.Feature int feature, String instanceUid, int version) @@ -266,7 +266,7 @@ extends

    VERSION_UNSET

    public static final int VERSION_UNSET
    -
    +
    Returned by getVersion(SQLiteDatabase, int, String) if the version is unset.
    See Also:
    Constant Field Values
    @@ -339,15 +339,14 @@ extends

    Method Detail

    - +
    • setVersion

      public static void setVersion​(SQLiteDatabase writableDatabase,
      -                              @Feature
      -                              int feature,
      +                              @com.google.android.exoplayer2.database.VersionTable.Feature int feature,
                                     String instanceUid,
                                     int version)
                              throws DatabaseIOException
      @@ -363,15 +362,14 @@ extends
    - +
    • removeVersion

      public static void removeVersion​(SQLiteDatabase writableDatabase,
      -                                 @Feature
      -                                 int feature,
      +                                 @com.google.android.exoplayer2.database.VersionTable.Feature int feature,
                                        String instanceUid)
                                 throws DatabaseIOException
      Removes the version of a specified instance of a feature.
      @@ -385,15 +383,14 @@ extends
    - +
    • getVersion

      public static int getVersion​(SQLiteDatabase database,
      -                             @Feature
      -                             int feature,
      +                             @com.google.android.exoplayer2.database.VersionTable.Feature int feature,
                                    String instanceUid)
                             throws DatabaseIOException
      Returns the version of a specified instance of a feature, or VERSION_UNSET if no diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html index 9c9d6fa5c1..a11651bce9 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/Buffer.html @@ -179,7 +179,7 @@ extends void -addFlag​(int flag) +addFlag​(@com.google.android.exoplayer2.C.BufferFlags int flag)
      Adds the flag to this buffer's flags.
      @@ -193,14 +193,14 @@ extends void -clearFlag​(int flag) +clearFlag​(@com.google.android.exoplayer2.C.BufferFlags int flag)
      Removes the flag from this buffer's flags, if it is set.
      protected boolean -getFlag​(int flag) +getFlag​(@com.google.android.exoplayer2.C.BufferFlags int flag)
      Returns whether the specified flag has been set on this buffer.
      @@ -235,7 +235,7 @@ extends void -setFlags​(int flags) +setFlags​(@com.google.android.exoplayer2.C.BufferFlags int flags)
      Replaces this buffer's flags with flags.
      @@ -333,14 +333,13 @@ extends Returns whether the C.BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA flag is set.
    - +
    • setFlags

      -
      public final void setFlags​(@BufferFlags
      -                           int flags)
      +
      public final void setFlags​(@com.google.android.exoplayer2.C.BufferFlags int flags)
      Replaces this buffer's flags with flags.
      Parameters:
      @@ -349,14 +348,13 @@ extends
    - +
    • addFlag

      -
      public final void addFlag​(@BufferFlags
      -                          int flag)
      +
      public final void addFlag​(@com.google.android.exoplayer2.C.BufferFlags int flag)
      Adds the flag to this buffer's flags.
      Parameters:
      @@ -365,14 +363,13 @@ extends
    - +
    • clearFlag

      -
      public final void clearFlag​(@BufferFlags
      -                            int flag)
      +
      public final void clearFlag​(@com.google.android.exoplayer2.C.BufferFlags int flag)
      Removes the flag from this buffer's flags, if it is set.
      Parameters:
      @@ -380,14 +377,13 @@ extends
    - +
    • getFlag

      -
      protected final boolean getFlag​(@BufferFlags
      -                                int flag)
      +
      protected final boolean getFlag​(@com.google.android.exoplayer2.C.BufferFlags int flag)
      Returns whether the specified flag has been set on this buffer.
      Parameters:
      diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/CryptoInfo.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/CryptoInfo.html index 4a3e2e1f7a..3a0645f7f2 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/decoder/CryptoInfo.html +++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/CryptoInfo.html @@ -179,7 +179,7 @@ extends -int +@com.google.android.exoplayer2.C.CryptoMode int mode
      The type of encryption that has been applied.
      @@ -261,12 +261,12 @@ extends void -set​(int numSubSamples, +set​(int numSubSamples, int[] numBytesOfClearData, int[] numBytesOfEncryptedData, byte[] key, byte[] iv, - int mode, + @com.google.android.exoplayer2.C.CryptoMode int mode, int encryptedBlocks, int clearBlocks)   @@ -332,8 +332,7 @@ public byte[] key
      • mode

        -
        @CryptoMode
        -public int mode
        +
        public @com.google.android.exoplayer2.C.CryptoMode int mode
        The type of encryption that has been applied. Must be one of the C.CryptoMode values.
        See Also:
        @@ -442,7 +441,7 @@ public int[] numBytesOfEncryptedData

        Method Detail

        - +
          @@ -453,8 +452,7 @@ public int[] numBytesOfEncryptedData int[] numBytesOfEncryptedData, byte[] key, byte[] iv, - @CryptoMode - int mode, + @com.google.android.exoplayer2.C.CryptoMode int mode, int encryptedBlocks, int clearBlocks)
          diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderCounters.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderCounters.html index 5141097f13..e2828f91f5 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderCounters.html +++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderCounters.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -179,16 +179,16 @@ extends int -droppedToKeyframeCount +droppedInputBufferCount -
          The number of times all buffers to a keyframe were dropped.
          +
          The number of input buffers dropped.
          int -inputBufferCount +droppedToKeyframeCount -
          The number of queued input buffers.
          +
          The number of times all buffers to a keyframe were dropped.
          @@ -200,33 +200,40 @@ extends int +queuedInputBufferCount + +
          The number of input buffers queued to the decoder.
          + + + +int renderedOutputBufferCount
          The number of rendered output buffers.
          - + int skippedInputBufferCount
          The number of skipped input buffers.
          - + int skippedOutputBufferCount
          The number of skipped output buffers.
          - + long totalVideoFrameProcessingOffsetUs
          The sum of the video frame processing offsets in microseconds.
          - + int videoFrameProcessingOffsetCount @@ -294,13 +301,18 @@ extends Merges the counts from other into this instance.
    + +String +toString() +  + @@ -338,14 +350,14 @@ extends The number of times a decoder has been released. - +
    • -

      inputBufferCount

      -
      public int inputBufferCount
      -
      The number of queued input buffers.
      +

      queuedInputBufferCount

      +
      public int queuedInputBufferCount
      +
      The number of input buffers queued to the decoder.
    @@ -357,7 +369,7 @@ extends public int skippedInputBufferCount
    The number of skipped input buffers. -

    A skipped input buffer is an input buffer that was deliberately not sent to the decoder.

    +

    A skipped input buffer is an input buffer that was deliberately not queued to the decoder. @@ -379,7 +391,9 @@ extends public int skippedOutputBufferCount

    +

    A skipped output buffer is an output buffer that was deliberately not rendered. This + includes buffers that were never dequeued from the decoder and instead skipped while 'inside' + the codec due to a flush. @@ -391,8 +405,24 @@ extends public int droppedBufferCount

    +

    A dropped buffer is a buffer that was supposed to be decoded/rendered, but was instead + dropped because it could not be rendered in time. + +

    This includes all of droppedInputBufferCount in addition to buffers dropped after + being queued to the decoder. + + + + + +

      +
    • +

      droppedInputBufferCount

      +
      public int droppedInputBufferCount
      +
      The number of input buffers dropped. + +

      A dropped input buffer is a buffer that was not queued to the decoder because it would not + be rendered in time.

    @@ -404,7 +434,7 @@ extends public int maxConsecutiveDroppedBufferCount
    The maximum number of dropped buffers without an interleaving rendered output buffer. -

    Skipped output buffers are ignored for the purposes of calculating this value.

    +

    Skipped buffers are ignored for the purposes of calculating this value. @@ -416,9 +446,16 @@ extends public int droppedToKeyframeCount

    +

    Each time buffers to a keyframe are dropped: + +

    @@ -511,7 +548,7 @@ extends -
      +
      • addVideoFrameProcessingOffset

        public void addVideoFrameProcessingOffset​(long processingOffsetUs)
        @@ -525,6 +562,19 @@ extends
      + + + +
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.BufferReplacementMode.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.BufferReplacementMode.html index 517c8f5890..d20ff76ca8 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.BufferReplacementMode.html +++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.BufferReplacementMode.html @@ -115,6 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    @Documented
     @Retention(SOURCE)
    +@Target(TYPE_USE)
     public static @interface DecoderInputBuffer.BufferReplacementMode
    The buffer replacement mode. This controls how DecoderInputBuffer.ensureSpaceForWrite(int) generates replacement buffers when the capacity of the existing buffer is insufficient. One of DecoderInputBuffer.BUFFER_REPLACEMENT_MODE_DISABLED, DecoderInputBuffer.BUFFER_REPLACEMENT_MODE_NORMAL or DecoderInputBuffer.BUFFER_REPLACEMENT_MODE_DIRECT.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html index 626866aaab..327a53be06 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/decoder/DecoderInputBuffer.html @@ -276,13 +276,13 @@ extends Description -DecoderInputBuffer​(int bufferReplacementMode) +DecoderInputBuffer​(@com.google.android.exoplayer2.decoder.DecoderInputBuffer.BufferReplacementMode int bufferReplacementMode)
    Creates a new instance.
    -DecoderInputBuffer​(int bufferReplacementMode, +DecoderInputBuffer​(@com.google.android.exoplayer2.decoder.DecoderInputBuffer.BufferReplacementMode int bufferReplacementMode, int paddingSize)
    Creates a new instance.
    @@ -356,7 +356,7 @@ extends Buffer -addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isKeyFrame, setFlags +addFlag, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isKeyFrame, setFlags - + @@ -446,7 +365,7 @@ implements void -setContentTypePredicate​(Predicate<String> contentTypePredicate) +setContentTypePredicate​(Predicate<String> contentTypePredicate)
    Deprecated.
    @@ -535,118 +454,6 @@ implements - - - - - - - - - - -
      -
    • -

      CronetDataSource

      -
      @Deprecated
      -public CronetDataSource​(org.chromium.net.CronetEngine cronetEngine,
      -                        Executor executor,
      -                        int connectTimeoutMs,
      -                        int readTimeoutMs,
      -                        boolean resetTimeoutOnRedirects,
      -                        @Nullable
      -                        HttpDataSource.RequestProperties defaultRequestProperties,
      -                        boolean handleSetCookieRequests)
      -
      Deprecated. - -
      -
    • -
    - - - - - - - - - - - - @@ -665,7 +472,7 @@ public CronetDataSource​(org.chromium.net.CronetEngine cronetEng @Nullable HttpDataSource.RequestProperties defaultRequestProperties, @Nullable - Predicate<String> contentTypePredicate, + Predicate<String> contentTypePredicate, boolean keepPostFor302Redirects) @@ -687,13 +494,13 @@ public CronetDataSource​(org.chromium.net.CronetEngine cronetEng

    setContentTypePredicate

    @Deprecated
     public void setContentTypePredicate​(@Nullable
    -                                    Predicate<String> contentTypePredicate)
    + Predicate<String> contentTypePredicate)
    Deprecated.
    -
    Sets a content type Predicate. If a content type is rejected by the predicate then a +
    Sets a content type Predicate. If a content type is rejected by the predicate then a HttpDataSource.InvalidContentTypeException is thrown from open(DataSpec).
    Parameters:
    -
    contentTypePredicate - The content type Predicate, or null to clear a +
    contentTypePredicate - The content type Predicate, or null to clear a predicate that was previously set.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html index 7658a9d92d..2bbc3dae9b 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ffmpeg/FfmpegAudioRenderer.html @@ -171,7 +171,7 @@ extends RendererCapabilities -RendererCapabilities.AdaptiveSupport, RendererCapabilities.Capabilities, RendererCapabilities.FormatSupport, RendererCapabilities.TunnelingSupport +RendererCapabilities.AdaptiveSupport, RendererCapabilities.Capabilities, RendererCapabilities.DecoderSupport, RendererCapabilities.FormatSupport, RendererCapabilities.HardwareAccelerationSupport, RendererCapabilities.TunnelingSupport @@ -195,7 +195,7 @@ extends RendererCapabilities -ADAPTIVE_NOT_SEAMLESS, ADAPTIVE_NOT_SUPPORTED, ADAPTIVE_SEAMLESS, ADAPTIVE_SUPPORT_MASK, FORMAT_EXCEEDS_CAPABILITIES, FORMAT_HANDLED, FORMAT_SUPPORT_MASK, FORMAT_UNSUPPORTED_DRM, FORMAT_UNSUPPORTED_SUBTYPE, FORMAT_UNSUPPORTED_TYPE, TUNNELING_NOT_SUPPORTED, TUNNELING_SUPPORT_MASK, TUNNELING_SUPPORTED +ADAPTIVE_NOT_SEAMLESS, ADAPTIVE_NOT_SUPPORTED, ADAPTIVE_SEAMLESS, ADAPTIVE_SUPPORT_MASK, DECODER_SUPPORT_FALLBACK, DECODER_SUPPORT_PRIMARY, FORMAT_EXCEEDS_CAPABILITIES, FORMAT_HANDLED, FORMAT_SUPPORT_MASK, FORMAT_UNSUPPORTED_DRM, FORMAT_UNSUPPORTED_SUBTYPE, FORMAT_UNSUPPORTED_TYPE, HARDWARE_ACCELERATION_NOT_SUPPORTED, HARDWARE_ACCELERATION_SUPPORT_MASK, HARDWARE_ACCELERATION_SUPPORTED, MODE_SUPPORT_MASK, TUNNELING_NOT_SUPPORTED, TUNNELING_SUPPORT_MASK, TUNNELING_SUPPORTED @@ -274,14 +274,14 @@ extends -protected int +protected @com.google.android.exoplayer2.C.FormatSupport int supportsFormatInternal​(Format format)
    Returns the C.FormatSupport for the given Format.
    -int +@com.google.android.exoplayer2.RendererCapabilities.AdaptiveSupport int supportsMixedMimeTypeAdaptation()
    Returns the extent to which the Renderer supports adapting between supported formats @@ -294,14 +294,14 @@ extends DecoderAudioRenderer -canReuseDecoder, experimentalSetEnableKeepAudioTrackOnSeek, getMediaClock, getPlaybackParameters, getPositionUs, getSinkFormatSupport, handleMessage, isEnded, isReady, onDisabled, onEnabled, onPositionDiscontinuity, onPositionReset, onQueueInputBuffer, onStarted, onStopped, render, setPlaybackParameters, sinkSupportsFormat, supportsFormat +canReuseDecoder, experimentalSetEnableKeepAudioTrackOnSeek, getMediaClock, getPlaybackParameters, getPositionUs, getSinkFormatSupport, handleMessage, isEnded, isReady, onDisabled, onEnabled, onPositionDiscontinuity, onPositionReset, onQueueInputBuffer, onStarted, onStopped, render, setPlaybackParameters, sinkSupportsFormat, supportsFormat @@ -195,7 +195,7 @@ extends RendererCapabilities -ADAPTIVE_NOT_SEAMLESS, ADAPTIVE_NOT_SUPPORTED, ADAPTIVE_SEAMLESS, ADAPTIVE_SUPPORT_MASK, FORMAT_EXCEEDS_CAPABILITIES, FORMAT_HANDLED, FORMAT_SUPPORT_MASK, FORMAT_UNSUPPORTED_DRM, FORMAT_UNSUPPORTED_SUBTYPE, FORMAT_UNSUPPORTED_TYPE, TUNNELING_NOT_SUPPORTED, TUNNELING_SUPPORT_MASK, TUNNELING_SUPPORTED +ADAPTIVE_NOT_SEAMLESS, ADAPTIVE_NOT_SUPPORTED, ADAPTIVE_SEAMLESS, ADAPTIVE_SUPPORT_MASK, DECODER_SUPPORT_FALLBACK, DECODER_SUPPORT_PRIMARY, FORMAT_EXCEEDS_CAPABILITIES, FORMAT_HANDLED, FORMAT_SUPPORT_MASK, FORMAT_UNSUPPORTED_DRM, FORMAT_UNSUPPORTED_SUBTYPE, FORMAT_UNSUPPORTED_TYPE, HARDWARE_ACCELERATION_NOT_SUPPORTED, HARDWARE_ACCELERATION_SUPPORT_MASK, HARDWARE_ACCELERATION_SUPPORTED, MODE_SUPPORT_MASK, TUNNELING_NOT_SUPPORTED, TUNNELING_SUPPORT_MASK, TUNNELING_SUPPORTED @@ -274,7 +274,7 @@ extends -protected int +protected @com.google.android.exoplayer2.C.FormatSupport int supportsFormatInternal​(Format format)
    Returns the C.FormatSupport for the given Format.
    @@ -286,14 +286,14 @@ extends DecoderAudioRenderer -canReuseDecoder, experimentalSetEnableKeepAudioTrackOnSeek, getMediaClock, getPlaybackParameters, getPositionUs, getSinkFormatSupport, handleMessage, isEnded, isReady, onDisabled, onEnabled, onPositionDiscontinuity, onPositionReset, onQueueInputBuffer, onStarted, onStopped, render, setPlaybackParameters, sinkSupportsFormat, supportsFormat +canReuseDecoder, experimentalSetEnableKeepAudioTrackOnSeek, getMediaClock, getPlaybackParameters, getPositionUs, getSinkFormatSupport, handleMessage, isEnded, isReady, onDisabled, onEnabled, onPositionDiscontinuity, onPositionReset, onQueueInputBuffer, onStarted, onStopped, render, setPlaybackParameters, sinkSupportsFormat, supportsFormat
    Parameters:
    adMediaMimeTypes - The MIME types to prioritize for linear ad media. May contain MimeTypes.APPLICATION_MPD, MimeTypes.APPLICATION_M3U8, MimeTypes.VIDEO_MP4, MimeTypes.VIDEO_WEBM, MimeTypes.VIDEO_H263, MimeTypes.AUDIO_MP4 and MimeTypes.AUDIO_MPEG.
    diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.html index 96e20ce38e..33181925d8 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.html @@ -25,7 +25,7 @@ catch(err) { } //--> -var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; +var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -130,23 +130,24 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • All Implemented Interfaces:
    -
    Player.EventListener, Player.Listener, AdsLoader
    +
    AdsLoader

    public final class ImaAdsLoader
     extends Object
    -implements Player.Listener, AdsLoader
    +implements AdsLoader
    AdsLoader using the IMA SDK. All methods must be called on the main thread.

    The player instance that will play the loaded ads must be set before playback using setPlayer(Player). If the ads loader is no longer required, it must be released by calling release(). -

    See https://developers.google.com/interactive-media-ads/docs/sdks/android/compatibility for - information on compatible ad tag formats. Pass the ad tag URI when setting media item playback - properties (if using the media item API) or as a DataSpec when constructing the AdsMediaSource (if using media sources directly). For the latter case, please note that this - implementation delegates loading of the data spec to the IMA SDK, so range and headers - specifications will be ignored in ad tag URIs. Literal ads responses can be encoded as data - scheme data specs, for example, by constructing the data spec using a URI generated via Util.getDataUriForString(String, String). +

    See IMA's + Support and compatibility page for information on compatible ad tag formats. Pass the ad tag + URI when setting media item playback properties (if using the media item API) or as a DataSpec when constructing the AdsMediaSource (if using media sources directly). For the + latter case, please note that this implementation delegates loading of the data spec to the IMA + SDK, so range and headers specifications will be ignored in ad tag URIs. Literal ads responses + can be encoded as data scheme data specs, for example, by constructing the data spec using a URI + generated via Util.getDataUriForString(String, String).

    The IMA SDK can report obstructions to the ad view for accurate viewability measurement. This means that any overlay views that obstruct the ad overlay but are essential for playback need to @@ -185,7 +186,7 @@ implements AdsLoader -AdsLoader.EventListener

  • +AdsLoader.EventListener, AdsLoader.Provider @@ -248,43 +249,12 @@ implements void -onPositionDiscontinuity​(Player.PositionInfo oldPosition, - Player.PositionInfo newPosition, - @com.google.android.exoplayer2.Player.DiscontinuityReason int reason) - -
    Called when a position discontinuity occurs.
    - - - -void -onRepeatModeChanged​(@com.google.android.exoplayer2.Player.RepeatMode int repeatMode) - -
    Called when the value of Player.getRepeatMode() changes.
    - - - -void -onShuffleModeEnabledChanged​(boolean shuffleModeEnabled) - -
    Called when the value of Player.getShuffleModeEnabled() changes.
    - - - -void -onTimelineChanged​(Timeline timeline, - @com.google.android.exoplayer2.Player.TimelineChangeReason int reason) - -
    Called when the timeline has been refreshed.
    - - - -void release()
    Releases the loader.
    - + void requestAds​(DataSpec adTagDataSpec, Object adsId, @@ -293,28 +263,28 @@ implements Requests ads, if they have not already been requested.
    - + void setPlayer​(Player player)
    Sets the player that will play the loaded ads.
    - + void -setSupportedContentTypes​(int... contentTypes) +setSupportedContentTypes​(@com.google.android.exoplayer2.C.ContentType int... contentTypes)
    Sets the supported content types for ad media.
    - + void skipAd()
    Skips the current ad.
    - + void start​(AdsMediaSource adsMediaSource, DataSpec adTagDataSpec, @@ -325,7 +295,7 @@ implements Starts using the ads loader for playback. - + void stop​(AdsMediaSource adsMediaSource, AdsLoader.EventListener eventListener) @@ -341,20 +311,6 @@ implements Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait - - @@ -476,20 +432,20 @@ public com.google.ads.interactivemedia.v3.api.AdDisplayContainer getAd - + - - - - - - - - - - - - - - - - diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html new file mode 100644 index 0000000000..13718a7ef5 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.Builder.html @@ -0,0 +1,441 @@ + + + + +ImaServerSideAdInsertionMediaSource.AdsLoader.Builder (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class ImaServerSideAdInsertionMediaSource.AdsLoader.Builder

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource.AdsLoader.Builder
      • +
      +
    • +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.State.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.State.html new file mode 100644 index 0000000000..6dafe6f145 --- /dev/null +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.State.html @@ -0,0 +1,379 @@ + + + + +ImaServerSideAdInsertionMediaSource.AdsLoader.State (ExoPlayer library) + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class ImaServerSideAdInsertionMediaSource.AdsLoader.State

    +
    +
    +
      +
    • java.lang.Object
    • +
    • +
        +
      • com.google.android.exoplayer2.ext.ima.ImaServerSideAdInsertionMediaSource.AdsLoader.State
      • +
      +
    • +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + + + diff --git a/docs/doc/reference/com/google/android/exoplayer2/offline/ActionFileUpgradeUtil.html b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.html similarity index 56% rename from docs/doc/reference/com/google/android/exoplayer2/offline/ActionFileUpgradeUtil.html rename to docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.html index 732896c6c0..f9b4798b6f 100644 --- a/docs/doc/reference/com/google/android/exoplayer2/offline/ActionFileUpgradeUtil.html +++ b/docs/doc/reference/com/google/android/exoplayer2/ext/ima/ImaServerSideAdInsertionMediaSource.AdsLoader.html @@ -2,36 +2,36 @@ -ActionFileUpgradeUtil (ExoPlayer library) +ImaServerSideAdInsertionMediaSource.AdsLoader (ExoPlayer library) - - - - - + + + + + - - + +