1

As you can see in the code below, I've come across a great Google Cast SDK feature, how to create a play queue?

Right now I have managed to transmit video and information to chrome cast (at the moment), I have ready the .css splash that they request for the start of the application, in fact it is almost ready! ... in Google Devlopers reading the documentation I came across the section "Queueing" which shows the following code:

MediaQueueItem queueItem = new MediaQueueItem.Builder(mediaInfo)
    .setAutoplay(true)
    .setPreloadTime(20)
    .build();

The million dollar questions are...

  1. Where should I put that code?
  2. How can I add lists to Google Cast?
  3. How do I update the lists, once finished?
Phantômaxx
  • 37,901
  • 21
  • 84
  • 115