title: Chromecast to multiple devices
body: <p>I'm building a web application and I need to cast some media (photos and maybe videos) to multiple TV sets. So far not too bad, I've managed to build my sender application that sends to a chromecast device and then after looking into others I learned I can use different instances of chrome profiles to even broadcast to multiple TV sets at once and that's also done.</p>
  
  <p>Here are my questions and issues at this time.
  1) As far as I know there is no way to bypass the user popup that selects a device for broadcasting and I kind of understand the logic however it would really be the best if somehow this could be by passed. I don't have to use chrome and html code and if this means I need to write in Java or use other platforms it's fine. What I hope is to be able to select the device via my code instead of via user popup from the extension. Even if we need some sort of one time authentication I understand but the issue is as it stands today, anytime I restart my browser I have to go over the selection process. In my case this suppose to be an unattended application and having this user required step is really a huge issue.
  2) I like to know if I can broadcast to multiple devices within the same html page or application. Again at this time my understanding is a single session can be established at any given time with a single chromecase device under a single user profile. My requirement calls for broadcasting to multiple devices at the same time from the same application/page. Any way I can do this within a single profile?</p>
  
  <p>Any help or pointers is very much appreciated.</p>
  
  <p>Amir </p>