R.C R.C - 1 month ago 7x
Android Question

Chromecast - Lock screen/Notification/Mini Controller - Stop Button instead of a Pause button

I've implemented Cast SDK 3 into my application for Android, everything is working as expected when following the guidelines from the Cast SDK website, the only thing that I can't wrap my head around is the button for play_pause_toggle_button, the screen shot from the Cast SDK website shows a proper pause button, but I get stop button instead (in which pauses the video) is there something I'm not doing correctly that may not be obvious?

First post, please go easy :)


If I were to guess, I would say you have set the stream type of your MediaInfo objects to MediaInfo.STREAM_TYPE_LIVE. If so, change them to MediaInfo.STREAM_TYPE_BUFFERED and see if that fixes your problem.