mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Version bump to exoplayer:2.18.0 and media3:1.0.0-beta01
PiperOrigin-RevId: 455350486 (cherry picked from commit 1c0b4b32a400ab9f7fb316ed7729ea2b8a32957f)
This commit is contained in:
parent
9c02cdb1fb
commit
36b976f70f
1
.github/ISSUE_TEMPLATE/bug.yml
vendored
1
.github/ISSUE_TEMPLATE/bug.yml
vendored
@ -17,6 +17,7 @@ body:
|
||||
label: Media3 Version
|
||||
description: What version of Media3 are you using?
|
||||
options:
|
||||
- 1.0.0-beta01
|
||||
- 1.0.0-alpha03
|
||||
- 1.0.0-alpha02
|
||||
- 1.0.0-alpha01
|
||||
|
@ -1,7 +1,16 @@
|
||||
# Release notes
|
||||
Release notes
|
||||
|
||||
### 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:
|
||||
* Enable support for Android platform diagnostics via
|
||||
`MediaMetricsManager`. ExoPlayer will forward playback events and
|
||||
@ -40,7 +49,7 @@
|
||||
`DefaultTrackSelector.Parameters.Builder` instead of the deprecated
|
||||
`DefaultTrackSelector.ParametersBuilder`.
|
||||
* Add
|
||||
`DefaultTrackSelector.Parameters.constrainAudioChannelCountToDeviceCapabilities`.
|
||||
`DefaultTrackSelector.Parameters.constrainAudioChannelCountToDeviceCapabilities`
|
||||
which is enabled by default. When enabled, the `DefaultTrackSelector`
|
||||
will prefer audio tracks whose channel count does not exceed the device
|
||||
output capabilities. On handheld devices, the `DefaultTrackSelector`
|
||||
@ -77,9 +86,6 @@
|
||||
* Ensure the DRM session is always correctly updated when seeking
|
||||
immediately after a format change
|
||||
([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:
|
||||
* Change `Player.getCurrentCues()` to return `CueGroup` instead of
|
||||
`List<Cue>`.
|
||||
@ -95,18 +101,16 @@
|
||||
* MP4: Parse bitrates from `esds` boxes.
|
||||
* Ogg: Allow duplicate Opus ID and comment headers
|
||||
([#10038](https://github.com/google/ExoPlayer/issues/10038)).
|
||||
* Add support for AVI
|
||||
([#2092](https://github.com/google/ExoPlayer/issues/2092)).
|
||||
* UI:
|
||||
* Fix delivery of events to `OnClickListener`s set on `PlayerView` and
|
||||
`LegacyPlayerView`, in the case that `useController=false`
|
||||
* Fix delivery of events to `OnClickListener`s set on `PlayerView`, in the
|
||||
case that `useController=false`
|
||||
([#9605](https://github.com/google/ExoPlayer/issues/9605)). Also fix
|
||||
delivery of events to `OnLongClickListener` for all view configurations.
|
||||
* 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)).
|
||||
* Fix `PlayerView` accessibility issue where it was not possible to
|
||||
tapping would toggle playback rather than hiding the controls
|
||||
* Fix `PlayerView` accessibility issue where tapping might toggle playback
|
||||
rather than hiding the controls
|
||||
([#8627](https://github.com/google/ExoPlayer/issues/8627)).
|
||||
* Rewrite `TrackSelectionView` and `TrackSelectionDialogBuilder` to work
|
||||
with the `Player` interface rather than `ExoPlayer`. This allows the
|
||||
@ -163,36 +167,42 @@
|
||||
([#47](https://github.com/androidx/media/pull/64)).
|
||||
* Add RTP reader for OPUS
|
||||
([#53](https://github.com/androidx/media/pull/53)).
|
||||
* Add RTP reader for H263
|
||||
([#63](https://github.com/androidx/media/pull/63)).
|
||||
* Session:
|
||||
* 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)).
|
||||
* Rename `MediaSession.MediaSessionCallback` to `MediaSession.Callback`,
|
||||
`MediaLibrarySession.MediaLibrarySessionCallback` to
|
||||
`MediaLibrarySession.Callback` and
|
||||
`MediaSession.Builder.setSessionCallback` to `setCallback`.
|
||||
* Replace `MediaSession.MediaItemFiler` with
|
||||
* Replace `MediaSession.MediaItemFiller` with
|
||||
`MediaSession.Callback.onAddMediaItems` to allow asynchronous resolution
|
||||
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
|
||||
legacy media session.
|
||||
* Remove `MediaController.setMediaUri` and
|
||||
`MediaSession.Callback.onSetMediaUri`. The same functionality can be
|
||||
achieved by using `MediaController.setMediaItem` and
|
||||
`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
|
||||
the current playlist
|
||||
([#86](https://github.com/androidx/media/issues/86)).
|
||||
* Data sources:
|
||||
* Rename `DummyDataSource` to `PlaceholderDataSource`.
|
||||
* Workaround OkHttp interrupt handling.
|
||||
* Ad playback / IMA:
|
||||
* Decrease ad polling rate from every 100ms to every 200ms, to line up
|
||||
with Media Rating Council (MRC) recommendations.
|
||||
* FFmpeg extension:
|
||||
* Update CMake version to `3.21.0+` to avoid a CMake bug causing
|
||||
AndroidStudio's gradle sync to fail
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
project.ext {
|
||||
releaseVersion = '1.0.0-alpha03'
|
||||
releaseVersionCode = 1_000_000_0_03
|
||||
releaseVersion = '1.0.0-beta01'
|
||||
releaseVersionCode = 1_000_000_1_01
|
||||
minSdkVersion = 16
|
||||
appTargetSdkVersion = 29
|
||||
// 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". */
|
||||
// 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}. */
|
||||
// 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.
|
||||
@ -47,7 +47,7 @@ public final class MediaLibraryInfo {
|
||||
* (123-045-006-3-00).
|
||||
*/
|
||||
// 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. */
|
||||
public static final boolean ASSERTIONS_ENABLED = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user