We’re persevering with to broaden the media3-ui-compose-material3 module that will help you construct Compose UIs for playback.
We have added a brand new Participant Composable that mixes a ContentFrame with customizable playback controls, supplying you with an out-of-the-box participant widget with a contemporary UI.
This launch additionally provides a ProgressSlider Composable for displaying participant progress and performing seeks utilizing dragging and tapping gestures. For playback velocity administration, a brand new PlaybackSpeedControl is accessible within the base media3-ui-compose module, alongside a styled PlaybackSpeedToggleButton within the Materials 3 module.
We’ll proceed engaged on new additions like monitor choice utils, subtitle assist and extra customization choices within the upcoming Media3 releases. We’re keen to listen to your suggestions so please share your ideas on the mission challenge tracker.
Playback characteristic enhancements
-
Format assist: ExoPlayer now helps extracting Dolby Imaginative and prescient Profile 10 and Versatile Video Coding (VVC) tracks in MP4 containers, and we have launched MPEG-H UI supervisor assist within the decoder_mpeghextension. The IAMF extension now seamlessly helps binaural output, both by means of the decoder throughiamf_tools or by means of the Android OS Spatializer, with new logic to match the output structure of the audio system.
-
Advert playback: Enhancements to reliability, improved HLS interstitial assist forX-PLAYOUT-LIMIT and X-SNAP, and with the most recent IMA SDK dependency you may management whether or not advert click-through URLs open in customized tabs with setEnableCustomTabs.
-
Session: MediaSessionService now extends LifecycleService, permitting apps to entry the lifecycle scoping of the service.
HLS: ExoPlayer now permits location fallback upon encountering load errors if redundant streams from completely different areas can be found.
One in all our key focus areas this 12 months is on playback effectivity and efficiency. Media3 1.10 contains experimental assist for scheduling the core playback loop in a extra environment friendly method. You possibly can do this out by enabling experimentalSetDynamicSchedulingEnabled() through the ExoPlayer.Builder. We plan to make additional enhancements in future releases so keep tuned!
Media enhancing and Transformer
For builders constructing media enhancing experiences, we have made velocity changes extra sturdy. EditedMediaItem.Builder.setFrameRate()can now set a most output body price for video. That is notably useful for controlling output measurement and sustaining efficiency when growing media velocity with setSpeed().
New modules for body extraction and making use of Lottie results
-
FrameExtractor has been faraway from the primary media3-inspector module, so please migrate your code to make use of the brand new media3-inspector-framemodule and replace your imports toandroidx.media3.inspector.body.FrameExtractor.
-
Now we have additionally moved theLottieOverlayimpact to a separate media3-effect-lottie module. As a reminder, this offers you an easy strategy to apply vector-based Lottie animations on to video frames.
Please get in contact through the challenge tracker when you run into any bugs, or you probably have questions or characteristic requests. We look ahead to listening to from you!
