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

Cannot sendMessage() to cast URL #13

Open
enricodente opened this issue Jan 24, 2021 · 2 comments
Open

Cannot sendMessage() to cast URL #13

enricodente opened this issue Jan 24, 2021 · 2 comments

Comments

@enricodente
Copy link

Hello and thanks for this amazing plugin.

I have set it up and got the example with the video and pause/stop working in few minutes.

Unfortunately, that is not the use I would like to achieve: I would need to open a remote URL on the screen. I have found this project that uses Chromecast APIs and works like a charm on their web-example using Chrome browser:
Project: https://github.com/DeMille/url-cast-receiver
Example: https://demille.github.io/url-cast-receiver/

Basically, I would like to achieve that using this plugin.
I have tried to adapt their implementation inside my test cordova app, but I always get issues when calling the requestSession method: the error callback gets triggered, and the error I get is: "namespace 'urn:x-cast:com.url.cast' not founded unverified"

I have tried both using the recommended App ID and namespace from the project, and also tried using one generated by me, but always get that error. After that, it looks like I can no longer close the session, not even force closing the app, so the only way to be able to scan again my Chromecast TV is to uninstall the app and re-install again, but I believe this is only a side effect of the main issue.

Thanks for any hint!

@Lindsay-Needs-Sleep
Copy link

Response here: jellyfin-archive#78 (comment)

@enricodente
Copy link
Author

enricodente commented Feb 11, 2021

See PR #15

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