KirovBvulgaru / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Can't use play if loading from paused state #148

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load a song in the paused state
2. Try to start using RemoteMediaPlayer.play(apiClient)

I expect the application to start playing.  Instead nothing happens.  Play 
works fine if I have paused the application after starting auto playing.  It 
also works fine if I use seek first.  This is all using the standard receiver.

Original issue reported on code.google.com by daneren2...@gmail.com on 20 Feb 2014 at 5:50

GoogleCodeExporter commented 8 years ago
What do you mean by "load a song in paused state"?

Original comment by anad...@google.com on 20 Feb 2014 at 5:53

GoogleCodeExporter commented 8 years ago
From: load(GoogleApiClient apiClient, MediaInfo mediaInfo, boolean autoplay)

mediaPlayer.load(apiClient, mediaInfo, false);

Original comment by daneren2...@gmail.com on 20 Feb 2014 at 5:55

GoogleCodeExporter commented 8 years ago
Ok, that is not really "paused" at that state (i.e. if you ask the player for 
its state, it would report IDLE and not PAUSED), that is why I was trying to 
make sure I understood your statement. Now, is this only happening with audio 
or you see the same thing with video as well?

Original comment by anad...@google.com on 20 Feb 2014 at 5:58

GoogleCodeExporter commented 8 years ago
Well that doesn't really make any sense to have it still be in the idle state 
after loading something...  At that point you are using IDLE for two distinct 
states (loaded and not playing and not loaded at all).  Is there another way 
I'm supposed to be loading something in the paused state without having had 
anything play (ie: starting in play mode then quickly pausing isn't really a 
good solution)? 

I only have Chromecast setup for audio right now so I can't speak for whether 
it happens with video as well.

Original comment by daneren2...@gmail.com on 20 Feb 2014 at 6:02

GoogleCodeExporter commented 8 years ago
Are you still experiencing this issue?

Original comment by jonathan...@google.com on 22 Oct 2014 at 5:44

GoogleCodeExporter commented 8 years ago
No.  At some point a while ago without any local code changes the problem
went away.

Original comment by daneren2...@gmail.com on 22 Oct 2014 at 7:23

GoogleCodeExporter commented 8 years ago
I'm glad to hear that the problem is resolved.  I will close this issue now.

Original comment by jonathan...@google.com on 22 Oct 2014 at 8:22