Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beaming of web app is failing on Chromecast #59

Open
dkonovalov opened this issue Dec 5, 2016 · 4 comments
Open

Beaming of web app is failing on Chromecast #59

dkonovalov opened this issue Dec 5, 2016 · 4 comments

Comments

@dkonovalov
Copy link

I try to use ConnectSDK following your example code (basic cordova app with ConnectSDK plugin). I have Chromecast V2, which is standard. I am able to enumerate cast devices on the network and connect to my chromecast, but when I try to beam web app, I end up in the error callback, with a error message like this:
"Exception calling launchWebApp: java.lang.NullPointerException: Attempt to invoke interface method 'void com.connectsdk.service.capability.WebAppLauncher.launchWebApp(java.lang.String, com.connectsdk.service.sessions.WebAppSession$LaunchListener)' on a null object reference".
Chromecast device I am using is standard, and I am able to beam WebApp on it using google own casting example. I assume that problem is that the device reported as missing webapplaunch capability, but I might be wrong. Could you please provide a little information about possible troubleshooting steps here?

@federicotarantino
Copy link

What webapp-id are you using in casting example?

@dkonovalov
Copy link
Author

Hi. I used "C975EE6E" as a webapp-id.

@federicotarantino
Copy link

Are you verified if this webapp exists?

@dkonovalov
Copy link
Author

Of course. As stated in original post, I am able to connect to this app by using Google demo javascript casting client. And, I am getting the same error result with ConnectSDK if I use any of the Chromecast demo applications I was able to find, so I do not think it is app related, but rather should be an SDK problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants