jloutsenhizer / CR-Cast

Chromecast Emulator for Google Chrome
MIT License
249 stars 37 forks source link

Could not communicate with your chromecast #2

Open Luso13 opened 10 years ago

Luso13 commented 10 years ago

Hi,

Thanks for the application CR-Cast. I installed it on the Win8.1 Samsung Series 9 Laptop with Chrome browser.

Using Chomecast on Samsung Galaxy Note 10.1 I manage to see the CR-Cast but when I try to connect I get the error:

Could not communicate with your chromecast (%1 $s)

Am I doing something wrong? Any help is welcomed.

Thanks, Antonio

jloutsenhizer commented 10 years ago

There's no reason at face value why it would be giving you these errors. However right now I don't have a setup that will let me do debugging and development, I'll look into figuring something out this weekend since the app needs a lot of work done to update it to the new google cast system

Luso13 commented 10 years ago

Thank you for your reply. I did test it further and I noticed that YouTube on my Tablet detected the CR-Cast on the PC but I could not see the videos. Same happen on the MusicPlay. The player detected CR-Cast but nothing else.

The reported error occurred when I opened the Chromecast app on the tablet and tried to connect to the CR Cast on the PC.

The idea of CR Cast is great. The support for Miracast on CR-Cast would be a killer.

Thanks, Antonio

jloutsenhizer commented 10 years ago

Ahhh I see,

Well as of right now, I don't think CR Cast properly supports the APIs needed for the chromecast app to be able to get all the wanted information. You're talking about the app used to configure chromecast correct?

Although, there is a chance a lot has changed with the official release of the Google Cast SDK and it won't function correctly until I get a proper setup to develop.

Luso13 commented 10 years ago

You're talking about the app used to configure chromecast correct?

Yes. Thanks and keep up the good work.

jloutsenhizer commented 10 years ago

I managed to get a dev environment setup and working. However the issue likely stems from this issue in chrome:

https://code.google.com/p/chromium/issues/detail?id=238819

Basically, chrome's socket implementation doesn't let me listen for multicast on a port that's already being used for multicast. So sometimes (like when I had Plex Server installed) the SSDP server fails to initialize and then CR Cast is undiscoverable.

Additionally, I don't think that the new chromecast apps using google cast v2 sdk will likely be able to work until this issue is fixed, since there needs to be an implementation of mDNS which most operating systems have some kind of mDNS server enabled and running by default. So star the issue please to show interest

Luso13 commented 10 years ago

Thanks for your prompt feedback.

cjgroveuk commented 9 years ago

I get the same error on different devices when trying to cast a video from the youtube app?

%1$s

It happens randomly on different devices.

Samsung G Note 2

Motorola G

LG G Pad Lollipop