jbibik addf01b9a8 [ui-compose] Add PlaybackSpeedState to control playbackParameters.speed
A state holder that handles interaction with a UI component that toggles through a range of playback speeds.

[demo-compose] Use PlaybackSpeedState to create PlaybackSpeedTextButton

Add the button to the bottom extra controls.

PiperOrigin-RevId: 731449526
2025-02-26 14:09:12 -08:00
..
2025-02-10 10:32:47 -08:00

ExoPlayer demo with Compose integration

This is an experimental ExoPlayer demo app that is built fully using Compose features. This should be taken as Work-In-Progress, rather than experimental API for testing out application development with the media3 and Jetpack Compose libraries. Please await further announcement via Release Notes for when the implementation is fully integrated into the library.

For an intermediate solution, use Jetpack Compose Interop with AndroidView and PlayerView. However, note that it provides limited functionality and some features may not be supported.

See the demos README for instructions on how to build and run this demo.