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
facef65c
authored
Jan 11, 2021
by
ibaker
Committed by
Ian Baker
Jan 11, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Bump version to 2.12.3
#minor-release PiperOrigin-RevId: 351169686
parent
01b9ae63
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
32 deletions
RELEASENOTES.md
constants.gradle
library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java
RELEASENOTES.md
View file @
facef65c
...
@@ -25,8 +25,6 @@
...
@@ -25,8 +25,6 @@
(
[
#5887
](
https://github.com/google/ExoPlayer/issues/5887
)
).
(
[
#5887
](
https://github.com/google/ExoPlayer/issues/5887
)
).
*
Fix bug where
`AnalyticsListener`
callbacks can arrive in the wrong
*
Fix bug where
`AnalyticsListener`
callbacks can arrive in the wrong
order (
[
#8048
](
https://github.com/google/ExoPlayer/issues/8048
)
).
order (
[
#8048
](
https://github.com/google/ExoPlayer/issues/8048
)
).
*
Fix
`MediaCodecRenderer`
issue where empty streams would fail to play in
bypass mode (
[
#8374
](
https://github.com/google/ExoPlayer/issues/8374
)
).
*
Add
`onEvents`
callback to
`Player.EventListener`
and
*
Add
`onEvents`
callback to
`Player.EventListener`
and
`AnalyticsListener`
to notify when all simultaneous state changes have
`AnalyticsListener`
to notify when all simultaneous state changes have
been handled and the values reported through callbacks are again
been handled and the values reported through callbacks are again
...
@@ -34,8 +32,6 @@
...
@@ -34,8 +32,6 @@
getters.
getters.
*
Deprecate
`HttpDataSource.Factory.getDefaultRequestProperties`
and add
*
Deprecate
`HttpDataSource.Factory.getDefaultRequestProperties`
and add
`HttpDataSource.Factory.setDefaultRequestProperties`
instead.
`HttpDataSource.Factory.setDefaultRequestProperties`
instead.
*
Fix playback issues after seeking during an ad
(
[
#8349
](
https://github.com/google/ExoPlayer/issues/8349
)
).
*
Add
`DefaultHttpDataSource.Factory`
and deprecate
*
Add
`DefaultHttpDataSource.Factory`
and deprecate
`DefaultHttpDataSourceFactory`
.
`DefaultHttpDataSourceFactory`
.
*
Add option to
`MergingMediaSource`
to clip the durations of all sources
*
Add option to
`MergingMediaSource`
to clip the durations of all sources
...
@@ -74,10 +70,6 @@
...
@@ -74,10 +70,6 @@
(
[
#5011
](
https://github.com/google/ExoPlayer/issues/5011
)
).
(
[
#5011
](
https://github.com/google/ExoPlayer/issues/5011
)
).
*
UI:
*
UI:
*
Miscellaneous fixes for
`StyledPlayerControlView`
in minimal mode.
*
Miscellaneous fixes for
`StyledPlayerControlView`
in minimal mode.
*
Fix issue where pop-up menus belonging to
`StyledPlayerControlView`
would not be dismissed when tapping outside of the menu area or pressing
the back button, on API level 22 and earlier
(
[
#8272
](
https://github.com/google/ExoPlayer/issues/8272
)
).
*
Show overflow button in
`StyledPlayerControlView`
only when there is not
*
Show overflow button in
`StyledPlayerControlView`
only when there is not
enough space.
enough space.
*
Update StyledPlayer's control overlay scrim from 30% opacity to 60%
*
Update StyledPlayer's control overlay scrim from 30% opacity to 60%
...
@@ -86,21 +78,12 @@
...
@@ -86,21 +78,12 @@
*
DRM:
*
DRM:
*
Fix playback failure when switching from PlayReady protected content to
*
Fix playback failure when switching from PlayReady protected content to
Widevine or Clearkey protected content in a playlist.
Widevine or Clearkey protected content in a playlist.
*
Downloads:
*
Fix crash in
`DownloadManager`
that could occur when adding a stopped
download with the same ID as a download currently being removed
(
[
#8419
](
https://github.com/google/ExoPlayer/issues/8419
)
).
*
Analytics:
*
Analytics:
*
Pass a
`DecoderReuseEvaluation`
to
`AnalyticsListener`
's
*
Pass a
`DecoderReuseEvaluation`
to
`AnalyticsListener`
's
`onVideoInputFormatChanged`
and
`onAudioInputFormatChanged`
methods. The
`onVideoInputFormatChanged`
and
`onAudioInputFormatChanged`
methods. The
`DecoderReuseEvaluation`
indicates whether it was possible to re-use an
`DecoderReuseEvaluation`
indicates whether it was possible to re-use an
existing decoder instance for the new format, and if not then the
existing decoder instance for the new format, and if not then the
reasons why.
reasons why.
*
Text:
*
Gracefully handle null-terminated subtitle content in Matroska
containers.
*
Fix CEA-708 anchor positioning
(
[
#1807
](
https://github.com/google/ExoPlayer/issues/1807
)
).
*
Metadata retriever:
*
Metadata retriever:
*
Parse Google Photos HEIC motion photos metadata.
*
Parse Google Photos HEIC motion photos metadata.
*
Data sources:
*
Data sources:
...
@@ -108,11 +91,6 @@
...
@@ -108,11 +91,6 @@
*
IMA extension:
*
IMA extension:
*
Add support for playback of ads in playlists
*
Add support for playback of ads in playlists
(
[
#3750
](
https://github.com/google/ExoPlayer/issues/3750
)
).
(
[
#3750
](
https://github.com/google/ExoPlayer/issues/3750
)
).
*
Fix a condition where playback can get stuck before an empty ad
(
[
#8205
](
https://github.com/google/ExoPlayer/issues/8205
)
).
*
Log a warning rather than throwing when reaching the end of the stream
with an ad playing but without ad media info
(
[
#8290
](
https://github.com/google/ExoPlayer/issues/8290
)
).
*
Add
`ImaAdsLoader.Builder.setEnableContinuousPlayback`
for setting
*
Add
`ImaAdsLoader.Builder.setEnableContinuousPlayback`
for setting
whether to request ads for continuous playback.
whether to request ads for continuous playback.
*
FFmpeg extension:
*
FFmpeg extension:
...
@@ -124,15 +102,48 @@
...
@@ -124,15 +102,48 @@
*
Add
`CronetDataSource.Factory`
and deprecate
`CronetDataSourceFactory`
.
*
Add
`CronetDataSource.Factory`
and deprecate
`CronetDataSourceFactory`
.
*
Support setting the user agent on
`CronetDataSource.Factory`
and
*
Support setting the user agent on
`CronetDataSource.Factory`
and
`CronetEngineWrapper`
.
`CronetEngineWrapper`
.
*
Media2 extension
*
Make media2-extension depend on AndroidX media2:media2-session:1.1.0 to
fix a deadlock while creating PlaybackStateCompat internally.
(
[
#8011
](
https://github.com/google/ExoPlayer/issues/8011
)
).
*
MediaSession extension:
*
MediaSession extension:
*
Support
`setPlaybackSpeed(float)`
and disable it by default. Use
*
Support
`setPlaybackSpeed(float)`
and disable it by default. Use
`MediaSessionConnector.setEnabledPlaybackActions(long)`
to enable
`MediaSessionConnector.setEnabledPlaybackActions(long)`
to enable
(
[
#8229
](
https://github.com/google/ExoPlayer/issues/8229
)
).
(
[
#8229
](
https://github.com/google/ExoPlayer/issues/8229
)
).
### 2.12.3 (2021-01-13) ###
*
Core library:
*
Fix
`MediaCodecRenderer`
issue where empty streams would fail to play in
bypass mode (
[
#8374
](
https://github.com/google/ExoPlayer/issues/8374
)
).
*
Fix playback issues after seeking during an ad
(
[
#8349
](
https://github.com/google/ExoPlayer/issues/8349
)
).
*
Fix propagation of
`LoadErrorHandlingPolicy`
from
`DefaultMediaSourceFactory`
into
`SingleSampleMediaSource.Factory`
when
creating subtitle media sources from
`MediaItem.playbackProperties.subtitles`
(
[
#8430
](
https://github.com/google/ExoPlayer/issues/8430
)
).
*
UI:
*
Fix issue where pop-up menus belonging to
`StyledPlayerControlView`
would not be dismissed when tapping outside of the menu area or pressing
the back button, on API level 22 and earlier
(
[
#8272
](
https://github.com/google/ExoPlayer/issues/8272
)
).
*
Downloads:
*
Fix crash in
`DownloadManager`
that could occur when adding a stopped
download with the same ID as a download currently being removed
(
[
#8419
](
https://github.com/google/ExoPlayer/issues/8419
)
).
*
Text:
*
Gracefully handle null-terminated subtitle content in Matroska
containers.
*
Fix CEA-708 anchor positioning
(
[
#1807
](
https://github.com/google/ExoPlayer/issues/1807
)
).
*
IMA extension:
*
Fix a condition where playback could get stuck before an empty ad
(
[
#8205
](
https://github.com/google/ExoPlayer/issues/8205
)
).
*
Log a warning rather than throwing when reaching the end of the stream
with an ad playing but without ad media info
(
[
#8290
](
https://github.com/google/ExoPlayer/issues/8290
)
).
*
Media2 extension:
*
Make media2-extension depend on AndroidX media2:media2-session:1.1.0 to
fix a deadlock while creating PlaybackStateCompat internally.
(
[
#8011
](
https://github.com/google/ExoPlayer/issues/8011
)
).
### 2.12.2 (2020-12-01) ###
### 2.12.2 (2020-12-01) ###
*
Core library:
*
Core library:
...
@@ -192,7 +203,7 @@
...
@@ -192,7 +203,7 @@
*
Media2 extension:
*
Media2 extension:
*
Notify onBufferingEnded when the state of origin player becomes
*
Notify onBufferingEnded when the state of origin player becomes
`STATE_IDLE`
or
`STATE_ENDED`
.
`STATE_IDLE`
or
`STATE_ENDED`
.
*
Allow to remove all playlist items that makes the player reset
.
*
Allow to remove all playlist items that makes the player reset
(
[
#8047
](
https://github.com/google/ExoPlayer/issues/8047
)
).
(
[
#8047
](
https://github.com/google/ExoPlayer/issues/8047
)
).
### 2.12.1 (2020-10-23) ###
### 2.12.1 (2020-10-23) ###
...
...
constants.gradle
View file @
facef65c
...
@@ -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.12.
2
'
releaseVersion
=
'2.12.
3
'
releaseVersionCode
=
201200
2
releaseVersionCode
=
201200
3
minSdkVersion
=
16
minSdkVersion
=
16
appTargetSdkVersion
=
29
appTargetSdkVersion
=
29
targetSdkVersion
=
28
// TODO: Bump once b/143232359 is resolved. Also fix TODOs in UtilTest.
targetSdkVersion
=
28
// TODO: Bump once b/143232359 is resolved. Also fix TODOs in UtilTest.
...
...
library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java
View file @
facef65c
...
@@ -30,11 +30,11 @@ public final class ExoPlayerLibraryInfo {
...
@@ -30,11 +30,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.12.
2
"
;
public
static
final
String
VERSION
=
"2.12.
3
"
;
/** 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.12.
2
"
;
public
static
final
String
VERSION_SLASHY
=
"ExoPlayerLib/2.12.
3
"
;
/**
/**
* The version of the library expressed as an integer, for example 1002003.
* The version of the library expressed as an integer, for example 1002003.
...
@@ -44,7 +44,7 @@ public final class ExoPlayerLibraryInfo {
...
@@ -44,7 +44,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
=
201200
2
;
public
static
final
int
VERSION_INT
=
201200
3
;
/**
/**
* 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