guerrerocarlos / chromecast-js

Chromecast Node.js module
162 stars 34 forks source link

issues with multiple chromecasts causes error messages #22

Open rossvz opened 9 years ago

rossvz commented 9 years ago

package works great with only one chromecast on the network. With two, I get this error:

  node_modules/chromecast-js/node_modules/castv2-client/lib/controllers/receiver.js:50
          callback(null, response.status.applications || []);
                                               ^
  TypeError: Cannot read property 'applications' of undefined

I was trying to figure out a way to specify ip address of the chromecast, instead of using the discovery. I'd love to be able to launch two separate videos to two different chromecasts and have control over which media gets streamed to each screen