[HTML payload içeriği buraya]
28.3 C
Jakarta
Sunday, May 10, 2026

Android Builders Weblog: Media3 1.10 is out


We’re persevering with to develop 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 pace administration, a brand new PlaybackSpeedControl is out there within the base media3-ui-compose module, alongside a styled PlaybackSpeedToggleButton within the Materials 3 module.

We’ll proceed engaged on new additions like observe choice utils, subtitle help and extra customization choices within the upcoming Media3 releases. We’re keen to listen to your suggestions so please share your ideas on the venture subject tracker.

Playback characteristic enhancements

Media3 1.10 consists of quite a lot of additions and enhancements throughout the playback modules:

  • Format help: 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 help 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 help forX-PLAYOUT-LIMIT  and X-SNAP, and with the newest IMA SDK dependency you’ll be able to management whether or not advert click-through URLs open in customized tabs with setEnableCustomTabs.

  • HLS: ExoPlayer now permits location fallback upon encountering load errors if redundant streams from completely different areas can be found.

  • Session: MediaSessionService now extends LifecycleService, permitting apps to entry the lifecycle scoping of the service.

One in every of our key focus areas this yr is on playback effectivity and efficiency. Media3 1.10 consists of experimental help for scheduling the core playback loop in a extra environment friendly means. You’ll be able to do that 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 pace changes extra strong. EditedMediaItem.Builder.setFrameRate()can now set a most output body charge for video. That is significantly useful for controlling output measurement and sustaining efficiency when growing media pace with setSpeed().

New modules for body extraction and making use of Lottie results

On this launch we have cut up some performance into new modules to cut back the scope of some dependencies:

  • FrameExtractor has been faraway from the principle 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 a simple approach to apply vector-based Lottie animations on to video frames.

Please get in contact through the subject tracker when you run into any bugs, or when you’ve got questions or characteristic requests. We stay up for listening to from you!

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles