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
1c0b4b32
authored
Jun 16, 2022
by
bachinger
Committed by
Marc Baechinger
Jun 16, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Version bump to exoplayer:2.18.0 and media3:1.0.0-beta01
#minor-release PiperOrigin-RevId: 455350486
parent
dc0e5c44
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
35 deletions
.github/ISSUE_TEMPLATE/bug.yml
RELEASENOTES.md
constants.gradle
libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java
.github/ISSUE_TEMPLATE/bug.yml
View file @
1c0b4b32
...
@@ -17,6 +17,7 @@ body:
...
@@ -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
...
...
RELEASENOTES.md
View file @
1c0b4b32
#
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 @@
...
@@ -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 @@
...
@@ -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 @@
...
@@ -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 @@
...
@@ -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
...
...
constants.gradle
View file @
1c0b4b32
...
@@ -12,8 +12,8 @@
...
@@ -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
...
...
libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java
View file @
1c0b4b32
...
@@ -29,11 +29,11 @@ public final class MediaLibraryInfo {
...
@@ -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 {
...
@@ -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
;
...
...
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