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
047037e7
authored
Jun 10, 2021
by
olly
Committed by
Oliver Woodman
Jun 10, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Bump version to 2.14.1 and tidy release notes
#minor-release PiperOrigin-RevId: 378665771
parent
5e3022c4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
30 deletions
RELEASENOTES.md
constants.gradle
library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java
RELEASENOTES.md
View file @
047037e7
...
@@ -3,16 +3,8 @@
...
@@ -3,16 +3,8 @@
### dev-v2 (not yet released)
### dev-v2 (not yet released)
*
Core Library:
*
Core Library:
*
Fix gradle config to allow specifying a relative path for
`exoplayerRoot`
when
[
depending on ExoPlayer locally
](
README.md#locally
)
(
[
#8927
](
https://github.com/google/ExoPlayer/issues/8927
)
).
*
Add
`needsReconfiguration`
API to the
`MediaCodecAdapter`
interface.
*
Add
`needsReconfiguration`
API to the
`MediaCodecAdapter`
interface.
*
Update
`MediaItem.Builder`
javadoc to discourage calling setters that
will be (currently) ignored if another setter is not also called.
*
Add
`fastForward`
and
`rewind`
methods to
`Player`
.
*
Add
`fastForward`
and
`rewind`
methods to
`Player`
.
*
Extractors:
*
Add support for MPEG-H 3D Audio in MP4 extractors
(
[
#8860
](
https://github.com/google/ExoPlayer/pull/8860
)
).
*
Remove deprecated symbols:
*
Remove deprecated symbols:
*
Remove
`Player.getPlaybackError`
. Use
`Player.getPlayerError`
instead.
*
Remove
`Player.getPlaybackError`
. Use
`Player.getPlayerError`
instead.
*
Remove
`Player.getCurrentTag`
. Use
`Player.getCurrentMediaItem`
and
*
Remove
`Player.getCurrentTag`
. Use
`Player.getCurrentMediaItem`
and
...
@@ -50,33 +42,42 @@
...
@@ -50,33 +42,42 @@
`setMediaItems`
,
`addMediaItems`
,
`removeMediaItem`
and
`moveMediaItem`
`setMediaItems`
,
`addMediaItems`
,
`removeMediaItem`
and
`moveMediaItem`
instead.
instead.
*
Video:
*
Video:
*
Fix bug that could cause
`CodecException: Error 0xffffffff`
to be thrown
from
`MediaCodec.native_setSurface`
in use cases that involve both
swapping the output
`Surface`
and a mixture of secure and non-secure
content being played
(
[
#8776
](
https://github.com/google/ExoPlayer/issues/8776
)
).
*
Fix
`IncorrectContextUseViolation`
strict mode warning on Android 11
*
Fix
`IncorrectContextUseViolation`
strict mode warning on Android 11
(
[
#8246
](
https://github.com/google/ExoPlayer/pull/8246
)
).
(
[
#8246
](
https://github.com/google/ExoPlayer/pull/8246
)
).
*
Ad playback:
*
Ad playback:
*
Support changing ad break positions in the player logic
*
Support changing ad break positions in the player logic
(
[
#5067
](
https://github.com/google/ExoPlayer/issues/5067
)
.
(
[
#5067
](
https://github.com/google/ExoPlayer/issues/5067
)
.
*
Support resuming content with an offset after an ad group.
*
Support resuming content with an offset after an ad group.
*
HLS
*
Use the PRECISE attribute in EXT-X-START to select the default start
position.
*
Fix a bug where skipping into spliced-in chunks triggered an assertion
error (
[
#8937
](
https://github.com/google/ExoPlayer/issues/8937
)
.
*
PlayerNotificationManager:
*
PlayerNotificationManager:
*
Add
`PendingIntent.FLAG_IMMUTABLE`
flag to BroadcastReceiver to support
*
Add
`PendingIntent.FLAG_IMMUTABLE`
flag to BroadcastReceiver to support
Android 12.
Android 12.
*
Add
`setUseFastForwardActionInCompactView(boolean)`
and
*
Add
`setUseFastForwardActionInCompactView(boolean)`
and
`setUseRewindActionInCompactView(boolean)`
to make it possible to show
`setUseRewindActionInCompactView(boolean)`
to make it possible to show
seek actions in compact view mode.
seek actions in compact view mode.
### 2.14.1 (2021-06-11)
*
Core Library:
*
Fix gradle config to allow specifying a relative path for
`exoplayerRoot`
when
[
depending on ExoPlayer locally
](
README.md#locally
)
(
[
#8927
](
https://github.com/google/ExoPlayer/issues/8927
)
).
*
Update
`MediaItem.Builder`
javadoc to discourage calling setters that
will be (currently) ignored if another setter is not also called.
*
Extractors:
*
Add support for MPEG-H 3D Audio in MP4 extractors
(
[
#8860
](
https://github.com/google/ExoPlayer/pull/8860
)
).
*
Video:
*
Fix bug that could cause
`CodecException: Error 0xffffffff`
to be thrown
from
`MediaCodec.native_setSurface`
in use cases that involve both
swapping the output
`Surface`
and a mixture of secure and non-secure
content being played
(
[
#8776
](
https://github.com/google/ExoPlayer/issues/8776
)
).
*
HLS:
*
Use the
`PRECISE`
attribute in
`EXT-X-START`
to select the default start
position.
*
Fix a bug where skipping into spliced-in chunks triggered an assertion
error (
[
#8937
](
https://github.com/google/ExoPlayer/issues/8937
)
).
*
DRM:
*
DRM:
*
Don't restore offline keys before releasing them. In OEMCrypto v16+ keys
must be released without restoring them first.
*
Ensure
`DefaultDrmSession`
instances keep working even after their
`DefaultDrmSessionManager`
instance is released.
*
Keep secure
`MediaCodec`
instances initialized when disabling (but not
*
Keep secure
`MediaCodec`
instances initialized when disabling (but not
resetting)
`MediaCodecRenderer`
. This helps re-use secure decoders in
resetting)
`MediaCodecRenderer`
. This helps re-use secure decoders in
more contexts, which avoids the 'black flash' caused by detaching a
more contexts, which avoids the 'black flash' caused by detaching a
...
@@ -84,19 +85,26 @@
...
@@ -84,19 +85,26 @@
(
[
#8842
](
https://github.com/google/ExoPlayer/issues/8842
)
). It will also
(
[
#8842
](
https://github.com/google/ExoPlayer/issues/8842
)
). It will also
result in DRM license refresh network requests while the player is
result in DRM license refresh network requests while the player is
stopped if
`Player#setForegroundMode`
is true.
stopped if
`Player#setForegroundMode`
is true.
*
Fix issue where offline keys were unnecessarily (and incorrectly)
restored into a session before being released. This call sequence is
explicitly disallowed in OEMCrypto v16.
*
UI:
*
UI:
*
Keep subtitle language features embedded (e.g. rubies & tate-chu-yoko)
*
Keep subtitle language features embedded (e.g. rubies & tate-chu-yoko)
in
`Cue.text`
even when
`SubtitleView#setApplyEmbeddedStyles()`
is
in
`Cue.text`
even when
`SubtitleView#setApplyEmbeddedStyles()`
is
false
.
`false`
.
*
Fix
`NullPointerException`
in
`StyledPlayerView`
that could occur after
*
Fix
`NullPointerException`
in
`StyledPlayerView`
that could occur after
calling
`StyledPlayerView.setPlayer(null)`
calling
`StyledPlayerView.setPlayer(null)`
(
[
#8985
](
https://github.com/google/ExoPlayer/issues/8985
)
).
(
[
#8985
](
https://github.com/google/ExoPlayer/issues/8985
)
).
*
RTSP:
*
RTSP:
*
Add support for RTSP basic and digest authentication.
*
Add support for RTSP basic and digest authentication
(
[
#8941
](
https://github.com/google/ExoPlayer/issues/8941
)
).
*
Enable using repeat mode and playlist with RTSP
(
[
#8994
](
https://github.com/google/ExoPlayer/issues/8994
)
).
*
Add
`RtspMediaSource.Factory`
option to set the RTSP user agent.
*
Add
`RtspMediaSource.Factory`
option to force using TCP for streaming.
*
GL demo app:
*
GL demo app:
*
Fix texture transformation to avoid green bars shown on some videos
*
Fix texture transformation to avoid green bars shown on some videos
(
[
#8992
](
https://github.com/google/ExoPlayer/issues/8992
)
).
(
[
#8992
](
https://github.com/google/ExoPlayer/issues/8992
)
).
*
Add
`RtspMediaSource.Factory`
option to force using TCP for streaming.
### 2.14.0 (2021-05-13)
### 2.14.0 (2021-05-13)
...
...
constants.gradle
View file @
047037e7
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
// limitations under the License.
// limitations under the License.
project
.
ext
{
project
.
ext
{
// ExoPlayer version and version code.
// ExoPlayer version and version code.
releaseVersion
=
'2.14.
0
'
releaseVersion
=
'2.14.
1
'
releaseVersionCode
=
201400
0
releaseVersionCode
=
201400
1
minSdkVersion
=
16
minSdkVersion
=
16
appTargetSdkVersion
=
30
appTargetSdkVersion
=
30
targetSdkVersion
=
30
targetSdkVersion
=
30
...
...
library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java
View file @
047037e7
...
@@ -26,11 +26,11 @@ public final class ExoPlayerLibraryInfo {
...
@@ -26,11 +26,11 @@ public final class ExoPlayerLibraryInfo {
/** The version of the library expressed as a string, for example "1.2.3". */
/** The version of the library expressed as a string, for example "1.2.3". */
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa.
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa.
public
static
final
String
VERSION
=
"2.14.
0
"
;
public
static
final
String
VERSION
=
"2.14.
1
"
;
/** The version of the library expressed as {@code "ExoPlayerLib/" + VERSION}. */
/** The version of the library expressed as {@code "ExoPlayerLib/" + VERSION}. */
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
public
static
final
String
VERSION_SLASHY
=
"ExoPlayerLib/2.14.
0
"
;
public
static
final
String
VERSION_SLASHY
=
"ExoPlayerLib/2.14.
1
"
;
/**
/**
* The version of the library expressed as an integer, for example 1002003.
* The version of the library expressed as an integer, for example 1002003.
...
@@ -40,7 +40,7 @@ public final class ExoPlayerLibraryInfo {
...
@@ -40,7 +40,7 @@ public final class ExoPlayerLibraryInfo {
* integer version 123045006 (123-045-006).
* integer version 123045006 (123-045-006).
*/
*/
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
public
static
final
int
VERSION_INT
=
201400
0
;
public
static
final
int
VERSION_INT
=
201400
1
;
/**
/**
* The default user agent for requests made by the library.
* The default user agent for requests made by the library.
...
...
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