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

Not working anymore with latest android support and/or google play libs #52

Open
karli2000 opened this issue Feb 25, 2015 · 4 comments
Open

Comments

@karli2000
Copy link

Hi,
your plugin was working great until i updated the android libs (support libs are now 21.0.3, google play service is on 22) and added the new libs to the project.

What happens is that everything looks fine, the chromecast-app is getting started, but loadMedia returns an "Unknown" error and is not able to reach the chromecast (I dont see any response on the chromecast debugger). Using sendMessage works (i get the messoge on the chromecast) but also returns an "Unknown" error and no session is available.

Any ideas why?
I am using cordova 4.x and android platform for cordova 3.7.1. If you need more information i am very happy to provide it!

Would be great if you could fix this!

Thank you!

@emcniece
Copy link

#50 - perhaps check your project.properties numbers... shot in the dark

@joshjhargreaves
Copy link

Any updates on this?

@myvidster
Copy link

The plugin is currently broke for me. Same issue, getting an unknown error when using loadMedia

@myvidster
Copy link

To fixed this bug in the chrome.cast.js add this.metadata = new chrome.cast.media.MovieMediaMetadata(); to the MediaInfo: function

MediaInfo: function (contentId, contentType) {
this.contentId = contentId;
this.streamType = chrome.cast.media.StreamType.BUFFERED;
this.contentType = contentType;
this.customData = this.duration = this.metadata = null;
this.metadata = new chrome.cast.media.MovieMediaMetadata();
}

ghenry22 added a commit to ghenry22/cordova-chromecast that referenced this issue Jul 24, 2016
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

4 participants