Skip to content

Commit ab4d37f

Browse files
authored
Merge pull request #10443 from google/dev-v2-r2.18.1
r2.18.1
2 parents 03569f9 + 1a650f2 commit ab4d37f

File tree

92 files changed

+4425
-1282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+4425
-1282
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ body:
1818
label: ExoPlayer Version
1919
description: What version of ExoPlayer are you using?
2020
options:
21+
- 2.18.1
2122
- 2.18.0
2223
- 2.17.1
2324
- 2.17.0

RELEASENOTES.md

Lines changed: 55 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# Release notes
22

3+
### 2.18.1 (2022-07-21)
4+
5+
This release corresponds to the
6+
[AndroidX media3 1.0.0-beta02 release](https://github.com/androidx/media/releases/tag/1.0.0-beta02).
7+
8+
* Core library:
9+
* Ensure that changing the `ShuffleOrder` with `ExoPlayer.setShuffleOrder`
10+
results in a call to `Player.Listener#onTimelineChanged` with
11+
`reason=Player.TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED`
12+
([#9889](https://github.com/google/ExoPlayer/issues/9889)).
13+
* For progressive media, only include selected tracks in buffered position
14+
([#10361](https://github.com/google/ExoPlayer/issues/10361)).
15+
* Allow custom logger for all ExoPlayer log output
16+
([#9752](https://github.com/google/ExoPlayer/issues/9752)).
17+
* Fix implementation of `setDataSourceFactory` in
18+
`DefaultMediaSourceFactory`, which was non-functional in some cases
19+
([#116](https://github.com/androidx/media/issues/116)).
20+
* Extractors:
21+
* Fix parsing of H265 short term reference picture sets
22+
([#10316](https://github.com/google/ExoPlayer/issues/10316)).
23+
* Fix parsing of bitrates from `esds` boxes
24+
([#10381](https://github.com/google/ExoPlayer/issues/10381)).
25+
* DASH:
26+
* Parse ClearKey license URL from manifests
27+
([#10246](https://github.com/google/ExoPlayer/issues/10246)).
28+
* UI:
29+
* Ensure TalkBack announces the currently active speed option in the
30+
playback controls menu
31+
([#10298](https://github.com/google/ExoPlayer/issues/10298)).
32+
* RTSP:
33+
* Add VP8 fragmented packet handling
34+
([#110](https://github.com/androidx/media/pull/110)).
35+
* Leanback extension:
36+
* Listen to `playWhenReady` changes in `LeanbackAdapter`
37+
([10420](https://github.com/google/ExoPlayer/issues/10420)).
38+
* Cast:
39+
* Use the `MediaItem` that has been passed to the playlist methods as
40+
`Window.mediaItem` in `CastTimeline`
41+
([#25](https://github.com/androidx/media/issues/25),
42+
[#8212](https://github.com/google/ExoPlayer/issues/8212)).
43+
* Support `Player.getMetadata()` and `Listener.onMediaMetadataChanged()`
44+
with `CastPlayer` ([#25](https://github.com/androidx/media/issues/25)).
45+
346
### 2.18.0 (2022-06-16)
447

548
This release corresponds to the
@@ -37,7 +80,9 @@ This release corresponds to the
3780
* Rename `TracksInfo` to `Tracks` and `TracksInfo.TrackGroupInfo` to
3881
`Tracks.Group`. `Player.getCurrentTracksInfo` and
3982
`Player.Listener.onTracksInfoChanged` have also been renamed to
40-
`Player.getCurrentTracks` and `Player.Listener.onTracksChanged`.
83+
`Player.getCurrentTracks` and `Player.Listener.onTracksChanged`. This
84+
includes 'un-deprecating' the `Player.Listener.onTracksChanged` method
85+
name, but with different parameter types.
4186
* Change `DefaultTrackSelector.buildUponParameters` and
4287
`DefaultTrackSelector.Parameters.buildUpon` to return
4388
`DefaultTrackSelector.Parameters.Builder` instead of the deprecated
@@ -91,6 +136,8 @@ This release corresponds to the
91136
* Remove `RawCcExtractor`, which was only used to handle a Google-internal
92137
subtitle format.
93138
* Extractors:
139+
* Add support for AVI
140+
([#2092](https://github.com/google/ExoPlayer/issues/2092)).
94141
* Matroska: Parse `DiscardPadding` for Opus tracks.
95142
* MP4: Parse bitrates from `esds` boxes.
96143
* Ogg: Allow duplicate Opus ID and comment headers
@@ -140,6 +187,8 @@ This release corresponds to the
140187
of `DefaultCompositeSequenceableLoaderFactory` can be passed explicitly
141188
if required.
142189
* RTSP:
190+
* Add RTP reader for H263
191+
([#63](https://github.com/androidx/media/pull/63)).
143192
* Add RTP reader for MPEG4
144193
([#35](https://github.com/androidx/media/pull/35)).
145194
* Add RTP reader for HEVC
@@ -172,10 +221,11 @@ This release corresponds to the
172221
AndroidStudio's gradle sync to fail
173222
([#9933](https://github.com/google/ExoPlayer/issues/9933)).
174223
* Remove deprecated symbols:
175-
* Remove `Player.Listener.onTracksChanged`. Use
176-
`Player.Listener.onTracksInfoChanged` instead.
224+
* Remove `Player.Listener.onTracksChanged(TrackGroupArray,
225+
TrackSelectionArray)`. Use `Player.Listener.onTracksChanged(Tracks)`
226+
instead.
177227
* Remove `Player.getCurrentTrackGroups` and
178-
`Player.getCurrentTrackSelections`. Use `Player.getCurrentTracksInfo`
228+
`Player.getCurrentTrackSelections`. Use `Player.getCurrentTracks`
179229
instead. You can also continue to use `ExoPlayer.getCurrentTrackGroups`
180230
and `ExoPlayer.getCurrentTrackSelections`, although these methods remain
181231
deprecated.
@@ -371,7 +421,7 @@ This release corresponds to the
371421
when creating `PendingIntent`s
372422
([#9528](https://github.com/google/ExoPlayer/issues/9528)).
373423
* Remove deprecated symbols:
374-
* Remove `Player.EventLister`. Use `Player.Listener` instead.
424+
* Remove `Player.EventListener`. Use `Player.Listener` instead.
375425
* Remove `MediaSourceFactory.setDrmSessionManager`,
376426
`MediaSourceFactory.setDrmHttpDataSourceFactory`, and
377427
`MediaSourceFactory.setDrmUserAgent`. Use

constants.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// limitations under the License.
1414
project.ext {
1515
// ExoPlayer version and version code.
16-
releaseVersion = '2.18.0'
17-
releaseVersionCode = 2_018_000
16+
releaseVersion = '2.18.1'
17+
releaseVersionCode = 2_018_001
1818
minSdkVersion = 16
1919
appTargetSdkVersion = 29
2020
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some

demos/main/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@
7878
<data android:scheme="file"/>
7979
<data android:scheme="ssai"/>
8080
</intent-filter>
81+
<intent-filter>
82+
<action android:name="com.google.android.exoplayer.demo.action.VIEW"/>
83+
<category android:name="android.intent.category.DEFAULT"/>
84+
<data android:scheme="content"/>
85+
<data android:mimeType="*/*"/>
86+
</intent-filter>
8187
<intent-filter>
8288
<action android:name="com.google.android.exoplayer.demo.action.VIEW_LIST"/>
8389
<category android:name="android.intent.category.DEFAULT"/>

demos/surface/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
<data android:scheme="asset"/>
4444
<data android:scheme="file"/>
4545
</intent-filter>
46+
<intent-filter>
47+
<action android:name="com.google.android.exoplayer.surfacedemo.action.VIEW"/>
48+
<category android:name="android.intent.category.DEFAULT"/>
49+
<data android:scheme="content"/>
50+
<data android:mimeType="*/*"/>
51+
</intent-filter>
4652
</activity>
4753

4854
</application>

demos/transformer/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@
4949
<data android:scheme="asset"/>
5050
<data android:scheme="file"/>
5151
</intent-filter>
52+
<intent-filter>
53+
<action android:name="com.google.android.exoplayer2.transformerdemo.action.VIEW"/>
54+
<category android:name="android.intent.category.DEFAULT"/>
55+
<data android:scheme="content"/>
56+
<data android:mimeType="*/*"/>
57+
</intent-filter>
5258
</activity>
5359
<activity android:name=".TransformerActivity"
5460
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"

docs/doc/reference/allclasses-index.html

Lines changed: 132 additions & 131 deletions
Large diffs are not rendered by default.

docs/doc/reference/allclasses.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
709709
<li><a href="com/google/android/exoplayer2/source/LoadEventInfo.html" title="class in com.google.android.exoplayer2.source">LoadEventInfo</a></li>
710710
<li><a href="com/google/android/exoplayer2/drm/LocalMediaDrmCallback.html" title="class in com.google.android.exoplayer2.drm">LocalMediaDrmCallback</a></li>
711711
<li><a href="com/google/android/exoplayer2/util/Log.html" title="class in com.google.android.exoplayer2.util">Log</a></li>
712+
<li><a href="com/google/android/exoplayer2/util/Log.Logger.html" title="interface in com.google.android.exoplayer2.util"><span class="interfaceName">Log.Logger</span></a></li>
712713
<li><a href="com/google/android/exoplayer2/util/Log.LogLevel.html" title="annotation in com.google.android.exoplayer2.util">Log.LogLevel</a></li>
713714
<li><a href="com/google/android/exoplayer2/util/LongArray.html" title="class in com.google.android.exoplayer2.util">LongArray</a></li>
714715
<li><a href="com/google/android/exoplayer2/source/LoopingMediaSource.html" title="class in com.google.android.exoplayer2.source">LoopingMediaSource</a></li>
@@ -833,7 +834,6 @@ <h1 class="bar">All&nbsp;Classes</h1>
833834
<li><a href="com/google/android/exoplayer2/NoSampleRenderer.html" title="class in com.google.android.exoplayer2">NoSampleRenderer</a></li>
834835
<li><a href="com/google/android/exoplayer2/util/NotificationUtil.html" title="class in com.google.android.exoplayer2.util">NotificationUtil</a></li>
835836
<li><a href="com/google/android/exoplayer2/util/NotificationUtil.Importance.html" title="annotation in com.google.android.exoplayer2.util">NotificationUtil.Importance</a></li>
836-
<li><a href="com/google/android/exoplayer2/testutil/NoUidTimeline.html" title="class in com.google.android.exoplayer2.testutil">NoUidTimeline</a></li>
837837
<li><a href="com/google/android/exoplayer2/drm/OfflineLicenseHelper.html" title="class in com.google.android.exoplayer2.drm">OfflineLicenseHelper</a></li>
838838
<li><a href="com/google/android/exoplayer2/extractor/ogg/OggExtractor.html" title="class in com.google.android.exoplayer2.extractor.ogg">OggExtractor</a></li>
839839
<li><a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSource.html" title="class in com.google.android.exoplayer2.ext.okhttp">OkHttpDataSource</a></li>

0 commit comments

Comments
 (0)