1

I have a Chromecast sender application that can be used to launch multiple app ids for testing purposes.

In the Chromecast docs, it says that the setOptions function should only be called once. And indeed when calling it a second time, the receiverApplicationId property can't be modified.

https://developers.google.com/cast/docs/reference/chrome/cast.framework.CastContext#setOptions

This works:

cast.framework.CastContext.qa.s.receiverApplicationId = receiverApplicationId;

Is there a better way?

1 Answers1

0

Each sender app should be launched with a single app id only.

Leon Nicholls
  • 4,623
  • 2
  • 16
  • 17
  • 1
    Correct, but we have an html sender app that multiple people use for development purposes. It'd be nice to be able to launch multiple app ids from this page without doing a full reload. –  Jul 31 '18 at 01:18