You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the cast API you are suggesting looks correct to me.
We need a way to reflect the shuffled timeline coming from the cast device. After a quick look I think this may just work but we need to test this.
CastPlayer is planned to be reworked by another team. I'll include this report in the requirements that need to be looked at and improved with a new version. I can't give you a timeline for this yet I'm afraid.
The new version will be a Media3 implementation and will land in this repo. The aim is to stream line the integration with a Media3 media session.
It's unclear yet whether there is a new implementation or whether the existing CastPlayer is changed. We are thinking of a more complete implementation that also aims for an out of the box integration with MediaSession and one of the services.
I am collecting the Cast bugs here in this issue tracker for requirements engineering of the new version and will add this issue to that as well.
Use case description
Currently (as of version 1.5.1), CastPlayer does not support shuffle mode:
getShuffleModeEnabled()
:media/libraries/cast/src/main/java/androidx/media3/cast/CastPlayer.java
Lines 629 to 633 in 76088cd
setShuffleModeEnabled(boolean)
:media/libraries/cast/src/main/java/androidx/media3/cast/CastPlayer.java
Lines 624 to 627 in 76088cd
I didn't find any issue/PR open related to this feature. Is there any blocker to support it?
Alternatives considered
We're currently experimenting with our own simple implementation that looks like (we updated the list of available commands):
But we're not sure if that's the way to go.
The text was updated successfully, but these errors were encountered: