AstroPlayerState
A class that represents the mutable state of an AstroPlayer instance for use with Jetpack Compose.
This class wraps an existing AstroPlayer object and provides a way to access and modify its properties as mutable state for Jetpack Compose composables. It listens to changes in the underlying AstroPlayer
and updates the corresponding state properties accordingly.
Note: This class is a wrapper and doesn't modify the original AstroPlayer object directly. It provides a convenient way to manage state within composables while keeping the player logic separate.