mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Bump version to 2.12.3
#minor-release PiperOrigin-RevId: 351169686
This commit is contained in:
parent
01b9ae6325
commit
facef65c8c
3 changed files with 43 additions and 32 deletions
|
|
@ -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 @@
|
||||||
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 @@
|
||||||
([#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 @@
|
||||||
* 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 @@
|
||||||
* 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 @@
|
||||||
* 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 @@
|
||||||
* 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) ###
|
||||||
|
|
|
||||||
|
|
@ -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 = 2012002
|
releaseVersionCode = 2012003
|
||||||
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.
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
* 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 = 2012002;
|
public static final int VERSION_INT = 2012003;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default user agent for requests made by the library.
|
* The default user agent for requests made by the library.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue