vbaicu / mMusicCast

Chromecast emulator that works on any platform. Stream videos from youtube to raspberry pi or any computer with the chromecast protocol.
Creative Commons Zero v1.0 Universal
173 stars 26 forks source link

galaxy s9 does not see app but app sees galaxy #12

Open zany130 opened 5 years ago

zany130 commented 5 years ago

when run the app on my Ubuntu 18.04.2 computer I get the following output

mMusicCast@1.1.0 start /home/zany130/Downloads/mMusicCast-master electron .

morgan deprecated undefined format: specify a format server.js:36:9 morgan deprecated default format: use combined format server.js:36:9 body-parser deprecated bodyParser: use individual json/urlencoded middlewares server.js:37:9 body-parser deprecated undefined extended: provide extended option node_modules/body-parser/index.js:105:29 192.168.10.197 Registered App: ChromeCast Registered App: YouTube Express server listening on port 8008 ::ffff:192.168.10.183 - - [Thu, 11 Apr 2019 22:04:35 GMT] "GET /ssdp/device-desc.xml HTTP/1.1" 200 1082 "-" "com.google.android.youtube/14.14.51(Linux; U; Android 9; en_US; SM-G960U Build/PPR1.180610.011) gzip" ::ffff:192.168.10.183 - - [Thu, 11 Apr 2019 22:04:36 GMT] "GET /apps/YouTube HTTP/1.1" 200 531 "-" "com.google.android.youtube/14.14.51(Linux; U; Android 9; en_US; SM-G960U Build/PPR1.180610.011) gzip" ::ffff:192.168.10.183 - - [Thu, 11 Apr 2019 22:04:46 GMT] "GET /apps/YouTube HTTP/1.1" 200 531 "-" "com.google.android.youtube/14.14.51(Linux; U; Android 9; en_US; SM-G960U Build/PPR1.180610.011) gzip" ::ffff:192.168.10.183 - - [Thu, 11 Apr 2019 22:04:56 GMT] "GET /apps/YouTube HTTP/1.1" 200 531 "-" "com.google.android.youtube/14.14.51(Linux; U; Android 9; en_US; SM-G960U Build/PPR1.180610.011) gzip" ::ffff:192.168.10.183 - - [Thu, 11 Apr 2019 22:05:06 GMT] "GET /apps/YouTube HTTP/1.1" 200 531 "-" "com.google.android.youtube/14.14.51(Linux; U; Android 9; en_US; SM-G960U Build/PPR1.180610.011) gzip" ::ffff:192.168.10.183 - - [Thu, 11 Apr 2019 22:05:16 GMT] "GET /apps/YouTube HTTP/1.1" 200 531 "-" "com.google.android.youtube/14.14.51(Linux; U; Android 9; en_US; SM-G960U Build/PPR1.180610.011) gzip" ::ffff:192.168.10.183 - - [Thu, 11 Apr 2019 22:05:26 GMT] "GET /apps/YouTube HTTP/1.1" 200 531 "-" "com.google.android.youtube/14.14.51(Linux; U; Android 9; en_US; SM-G960U Build/PPR1.180610.011) gzip" ::ffff:192.168.10.183 - - [Thu, 11 Apr 2019 22:05:36 GMT] "GET /apps/YouTube HTTP/1.1" 200 531 "-" "com.google.android.youtube/14.14.51(Linux; U; Android 9; en_US; SM-G960U Build/PPR1.180610.011) gzip"

Quinost commented 5 years ago

I have the same problem. App see my phone, but i cant cast You have fix for this?

vbaicu commented 5 years ago

Hi, I heard about this kind of problem using android devices. Unfortunately I don't have one myself to test. I can confirm, today, it's working with latest version of Youtube on iOS while running on MacOS Mojave. To rule out any issue on computer side, please check that you don't have any firewall enabled and that computer and phone are on the same subnet.

jeritiana commented 5 years ago

Hi, I also stumbled on this issue: tested with OnePlus 5T, Android 9. Have similar logs on the console and the cast icon on the android phone keeps searching for devices... It would be very nice if you have some inputs about this 😄 Thanks a lot!

vbaicu commented 5 years ago

Maybe on Android 9 they dropped support for Chromecast 1 protocol. On iPhone it works on the latest youtube app on iOS 13 - app running on MacOS Mojave I tried using a Nexus 5X Android 7.0 and it worked fine - app running on MacOS Mojave On windows I had the same issue until I disabled the firewall completely. Just allowing the app didn't do the job.