Version bump to exoplayer:2.18.0 and media3:1.0.0-beta01
#minor-release PiperOrigin-RevId: 455350486
This commit is contained in:
parent
dc0e5c447b
commit
1c0b4b32a4
1
.github/ISSUE_TEMPLATE/bug.yml
vendored
1
.github/ISSUE_TEMPLATE/bug.yml
vendored
@ -17,6 +17,7 @@ body:
|
|||||||
label: Media3 Version
|
label: Media3 Version
|
||||||
description: What version of Media3 are you using?
|
description: What version of Media3 are you using?
|
||||||
options:
|
options:
|
||||||
|
- 1.0.0-beta01
|
||||||
- 1.0.0-alpha03
|
- 1.0.0-alpha03
|
||||||
- 1.0.0-alpha02
|
- 1.0.0-alpha02
|
||||||
- 1.0.0-alpha01
|
- 1.0.0-alpha01
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
# Release notes
|
Release notes
|
||||||
|
|
||||||
### Unreleased changes
|
### Unreleased changes
|
||||||
|
|
||||||
|
* Extractors:
|
||||||
|
* Add support for AVI
|
||||||
|
([#2092](https://github.com/google/ExoPlayer/issues/2092)).
|
||||||
|
* RTSP:
|
||||||
|
* Add RTP reader for H263
|
||||||
|
([#63](https://github.com/androidx/media/pull/63)).
|
||||||
|
|
||||||
|
### 1.0.0-beta01 (2022-06-16)
|
||||||
|
|
||||||
* Core library:
|
* Core library:
|
||||||
* Enable support for Android platform diagnostics via
|
* Enable support for Android platform diagnostics via
|
||||||
`MediaMetricsManager`. ExoPlayer will forward playback events and
|
`MediaMetricsManager`. ExoPlayer will forward playback events and
|
||||||
@ -40,7 +49,7 @@
|
|||||||
`DefaultTrackSelector.Parameters.Builder` instead of the deprecated
|
`DefaultTrackSelector.Parameters.Builder` instead of the deprecated
|
||||||
`DefaultTrackSelector.ParametersBuilder`.
|
`DefaultTrackSelector.ParametersBuilder`.
|
||||||
* Add
|
* Add
|
||||||
`DefaultTrackSelector.Parameters.constrainAudioChannelCountToDeviceCapabilities`.
|
`DefaultTrackSelector.Parameters.constrainAudioChannelCountToDeviceCapabilities`
|
||||||
which is enabled by default. When enabled, the `DefaultTrackSelector`
|
which is enabled by default. When enabled, the `DefaultTrackSelector`
|
||||||
will prefer audio tracks whose channel count does not exceed the device
|
will prefer audio tracks whose channel count does not exceed the device
|
||||||
output capabilities. On handheld devices, the `DefaultTrackSelector`
|
output capabilities. On handheld devices, the `DefaultTrackSelector`
|
||||||
@ -77,9 +86,6 @@
|
|||||||
* Ensure the DRM session is always correctly updated when seeking
|
* Ensure the DRM session is always correctly updated when seeking
|
||||||
immediately after a format change
|
immediately after a format change
|
||||||
([10274](https://github.com/google/ExoPlayer/issues/10274)).
|
([10274](https://github.com/google/ExoPlayer/issues/10274)).
|
||||||
* Ad playback / IMA:
|
|
||||||
* Decrease ad polling rate from every 100ms to every 200ms, to line up
|
|
||||||
with Media Rating Council (MRC) recommendations.
|
|
||||||
* Text:
|
* Text:
|
||||||
* Change `Player.getCurrentCues()` to return `CueGroup` instead of
|
* Change `Player.getCurrentCues()` to return `CueGroup` instead of
|
||||||
`List<Cue>`.
|
`List<Cue>`.
|
||||||
@ -95,18 +101,16 @@
|
|||||||
* MP4: Parse bitrates from `esds` boxes.
|
* MP4: Parse bitrates from `esds` boxes.
|
||||||
* Ogg: Allow duplicate Opus ID and comment headers
|
* Ogg: Allow duplicate Opus ID and comment headers
|
||||||
([#10038](https://github.com/google/ExoPlayer/issues/10038)).
|
([#10038](https://github.com/google/ExoPlayer/issues/10038)).
|
||||||
* Add support for AVI
|
|
||||||
([#2092](https://github.com/google/ExoPlayer/issues/2092)).
|
|
||||||
* UI:
|
* UI:
|
||||||
* Fix delivery of events to `OnClickListener`s set on `PlayerView` and
|
* Fix delivery of events to `OnClickListener`s set on `PlayerView`, in the
|
||||||
`LegacyPlayerView`, in the case that `useController=false`
|
case that `useController=false`
|
||||||
([#9605](https://github.com/google/ExoPlayer/issues/9605)). Also fix
|
([#9605](https://github.com/google/ExoPlayer/issues/9605)). Also fix
|
||||||
delivery of events to `OnLongClickListener` for all view configurations.
|
delivery of events to `OnLongClickListener` for all view configurations.
|
||||||
* Fix incorrectly treating a sequence of touch events that exit the bounds
|
* Fix incorrectly treating a sequence of touch events that exit the bounds
|
||||||
of `PlayerView` and `LegacyPlayerView` before `ACTION_UP` as a click
|
of `PlayerView` before `ACTION_UP` as a click
|
||||||
([#9861](https://github.com/google/ExoPlayer/issues/9861)).
|
([#9861](https://github.com/google/ExoPlayer/issues/9861)).
|
||||||
* Fix `PlayerView` accessibility issue where it was not possible to
|
* Fix `PlayerView` accessibility issue where tapping might toggle playback
|
||||||
tapping would toggle playback rather than hiding the controls
|
rather than hiding the controls
|
||||||
([#8627](https://github.com/google/ExoPlayer/issues/8627)).
|
([#8627](https://github.com/google/ExoPlayer/issues/8627)).
|
||||||
* Rewrite `TrackSelectionView` and `TrackSelectionDialogBuilder` to work
|
* Rewrite `TrackSelectionView` and `TrackSelectionDialogBuilder` to work
|
||||||
with the `Player` interface rather than `ExoPlayer`. This allows the
|
with the `Player` interface rather than `ExoPlayer`. This allows the
|
||||||
@ -163,36 +167,42 @@
|
|||||||
([#47](https://github.com/androidx/media/pull/64)).
|
([#47](https://github.com/androidx/media/pull/64)).
|
||||||
* Add RTP reader for OPUS
|
* Add RTP reader for OPUS
|
||||||
([#53](https://github.com/androidx/media/pull/53)).
|
([#53](https://github.com/androidx/media/pull/53)).
|
||||||
* Add RTP reader for H263
|
|
||||||
([#63](https://github.com/androidx/media/pull/63)).
|
|
||||||
* Session:
|
* Session:
|
||||||
* Fix NPE in MediaControllerImplLegacy
|
* Replace `MediaSession.MediaItemFiller` with
|
||||||
([#59](https://github.com/androidx/media/pull/59)).
|
|
||||||
* Update session position info on timeline
|
|
||||||
change([#51](https://github.com/androidx/media/issues/51)).
|
|
||||||
* Fix NPE in MediaControllerImplBase after releasing controller
|
|
||||||
([#74](https://github.com/androidx/media/issues/74)).
|
|
||||||
* Rename `MediaSession.MediaSessionCallback` to `MediaSession.Callback`,
|
|
||||||
`MediaLibrarySession.MediaLibrarySessionCallback` to
|
|
||||||
`MediaLibrarySession.Callback` and
|
|
||||||
`MediaSession.Builder.setSessionCallback` to `setCallback`.
|
|
||||||
* Replace `MediaSession.MediaItemFiler` with
|
|
||||||
`MediaSession.Callback.onAddMediaItems` to allow asynchronous resolution
|
`MediaSession.Callback.onAddMediaItems` to allow asynchronous resolution
|
||||||
of requests.
|
of requests.
|
||||||
* Forward legacy `MediaController` calls to play media to
|
|
||||||
`MediaSession.Callback.onAddMediaItems` instead of `onSetMediaUri`.
|
|
||||||
* Support `setMediaItems(s)` methods when `MediaController` connects to a
|
* Support `setMediaItems(s)` methods when `MediaController` connects to a
|
||||||
legacy media session.
|
legacy media session.
|
||||||
* Remove `MediaController.setMediaUri` and
|
* Remove `MediaController.setMediaUri` and
|
||||||
`MediaSession.Callback.onSetMediaUri`. The same functionality can be
|
`MediaSession.Callback.onSetMediaUri`. The same functionality can be
|
||||||
achieved by using `MediaController.setMediaItem` and
|
achieved by using `MediaController.setMediaItem` and
|
||||||
`MediaSession.Callback.onAddMediaItems`.
|
`MediaSession.Callback.onAddMediaItems`.
|
||||||
|
* Forward legacy `MediaController` calls to play media to
|
||||||
|
`MediaSession.Callback.onAddMediaItems` instead of `onSetMediaUri`.
|
||||||
|
* Add `MediaNotification.Provider` and `DefaultMediaNotificationProvider`
|
||||||
|
to provide customization of the notification.
|
||||||
|
* Add `BitmapLoader` and `SimpleBitmapLoader` for downloading artwork
|
||||||
|
images.
|
||||||
|
* Add `MediaSession.setCustomLayout()` to provide backwards compatibility
|
||||||
|
with the legacy session.
|
||||||
|
* Add `MediaSession.setSessionExtras()` to provide feature parity with
|
||||||
|
legacy session.
|
||||||
|
* Rename `MediaSession.MediaSessionCallback` to `MediaSession.Callback`,
|
||||||
|
`MediaLibrarySession.MediaLibrarySessionCallback` to
|
||||||
|
`MediaLibrarySession.Callback` and
|
||||||
|
`MediaSession.Builder.setSessionCallback` to `setCallback`.
|
||||||
|
* Fix NPE in `MediaControllerImplLegacy`
|
||||||
|
([#59](https://github.com/androidx/media/pull/59)).
|
||||||
|
* Update session position info on timeline
|
||||||
|
change([#51](https://github.com/androidx/media/issues/51)).
|
||||||
|
* Fix NPE in `MediaControllerImplBase` after releasing controller
|
||||||
|
([#74](https://github.com/androidx/media/issues/74)).
|
||||||
* Fix `IndexOutOfBoundsException` when setting less media items than in
|
* Fix `IndexOutOfBoundsException` when setting less media items than in
|
||||||
the current playlist
|
the current playlist
|
||||||
([#86](https://github.com/androidx/media/issues/86)).
|
([#86](https://github.com/androidx/media/issues/86)).
|
||||||
* Data sources:
|
* Ad playback / IMA:
|
||||||
* Rename `DummyDataSource` to `PlaceholderDataSource`.
|
* Decrease ad polling rate from every 100ms to every 200ms, to line up
|
||||||
* Workaround OkHttp interrupt handling.
|
with Media Rating Council (MRC) recommendations.
|
||||||
* FFmpeg extension:
|
* FFmpeg extension:
|
||||||
* Update CMake version to `3.21.0+` to avoid a CMake bug causing
|
* Update CMake version to `3.21.0+` to avoid a CMake bug causing
|
||||||
AndroidStudio's gradle sync to fail
|
AndroidStudio's gradle sync to fail
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
project.ext {
|
project.ext {
|
||||||
releaseVersion = '1.0.0-alpha03'
|
releaseVersion = '1.0.0-beta01'
|
||||||
releaseVersionCode = 1_000_000_0_03
|
releaseVersionCode = 1_000_000_1_01
|
||||||
minSdkVersion = 16
|
minSdkVersion = 16
|
||||||
appTargetSdkVersion = 29
|
appTargetSdkVersion = 29
|
||||||
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
|
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
|
||||||
|
@ -29,11 +29,11 @@ public final class MediaLibraryInfo {
|
|||||||
|
|
||||||
/** The version of the library expressed as a string, for example "1.2.3" or "1.2.3-beta01". */
|
/** The version of the library expressed as a string, for example "1.2.3" or "1.2.3-beta01". */
|
||||||
// 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 = "1.0.0-alpha03";
|
public static final String VERSION = "1.0.0-beta01";
|
||||||
|
|
||||||
/** The version of the library expressed as {@code TAG + "/" + VERSION}. */
|
/** The version of the library expressed as {@code TAG + "/" + 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 = "AndroidXMedia3/1.0.0-alpha03";
|
public static final String VERSION_SLASHY = "AndroidXMedia3/1.0.0-beta01";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The version of the library expressed as an integer, for example 1002003300.
|
* The version of the library expressed as an integer, for example 1002003300.
|
||||||
@ -47,7 +47,7 @@ public final class MediaLibraryInfo {
|
|||||||
* (123-045-006-3-00).
|
* (123-045-006-3-00).
|
||||||
*/
|
*/
|
||||||
// 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 = 1_000_000_0_03;
|
public static final int VERSION_INT = 1_000_000_1_01;
|
||||||
|
|
||||||
/** Whether the library was compiled with {@link Assertions} checks enabled. */
|
/** Whether the library was compiled with {@link Assertions} checks enabled. */
|
||||||
public static final boolean ASSERTIONS_ENABLED = true;
|
public static final boolean ASSERTIONS_ENABLED = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user