Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6388dc63
authored
Nov 03, 2021
by
tonihei
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Update release notes for 2.16.0
PiperOrigin-RevId: 407333525
parent
de71fd6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
21 deletions
RELEASENOTES.md
RELEASENOTES.md
View file @
6388dc63
# Release notes
# Release notes
###
dev-v2 (not yet released
)
###
2.16.0 (2021-11-04
)
*
Core Library:
*
Core Library:
*
Deprecate
`SimpleExoPlayer`
. All functionality has been moved to
`ExoPlayer`
instead.
`ExoPlayer.Builder`
can be used instead of
`SimpleExoPlayer.Builder`
.
*
Add track selection methods to the
`Player`
interface, for example,
`Player.getCurrentTracksInfo`
and
`Player.setTrackSelectionParameters`
.
These methods can be used instead of directly accessing the track
selector.
*
Enable MediaCodec asynchronous queueing by default on devices with API
*
Enable MediaCodec asynchronous queueing by default on devices with API
level >= 31. Add methods in
`DefaultMediaCodecRendererFactory`
and
level >= 31. Add methods in
`DefaultMediaCodecRendererFactory`
and
`DefaultRenderersFactory`
to force enable or force disable asynchronous
`DefaultRenderersFactory`
to force enable or force disable asynchronous
queueing (
[
6348
](
https://github.com/google/ExoPlayer/issues/6348
)
).
queueing (
[
6348
](
https://github.com/google/ExoPlayer/issues/6348
)
).
*
Add 12 public method headers to
`ExoPlayer`
that exist in
*
Remove final dependency on
`jcenter()`
.
`SimpleExoPlayer`
, such that all public methods in
`SimpleExoPlayer`
are
*
Fix
`mediaMetadata`
being reset when media is repeated
overrides.
(
[
#9458
](
https://github.com/google/ExoPlayer/issues/9458
)
).
*
Adjust
`ExoPlayer`
`MediaMetadata`
update priority, such that values
input through the
`MediaItem.MediaMetadata`
are used above media derived
values.
*
Move
`com.google.android.exoplayer2.device.DeviceInfo`
to
*
Move
`com.google.android.exoplayer2.device.DeviceInfo`
to
`com.google.android.exoplayer2.DeviceInfo`
.
`com.google.android.exoplayer2.DeviceInfo`
.
*
Move
`com.google.android.exoplayer2.drm.DecryptionException`
to
*
Move
`com.google.android.exoplayer2.drm.DecryptionException`
to
`com.google.android.exoplayer2.decoder.CryptoException`
.
`com.google.android.exoplayer2.decoder.CryptoException`
.
*
Move
`com.google.android.exoplayer2.upstream.cache.CachedRegionTracker`
*
Move
`com.google.android.exoplayer2.upstream.cache.CachedRegionTracker`
to
`com.google.android.exoplayer2.upstream.CachedRegionTracker`
.
to
`com.google.android.exoplayer2.upstream.CachedRegionTracker`
.
*
Remove
`ExoPlayerLibraryInfo.GL_ASSERTIONS_ENABLED`
. Use
`GlUtil.glAssertionsEnabled`
instead.
*
Move
`Player.addListener(EventListener)`
and
*
Move
`Player.addListener(EventListener)`
and
`Player.removeListener(EventListener)`
out of
`Player`
into subclasses.
`Player.removeListener(EventListener)`
out of
`Player`
into subclasses.
*
Fix
`mediaMetadata`
being reset when media is repeated
(
[
#9458
](
https://github.com/google/ExoPlayer/issues/9458
)
).
*
Remove final dependency on
`jcenter()`
.
*
Adjust
`ExoPlayer`
`MediaMetadata`
update priority, such that values
input through the
`MediaItem.MediaMetadata`
are used above media derived
values.
*
Video:
*
Fix bug in
`MediaCodecVideoRenderer`
that resulted in re-using a
released
`Surface`
when playing without an app-provided
`Surface`
(
[
#9476
](
https://github.com/google/ExoPlayer/issues/9476
)
).
*
DRM:
*
Log an error (instead of throwing
`IllegalStateException`
) when calling
`DefaultDrmSession#release()`
on a fully released session
(
[
#9392
](
https://github.com/google/ExoPlayer/issues/9392
)
).
*
Android 12 compatibility:
*
Android 12 compatibility:
*
Keep
`DownloadService`
started and in the foreground whilst waiting for
*
Keep
`DownloadService`
started and in the foreground whilst waiting for
requirements to be met on Android 12. This is necessary due to new
requirements to be met on Android 12. This is necessary due to new
...
@@ -49,6 +43,14 @@
...
@@ -49,6 +43,14 @@
are not compatible with apps targeting Android 12, and will crash with
are not compatible with apps targeting Android 12, and will crash with
an
`IllegalArgumentException`
when creating
`PendingIntent`
s
an
`IllegalArgumentException`
when creating
`PendingIntent`
s
(
[
#9181
](
https://github.com/google/ExoPlayer/issues/9181
)
).
(
[
#9181
](
https://github.com/google/ExoPlayer/issues/9181
)
).
*
Video:
*
Fix bug in
`MediaCodecVideoRenderer`
that resulted in re-using a
released
`Surface`
when playing without an app-provided
`Surface`
(
[
#9476
](
https://github.com/google/ExoPlayer/issues/9476
)
).
*
DRM:
*
Log an error (instead of throwing
`IllegalStateException`
) when calling
`DefaultDrmSession#release()`
on a fully released session
(
[
#9392
](
https://github.com/google/ExoPlayer/issues/9392
)
).
*
UI:
*
UI:
*
`SubtitleView`
no longer implements
`TextOutput`
.
`SubtitleView`
*
`SubtitleView`
no longer implements
`TextOutput`
.
`SubtitleView`
implements
`Player.Listener`
, so can be registered to a player with
implements
`Player.Listener`
, so can be registered to a player with
...
@@ -74,7 +76,7 @@
...
@@ -74,7 +76,7 @@
requirements for downloads to continue. In both cases,
`DownloadService`
requirements for downloads to continue. In both cases,
`DownloadService`
will now remain started and in the foreground whilst waiting for
will now remain started and in the foreground whilst waiting for
requirements to be met.
requirements to be met.
*
Modify
`Downl
ao
dService`
behavior when running on Android 12 and above.
*
Modify
`Downl
oa
dService`
behavior when running on Android 12 and above.
See the "Android 12 compatibility" section above.
See the "Android 12 compatibility" section above.
*
RTSP:
*
RTSP:
*
Support RFC4566 SDP attribute field grammar
*
Support RFC4566 SDP attribute field grammar
...
@@ -83,6 +85,12 @@
...
@@ -83,6 +85,12 @@
*
Populate
`Format.sampleMimeType`
,
`width`
and
`height`
for image
*
Populate
`Format.sampleMimeType`
,
`width`
and
`height`
for image
`AdaptationSet`
elements
`AdaptationSet`
elements
(
[
#9500
](
https://github.com/google/ExoPlayer/issues/9500
)
).
(
[
#9500
](
https://github.com/google/ExoPlayer/issues/9500
)
).
*
HLS:
*
Fix rounding error in HLS playlists
(
[
#9575
](
https://github.com/google/ExoPlayer/issues/9575
)
).
*
Fix
`NoSuchElementException`
thrown when an HLS manifest declares
`#EXT-X-RENDITION-REPORT`
at the beginning of the playlist
(
[
#9592
](
https://github.com/google/ExoPlayer/issues/9592
)
).
*
RTMP extension:
*
RTMP extension:
*
Upgrade to
`io.antmedia:rtmp_client`
, which does not rely on
`jcenter()`
*
Upgrade to
`io.antmedia:rtmp_client`
, which does not rely on
`jcenter()`
(
[
#9591
](
https://github.com/google/ExoPlayer/issues/9591
)
).
(
[
#9591
](
https://github.com/google/ExoPlayer/issues/9591
)
).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment