Cast player doesn't work correct when I load create it and load items when I was connected to Chromecast before:
- When I try to set another with seekTo(window, msec) item from playlist I get: java.lang.ArrayIndexOutOfBoundsException: length=0; index=1
- When I disconnect I get wrong currentPosition
- getDuration() = -9223372036854775807
How to reporoduce:
- Add some button to demo app
- Move making PlayerManager.createPlayerManager to call when button is clicked
- Connect to Cromecast by MediaRouteButton
- Tap button to create PlayerManager
- Change track or disconnect stop casting
I can send you the code. Is that approach wrong?
Cast player doesn't work correct when I load create it and load items when I was connected to Chromecast before:
How to reporoduce:
I can send you the code. Is that approach wrong?