Release notes for MediaMetadata
#minor-release PiperOrigin-RevId: 371929289
This commit is contained in:
parent
0b7865ead9
commit
d4592c2a5a
@ -48,6 +48,9 @@
|
|||||||
visibility in order to allow Kotlin subclasses of
|
visibility in order to allow Kotlin subclasses of
|
||||||
`AdaptiveTrackSelection.Factory`
|
`AdaptiveTrackSelection.Factory`
|
||||||
([#8830](https://github.com/google/ExoPlayer/issues/8830)).
|
([#8830](https://github.com/google/ExoPlayer/issues/8830)).
|
||||||
|
* Added a combined and structured metadata object (`MediaMetadata`) to
|
||||||
|
Player, accessible through `getMediaMetadata` or by listening to
|
||||||
|
`EventListener.onMediaMetadataChanged`.
|
||||||
* UI:
|
* UI:
|
||||||
* Add builder for `PlayerNotificationManager`.
|
* Add builder for `PlayerNotificationManager`.
|
||||||
* Add group setting to `PlayerNotificationManager`.
|
* Add group setting to `PlayerNotificationManager`.
|
||||||
@ -64,8 +67,8 @@
|
|||||||
* Allow fall back from DTS-HD to DTS when playing via passthrough.
|
* Allow fall back from DTS-HD to DTS when playing via passthrough.
|
||||||
* Video:
|
* Video:
|
||||||
* Add `Player.getVideoSize()` to retrieve the current size of the video
|
* Add `Player.getVideoSize()` to retrieve the current size of the video
|
||||||
stream. Add `Listener.onVideoSizeChanged(VideoSize)` and
|
stream. Add `Listener.onVideoSizeChanged(VideoSize)` and deprecate
|
||||||
deprecate `Listener.onVideoSizeChanged(int weight, int height...)`.
|
`Listener.onVideoSizeChanged(int weight, int height...)`.
|
||||||
* Analytics:
|
* Analytics:
|
||||||
* Add `onAudioCodecError` and `onVideoCodecError` to `AnalyticsListener`.
|
* Add `onAudioCodecError` and `onVideoCodecError` to `AnalyticsListener`.
|
||||||
* Downloads and caching:
|
* Downloads and caching:
|
||||||
@ -118,11 +121,11 @@
|
|||||||
`dispatchPrepare`. Extend `DefaultControlDispatcher` to avoid having to
|
`dispatchPrepare`. Extend `DefaultControlDispatcher` to avoid having to
|
||||||
implement the other `ControlDispatcher` methods.
|
implement the other `ControlDispatcher` methods.
|
||||||
* Remove `setRewindIncrementMs` and `setFastForwardIncrementMs` from UI
|
* Remove `setRewindIncrementMs` and `setFastForwardIncrementMs` from UI
|
||||||
components. Use `setControlDispatcher` on the same components, passing
|
components. Use `setControlDispatcher` on the same components, passing a
|
||||||
a `DefaultControlDispatcher` built using
|
`DefaultControlDispatcher` built using `DefaultControlDispatcher(long,
|
||||||
`DefaultControlDispatcher(long, long)`.
|
long)`.
|
||||||
* Remove `PlayerNotificationManager` constructors and `createWith`
|
* Remove `PlayerNotificationManager` constructors and `createWith`
|
||||||
methods. Use `PlayerNotificationManager.Builder` instead.
|
methods. Use `PlayerNotificationManager.Builder` instead.
|
||||||
* Remove `PlayerNotificationManager` `setUseNavigationActions` and
|
* Remove `PlayerNotificationManager` `setUseNavigationActions` and
|
||||||
`setUseNavigationActionsInCompactView`. Use `setUseNextAction`,
|
`setUseNavigationActionsInCompactView`. Use `setUseNextAction`,
|
||||||
`setUsePreviousAction`, `setUseNextActionInCompactView` and
|
`setUsePreviousAction`, `setUseNextActionInCompactView` and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user