Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r2.18.1 #10443

Merged
merged 37 commits into from
Jul 22, 2022
Merged

r2.18.1 #10443

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3748cc8
Fix handling of content URIs by demo apps
ojw28 Jun 7, 2022
996f947
Fix permissions request for media provider content URIs
ojw28 Jun 10, 2022
92c3535
Cleanup: Remove unnecessary self-refs in Util
ojw28 Jun 15, 2022
643e78c
Misc javadoc fix.
christosts Jun 15, 2022
5051b47
Misc improvement in Util
christosts Jun 16, 2022
3727385
Fix parsing H265 short term reference picture sets
ojw28 Jun 20, 2022
de78cfa
Clear pending doSomeWork messages when sleeping for offload
tonihei Jun 21, 2022
2753837
Inform ProgressiveMediaPeriod of known length earlier
ojw28 Jun 23, 2022
0b75c25
Rename shouldUseDummySurface to shouldUsePlaceholderSurface
tonihei Jun 27, 2022
0d83c44
Clean up offload state tracking
tonihei Jun 27, 2022
98f5bdb
Fix release notes related to track selection renames and deletions
icbaker Jun 28, 2022
29a2292
Fix typo in the media3 1.0.0-alpha02 / ExoPlayer 2.17.0 release notes
icbaker Jun 28, 2022
f3a350d
Use a helper function and Truth Correspondence instead of NoUidTimeline
icbaker Jun 28, 2022
d3b5f71
Consider shuffle order in Timeline.equals()
icbaker Jun 28, 2022
315bf6b
Ensure TalkBack announces the selected playback speed in the UI menu
icbaker Jun 29, 2022
3709e90
Fix MP4 parser issue in reading length of URL array from esds boxes.
rohitjoins Jul 1, 2022
3d79536
Fix MP4 parser issue in reading bitrates from esds boxes.
rohitjoins Jul 1, 2022
84280c8
Only consider enabled tracks in ProgressiveMediaPeriod.bufferedPosition
tonihei Jul 1, 2022
036a48d
Exclude HEVC 10bit profile on Pixel 1.
tonihei Jul 6, 2022
f9f6cb3
Add missing Nullable annotation
christosts Jul 7, 2022
43eb3d0
Add tests for extracting MP4 with large bitrates
rohitjoins Jul 7, 2022
8051fe5
Merge pull request #96 from fengdai:release
rohitjoins Jul 7, 2022
c2ddf27
Use mediaId as contentId if available
marcbaechinger Jul 5, 2022
ef96641
Merge pull request #10260 from sr1990:clearkey_parse_licenseurl
rohitjoins Jul 7, 2022
d39075a
Don't block AudioTrack when waiting for previous release
tonihei Jul 7, 2022
36a99cb
Listen to playWhenReady changes in LeanbackPlayerAdapter
christosts Jul 11, 2022
05e42eb
Use the public MediaItem in the timeline of CastPlayer
marcbaechinger Jul 11, 2022
4b684b5
Group COMMAND_SET_MEDIA_ITEM and COMMAND_CHANGE_MEDIA_ITEMS together
icbaker Jul 12, 2022
6abbb49
Enable onMediaMetadataChanged in CastPlayer
marcbaechinger Jul 12, 2022
9b7674a
Add migration script
marcbaechinger Jul 12, 2022
344ac7b
Merge pull request #110 from ittiam-systems:rtp_vp8_test
rohitjoins Jul 13, 2022
268de23
Don't set the tag in CastTimeline
marcbaechinger Jul 12, 2022
77a3b16
Merge pull request #10185 from TiVo:p-custom-logger
rohitjoins Jul 13, 2022
b82be04
Fix setDataSourceFactory handling in DefaultMediaSourceFactory
tonihei Jul 13, 2022
064bbbf
Version bump to exoplayer:2.18.1 and media3:1.0.0-beta02
rohitjoins Jul 15, 2022
d24163c
Update JavaDoc for 2.18.1
rohitjoins Jul 15, 2022
1a650f2
Modify release date for 2.18.1 and media3:1.0.0-beta02
rohitjoins Jul 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ body:
label: ExoPlayer Version
description: What version of ExoPlayer are you using?
options:
- 2.18.1
- 2.18.0
- 2.17.1
- 2.17.0
Expand Down
60 changes: 55 additions & 5 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# Release notes

### 2.18.1 (2022-07-21)

