mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Bump version to 2.14.2 and tidy release notes
#minor-release PiperOrigin-RevId: 385996618
This commit is contained in:
parent
b77175da0a
commit
1466c75d4d
@ -34,9 +34,6 @@
|
|||||||
([#1611](https://github.com/google/ExoPlayer/issues/1611)).
|
([#1611](https://github.com/google/ExoPlayer/issues/1611)).
|
||||||
* Add `@FallbackType` to `LoadErrorHandlingPolicy` to support
|
* Add `@FallbackType` to `LoadErrorHandlingPolicy` to support
|
||||||
customization of the exclusion duration for locations and tracks.
|
customization of the exclusion duration for locations and tracks.
|
||||||
* Explicitly mark several methods on `SimpleExoPlayer` as `@Deprecated`.
|
|
||||||
These methods are all overrides and are already deprecated on `Player`
|
|
||||||
and the respective `ExoPlayer` component classes (since 2.14.0).
|
|
||||||
* Rename `Player.EventFlags` IntDef to `Player.Event`.
|
* Rename `Player.EventFlags` IntDef to `Player.Event`.
|
||||||
* Add a `DefaultMediaDescriptionAdapter` for the
|
* Add a `DefaultMediaDescriptionAdapter` for the
|
||||||
`PlayerNotificationManager`, that makes use of the `Player`
|
`PlayerNotificationManager`, that makes use of the `Player`
|
||||||
@ -85,20 +82,11 @@
|
|||||||
* Remove `CastPlayer` specific playlist manipulation methods. Use
|
* Remove `CastPlayer` specific playlist manipulation methods. Use
|
||||||
`setMediaItems`, `addMediaItems`, `removeMediaItem` and `moveMediaItem`
|
`setMediaItems`, `addMediaItems`, `removeMediaItem` and `moveMediaItem`
|
||||||
instead.
|
instead.
|
||||||
* UI
|
* UI:
|
||||||
* Fix focusability of `StyledPlayerView` and `StyledPlayerControlView`
|
|
||||||
popup menus on API levels prior to 26
|
|
||||||
([#9061](https://github.com/google/ExoPlayer/issues/9061)).
|
|
||||||
* Fix progress bar flickering immediately after the user seeks
|
|
||||||
([#9049](https://github.com/google/ExoPlayer/pull/9049)).
|
|
||||||
* Fix `StyledPlayerView` and `StyledPlayerControlView` popup menu items
|
|
||||||
not expanding to occupy the full width of the popup
|
|
||||||
([#9086](https://github.com/google/ExoPlayer/issues/9086)).
|
|
||||||
* Don't propagate `AttributeSet` from `SubtitleView` constructor into
|
|
||||||
`CanvasSubtitleOutput`. Just passing the `Context` is enough, and
|
|
||||||
ensures programmatic changes to the `SubtitleView` will propagate down.
|
|
||||||
* Add `setUseRewindAction` and `setUseFastForwardAction` to
|
* Add `setUseRewindAction` and `setUseFastForwardAction` to
|
||||||
`PlayerNotificationManager`.
|
`PlayerNotificationManager`, and `setUseFastForwardActionInCompactView`
|
||||||
|
and `setUseRewindActionInCompactView` to show the actions in compact
|
||||||
|
view mode.
|
||||||
* Remove `rewind_increment` and `fastforward_increment` attributes from
|
* Remove `rewind_increment` and `fastforward_increment` attributes from
|
||||||
`PlayerControlView` and `StyledPlayerControlView`. These increments can
|
`PlayerControlView` and `StyledPlayerControlView`. These increments can
|
||||||
be customized by configuring the `Player` (see `setSeekBackIncrementMs`
|
be customized by configuring the `Player` (see `setSeekBackIncrementMs`
|
||||||
@ -113,6 +101,25 @@
|
|||||||
* Deprecate `setControlDispatcher` in `PlayerView`, `StyledPlayerView`,
|
* Deprecate `setControlDispatcher` in `PlayerView`, `StyledPlayerView`,
|
||||||
`PlayerControlView`, `StyledPlayerControlView` and
|
`PlayerControlView`, `StyledPlayerControlView` and
|
||||||
`PlayerNotificationManager`.
|
`PlayerNotificationManager`.
|
||||||
|
* Ad playback:
|
||||||
|
* Support changing ad break positions in the player logic
|
||||||
|
([#5067](https://github.com/google/ExoPlayer/issues/5067).
|
||||||
|
* Support resuming content with an offset after an ad group.
|
||||||
|
* OkHttp extension:
|
||||||
|
* Switch to OkHttp 4.9.1. This increases the extension's minimum SDK
|
||||||
|
version requirement from 16 to 21.
|
||||||
|
* Cronet extension:
|
||||||
|
* Add `CronetDataSource.Factory.setRequestPriority` to allow setting the
|
||||||
|
priority of requests made by `CronetDataSource` instances.
|
||||||
|
* Leanback:
|
||||||
|
* Deprecate `setControlDispatcher` in `LeanbackPlayerAdapter`.
|
||||||
|
|
||||||
|
### 2.14.2 (2021-07-20)
|
||||||
|
|
||||||
|
* Core Library:
|
||||||
|
* Explicitly mark several methods on `SimpleExoPlayer` as `@Deprecated`.
|
||||||
|
These methods are all overrides and are already deprecated on `Player`
|
||||||
|
and the respective `ExoPlayer` component classes (since 2.14.0).
|
||||||
* Video:
|
* Video:
|
||||||
* 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)).
|
||||||
@ -150,9 +157,6 @@
|
|||||||
specified by an `EXT-X-START` tag when placed in a playlist
|
specified by an `EXT-X-START` tag when placed in a playlist
|
||||||
([#9037](https://github.com/google/ExoPlayer/issues/9037)).
|
([#9037](https://github.com/google/ExoPlayer/issues/9037)).
|
||||||
* Ad playback:
|
* Ad playback:
|
||||||
* Support changing ad break positions in the player logic
|
|
||||||
([#5067](https://github.com/google/ExoPlayer/issues/5067).
|
|
||||||
* Support resuming content with an offset after an ad group.
|
|
||||||
* Use the content URI when auto-generating an ad ID (in addition to the
|
* Use the content URI when auto-generating an ad ID (in addition to the
|
||||||
media ID and ad tag URI)
|
media ID and ad tag URI)
|
||||||
([#9106](https://github.com/google/ExoPlayer/issues/9106).
|
([#9106](https://github.com/google/ExoPlayer/issues/9106).
|
||||||
@ -162,12 +166,24 @@
|
|||||||
releasing too many keep-alive `DefaultDrmSession` references, resulting
|
releasing too many keep-alive `DefaultDrmSession` references, resulting
|
||||||
in `DefaultDrmSession.release()` throwing an `IllegalStateException`
|
in `DefaultDrmSession.release()` throwing an `IllegalStateException`
|
||||||
([#9193](https://github.com/google/ExoPlayer/issues/9193)).
|
([#9193](https://github.com/google/ExoPlayer/issues/9193)).
|
||||||
* PlayerNotificationManager:
|
* Metadata:
|
||||||
* Add `PendingIntent.FLAG_IMMUTABLE` flag to BroadcastReceiver to support
|
* Fix handling of emsg messages with an unset duration
|
||||||
|
([#9123](https://github.com/google/ExoPlayer/issues/9123)).
|
||||||
|
* UI:
|
||||||
|
* Add `PendingIntent.FLAG_IMMUTABLE` flag when creating a broadcast intent
|
||||||
|
in `PlayerNotificationManager`. This is required to avoid an error on
|
||||||
Android 12.
|
Android 12.
|
||||||
* Add `setUseFastForwardActionInCompactView(boolean)` and
|
* Fix focusability of `StyledPlayerView` and `StyledPlayerControlView`
|
||||||
`setUseRewindActionInCompactView(boolean)` to make it possible to show
|
popup menus on API levels prior to 26
|
||||||
seek actions in compact view mode.
|
([#9061](https://github.com/google/ExoPlayer/issues/9061)).
|
||||||
|
* Fix progress bar flickering immediately after the user seeks
|
||||||
|
([#9049](https://github.com/google/ExoPlayer/pull/9049)).
|
||||||
|
* Fix `StyledPlayerView` and `StyledPlayerControlView` popup menu items
|
||||||
|
not expanding to occupy the full width of the popup
|
||||||
|
([#9086](https://github.com/google/ExoPlayer/issues/9086)).
|
||||||
|
* Don't propagate `AttributeSet` from `SubtitleView` constructor into
|
||||||
|
`CanvasSubtitleOutput`. Just passing the `Context` is enough, and
|
||||||
|
ensures programmatic changes to the `SubtitleView` will propagate down.
|
||||||
* RTSP:
|
* RTSP:
|
||||||
* Fix session description (SDP) parsing to use a HashMap-like behaviour
|
* Fix session description (SDP) parsing to use a HashMap-like behaviour
|
||||||
for duplicated attributes.
|
for duplicated attributes.
|
||||||
@ -176,17 +192,6 @@
|
|||||||
([#9183](https://github.com/google/ExoPlayer/issues/9183)).
|
([#9183](https://github.com/google/ExoPlayer/issues/9183)).
|
||||||
* Allow the timeout to be customised via
|
* Allow the timeout to be customised via
|
||||||
`RtspMediaSource.Factory.setTimeoutMs`.
|
`RtspMediaSource.Factory.setTimeoutMs`.
|
||||||
* Metadata:
|
|
||||||
* Fix handling of emsg messages with an unset duration
|
|
||||||
([#9123](https://github.com/google/ExoPlayer/issues/9123)).
|
|
||||||
* OkHttp extension:
|
|
||||||
* Switch to OkHttp 4.9.1. This increases the extension's minimum SDK
|
|
||||||
version requirement from 16 to 21.
|
|
||||||
* Cronet extension:
|
|
||||||
* Add `CronetDataSource.Factory.setRequestPriority` to allow setting the
|
|
||||||
priority of requests made by `CronetDataSource` instances.
|
|
||||||
* Leanback:
|
|
||||||
* Deprecate `setControlDispatcher` in `LeanbackPlayerAdapter`.
|
|
||||||
|
|
||||||
### 2.14.1 (2021-06-11)
|
### 2.14.1 (2021-06-11)
|
||||||
|
|
||||||
|
@ -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.1'
|
releaseVersion = '2.14.2'
|
||||||
releaseVersionCode = 2014001
|
releaseVersionCode = 2014002
|
||||||
minSdkVersion = 16
|
minSdkVersion = 16
|
||||||
appTargetSdkVersion = 29
|
appTargetSdkVersion = 29
|
||||||
targetSdkVersion = 30
|
targetSdkVersion = 30
|
||||||
|
@ -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.1";
|
public static final String VERSION = "2.14.2";
|
||||||
|
|
||||||
/** 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.1";
|
public static final String VERSION_SLASHY = "ExoPlayerLib/2.14.2";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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 {
|
|||||||
* 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 = 2014001;
|
public static final int VERSION_INT = 2014002;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default user agent for requests made by the library.
|
* The default user agent for requests made by the library.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user