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
When I use CastPlayer with multiple sources, seek track and the track finishes for every next track getCurrentWindow() gives 1.
I believe that remoteMediaClient.getMediaStatus().getIndexById() gives wrong results.
I can get the right result by: Arrays.binarySearch(remoteMediaClient.getMediaQueue().getItemIds(),remoteMediaClient.getMediaStatus().getCurrentItemId() )
Changing the method fetchCurrentWindowIndex() works for me:
When I use CastPlayer with multiple sources, seek track and the track finishes for every next track getCurrentWindow() gives 1.
I believe that
remoteMediaClient.getMediaStatus().getIndexById()
gives wrong results.I can get the right result by:
Arrays.binarySearch(remoteMediaClient.getMediaQueue().getItemIds(),remoteMediaClient.getMediaStatus().getCurrentItemId() )
Changing the method fetchCurrentWindowIndex() works for me:
It can be the bug in MediaStatus from com.google.android.gms.cast.
The text was updated successfully, but these errors were encountered: