So do we need a mediaconnection class, or we can directly use the implement in the activity and serviceclass, like it was provied in the mediasessions demo
follows this pattern , should we follow this , then a lot of code is removed. Then UAMP compose/media3 demo still follows the old pattern , can there be a proper explanation, and if we need to follow the mediasession demo pattern, will the UAMP code be updated to that pattern.
pattern to follow for Jetpack Media3
The Android media3 video specifies https://www.youtube.com/watch?v=sTIBDcyCmCg&t=480s , mediacontroller is a player implementation, we can direclty pass it to the playerview,
So do we need a mediaconnection class, or we can directly use the implement in the activity and serviceclass, like it was provied in the mediasessions demo
https://github.com/androidx/media/tree/release/demos/session
follows this pattern , should we follow this , then a lot of code is removed. Then UAMP compose/media3 demo still follows the old pattern , can there be a proper explanation, and if we need to follow the mediasession demo pattern, will the UAMP code be updated to that pattern.