chore(deps): update dependency com.google.android.exoplayer:exoplayer-core to v2.18.2
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| com.google.android.exoplayer:exoplayer-core | dependencies | patch |
2.18.1 -> 2.18.2
|
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
google/ExoPlayer
v2.18.2
This release corresponds to the AndroidX Media3 1.0.0-beta03 release.
- Core library:
- Add
ExoPlayer.isTunnelingEnabledto check if tunneling is enabled for the currently selected tracks (#2518). - Add
WrappingMediaSourceto simplify wrapping a singleMediaSource(#7279). - Discard back buffer before playback gets stuck due to insufficient available memory.
- Close the Tracing "doSomeWork" block when offload is enabled.
- Fix session tracking problem with fast seeks in
PlaybackStatsListener(#180). - Send missing
onMediaItemTransitioncallback when callingseekToNextorseekToPreviousin a single-item playlist (#10667). - Add
Player.getSurfaceSizethat returns the size of the surface on which the video is rendered. - Fix bug where removing listeners during the player release can cause an
IllegalStateException(#10758).
- Add
- Build:
- Enforce minimum
compileSdkVersionto avoid compilation errors (#10684).
- Enforce minimum
- Track selection:
- Prefer other tracks to Dolby Vision if display does not support it. (#8944).
- Downloads:
- Video:
- Try alternative decoder for Dolby Vision if display does not support it. (#9794).
- Audio:
- Use
SingleThreadExecutorfor releasingAudioTrackinstances to avoid OutOfMemory errors when releasing multiple players at the same time (#10057). - Adds
AudioOffloadListener.onExperimentalOffloadedPlaybackfor the AudioTrack offload state. (#134). - Make
AudioTrackBufferSizeProvidera public interface. - Add
ExoPlayer.setPreferredAudioDeviceto set the preferred audio output device (#135). - Map 8-channel and 12-channel audio to the 7.1 and 7.1.4 channel masks respectively on all Android versions (#10701).
- Use
- Metadata:
-
MetadataRenderercan now be configured to render metadata as soon as they are available. Create an instance withMetadataRenderer(MetadataOutput, Looper, MetadataDecoderFactory, boolean)to specify whether the renderer will output metadata early or in sync with the player position.
-
- DRM:
- Work around a bug in the Android 13 ClearKey implementation that returns a non-empty but invalid license URL.
- Fix
setMediaDrmSession failed: session not openederror when switching between DRM schemes in a playlist (e.g. Widevine to ClearKey).
- Text:
- CEA-608: Ensure service switch commands on field 2 are handled correctly (#10666).
- DASH:
- Parse
EventStream.presentationTimeOffsetfrom manifests (#10460).
- Parse
- UI:
- Use current overrides of the player as preset in
TrackSelectionDialogBuilder(#10429).
- Use current overrides of the player as preset in
- RTSP:
- IMA:
- Add timeout for loading ad information to handle cases where the IMA SDK gets stuck loading an ad (#10510).
- Prevent skipping mid-roll ads when seeking to the end of the content (#10685).
- Correctly calculate window duration for live streams with server-side inserted ads, for example IMA DAI (#10764).
- FFmpeg extension:
- Add newly required flags to link FFmpeg libraries with NDK 23.1.7779620 and above (#9933).
- AV1 extension:
- Update CMake version to avoid incompatibilities with the latest Android Studio releases (#9933).
- Cast extension:
- Implement
getDeviceInfo()to be able to identifyCastPlayerwhen controlling playback with aMediaController(#142).
- Implement
- Transformer:
- Add muxer watchdog timer to detect when generating an output sample is too slow.
- Remove deprecated symbols:
- Remove
Transformer.Builder.setOutputMimeType(String). This feature has been removed. The MIME type will always be MP4 when the default muxer is used.
- Remove
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.