This release corresponds to the
[AndroidX media3 1.0.0-beta02 release](https://github.com/androidx/media/releases/tag/1.0.0-beta02).

* Core library:
* Ensure that changing the `ShuffleOrder` with `ExoPlayer.setShuffleOrder`
results in a call to `Player.Listener#onTimelineChanged` with
`reason=Player.TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED`
([#9889](https://github.com/google/ExoPlayer/issues/9889)).
* For progressive media, only include selected tracks in buffered position
([#10361](https://github.com/google/ExoPlayer/issues/10361)).
* Allow custom logger for all ExoPlayer log output
([#9752](https://github.com/google/ExoPlayer/issues/9752)).
* Fix implementation of `setDataSourceFactory` in
`DefaultMediaSourceFactory`, which was non-functional in some cases
([#116](https://github.com/androidx/media/issues/116)).
* Extractors:
* Fix parsing of H265 short term reference picture sets
([#10316](https://github.com/google/ExoPlayer/issues/10316)).
* Fix parsing of bitrates from `esds` boxes
([#10381](https://github.com/google/ExoPlayer/issues/10381)).
* DASH:
* Parse ClearKey license URL from manifests
([#10246](https://github.com/google/ExoPlayer/issues/10246)).
* UI:
* Ensure TalkBack announces the currently active speed option in the
playback controls menu
([#10298](https://github.com/google/ExoPlayer/issues/10298)).
* RTSP:
* Add VP8 fragmented packet handling
([#110](https://github.com/androidx/media/pull/110)).
* Leanback extension:
* Listen to `playWhenReady` changes in `LeanbackAdapter`
([10420](https://github.com/google/ExoPlayer/issues/10420)).
* Cast:
* Use the `MediaItem` that has been passed to the playlist methods as
`Window.mediaItem` in `CastTimeline`
([#25](https://github.com/androidx/media/issues/25),
[#8212](https://github.com/google/ExoPlayer/issues/8212)).
* Support `Player.getMetadata()` and `Listener.onMediaMetadataChanged()`
with `CastPlayer` ([#25](https://github.com/androidx/media/issues/25)).

### 2.18.0 (2022-06-16)

This release corresponds to the
Expand Down Expand Up @@ -37,7 +80,9 @@ This release corresponds to the
* Rename `TracksInfo` to `Tracks` and `TracksInfo.TrackGroupInfo` to
`Tracks.Group`. `Player.getCurrentTracksInfo` and
`Player.Listener.onTracksInfoChanged` have also been renamed to
`Player.getCurrentTracks` and `Player.Listener.onTracksChanged`.
`Player.getCurrentTracks` and `Player.Listener.onTracksChanged`. This
includes 'un-deprecating' the `Player.Listener.onTracksChanged` method
name, but with different parameter types.
* Change `DefaultTrackSelector.buildUponParameters` and
`DefaultTrackSelector.Parameters.buildUpon` to return
`DefaultTrackSelector.Parameters.Builder` instead of the deprecated
Expand Down Expand Up @@ -91,6 +136,8 @@ This release corresponds to the
* Remove `RawCcExtractor`, which was only used to handle a Google-internal
subtitle format.
* Extractors:
* Add support for AVI
([#2092](https://github.com/google/ExoPlayer/issues/2092)).
* Matroska: Parse `DiscardPadding` for Opus tracks.
* MP4: Parse bitrates from `esds` boxes.
* Ogg: Allow duplicate Opus ID and comment headers
Expand Down Expand Up @@ -140,6 +187,8 @@ This release corresponds to the
of `DefaultCompositeSequenceableLoaderFactory` can be passed explicitly
if required.
* RTSP:
* Add RTP reader for H263
([#63](https://github.com/androidx/media/pull/63)).
* Add RTP reader for MPEG4
([#35](https://github.com/androidx/media/pull/35)).
* Add RTP reader for HEVC
Expand Down Expand Up @@ -172,10 +221,11 @@ This release corresponds to the
AndroidStudio's gradle sync to fail
([#9933](https://github.com/google/ExoPlayer/issues/9933)).
* Remove deprecated symbols:
* Remove `Player.Listener.onTracksChanged`. Use
`Player.Listener.onTracksInfoChanged` instead.
* Remove `Player.Listener.onTracksChanged(TrackGroupArray,
TrackSelectionArray)`. Use `Player.Listener.onTracksChanged(Tracks)`
instead.
* Remove `Player.getCurrentTrackGroups` and
`Player.getCurrentTrackSelections`. Use `Player.getCurrentTracksInfo`
`Player.getCurrentTrackSelections`. Use `Player.getCurrentTracks`
instead. You can also continue to use `ExoPlayer.getCurrentTrackGroups`
and `ExoPlayer.getCurrentTrackSelections`, although these methods remain
deprecated.
Expand Down Expand Up @@ -371,7 +421,7 @@ This release corresponds to the
when creating `PendingIntent`s
([#9528](https://github.com/google/ExoPlayer/issues/9528)).
* Remove deprecated symbols:
* Remove `Player.EventLister`. Use `Player.Listener` instead.
* Remove `Player.EventListener`. Use `Player.Listener` instead.
* Remove `MediaSourceFactory.setDrmSessionManager`,
`MediaSourceFactory.setDrmHttpDataSourceFactory`, and
`MediaSourceFactory.setDrmUserAgent`. Use
Expand Down
4 changes: 2 additions & 2 deletions constants.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// limitations under the License.
project.ext {
// ExoPlayer version and version code.
releaseVersion = '2.18.0'
releaseVersionCode = 2_018_000
releaseVersion = '2.18.1'
releaseVersionCode = 2_018_001
minSdkVersion = 16
appTargetSdkVersion = 29
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
Expand Down
6 changes: 6 additions & 0 deletions demos/main/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@
<data android:scheme="file"/>
<data android:scheme="ssai"/>
</intent-filter>
<intent-filter>
<action android:name="com.google.android.exoplayer.demo.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="content"/>
<data android:mimeType="*/*"/>
</intent-filter>
<intent-filter>
<action android:name="com.google.android.exoplayer.demo.action.VIEW_LIST"/>
<category android:name="android.intent.category.DEFAULT"/>
Expand Down
6 changes: 6 additions & 0 deletions demos/surface/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@
<data android:scheme="asset"/>
<data android:scheme="file"/>
</intent-filter>
<intent-filter>
<action android:name="com.google.android.exoplayer.surfacedemo.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="content"/>
<data android:mimeType="*/*"/>
</intent-filter>
</activity>

</application>
Expand Down
6 changes: 6 additions & 0 deletions demos/transformer/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
<data android:scheme="asset"/>
<data android:scheme="file"/>
</intent-filter>
<intent-filter>
<action android:name="com.google.android.exoplayer2.transformerdemo.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="content"/>
<data android:mimeType="*/*"/>
</intent-filter>
</activity>
<activity android:name=".TransformerActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
Expand Down
263 changes: 132 additions & 131 deletions docs/doc/reference/allclasses-index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/doc/reference/allclasses.html
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="com/google/android/exoplayer2/source/LoadEventInfo.html" title="class in com.google.android.exoplayer2.source">LoadEventInfo</a></li>
<li><a href="com/google/android/exoplayer2/drm/LocalMediaDrmCallback.html" title="class in com.google.android.exoplayer2.drm">LocalMediaDrmCallback</a></li>
<li><a href="com/google/android/exoplayer2/util/Log.html" title="class in com.google.android.exoplayer2.util">Log</a></li>
<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>
<li><a href="com/google/android/exoplayer2/util/Log.LogLevel.html" title="annotation in com.google.android.exoplayer2.util">Log.LogLevel</a></li>
<li><a href="com/google/android/exoplayer2/util/LongArray.html" title="class in com.google.android.exoplayer2.util">LongArray</a></li>
<li><a href="com/google/android/exoplayer2/source/LoopingMediaSource.html" title="class in com.google.android.exoplayer2.source">LoopingMediaSource</a></li>
Expand Down Expand Up @@ -833,7 +834,6 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="com/google/android/exoplayer2/NoSampleRenderer.html" title="class in com.google.android.exoplayer2">NoSampleRenderer</a></li>
<li><a href="com/google/android/exoplayer2/util/NotificationUtil.html" title="class in com.google.android.exoplayer2.util">NotificationUtil</a></li>
<li><a href="com/google/android/exoplayer2/util/NotificationUtil.Importance.html" title="annotation in com.google.android.exoplayer2.util">NotificationUtil.Importance</a></li>
<li><a href="com/google/android/exoplayer2/testutil/NoUidTimeline.html" title="class in com.google.android.exoplayer2.testutil">NoUidTimeline</a></li>
<li><a href="com/google/android/exoplayer2/drm/OfflineLicenseHelper.html" title="class in com.google.android.exoplayer2.drm">OfflineLicenseHelper</a></li>
<li><a href="com/google/android/exoplayer2/extractor/ogg/OggExtractor.html" title="class in com.google.android.exoplayer2.extractor.ogg">OggExtractor</a></li>
<li><a href="com/google/android/exoplayer2/ext/okhttp/OkHttpDataSource.html" title="class in com.google.android.exoplayer2.ext.okhttp">OkHttpDataSource</a></li>
Expand Down
Loading