Jump to content

No more Chromecast with Google Pixel


JarvisTek

Recommended Posts

JarvisTek

So I'm guessing this is another one of those "They call it the bleeding edge of technology for a reason" moments, but my wife and I just got Google Pixel phones and whenever we try to play anything through the app over Chromecast, literally nothing happens. Below is the only thing in the server log (there is no transcode log since it never hits that point):

 

2016-11-25 17:24:00.3868 Info HttpServer: HTTP GET http://emby.jarvistek.home:8096/Users/cda82162168049b8ab77152268f9f9c1/Items/76b559314d33d590fc17e198213b9fe7. UserAgent: Mozilla/5.0 (Linux; Android 7.1; Pixel Build/NDE63V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/54.0.2840.85 Mobile Safari/537.36

2016-11-25 17:24:00.4024 Info HttpServer: HTTP Response 200 to 192.168.1.21. Time: 16ms. http://emby.jarvistek.home:8096/Users/cda82162168049b8ab77152268f9f9c1/Items/76b559314d33d590fc17e198213b9fe7

2016-11-25 17:24:00.5900 Info HttpServer: HTTP GET http://emby.jarvistek.home:8096/Users/cda82162168049b8ab77152268f9f9c1. UserAgent: Mozilla/5.0 (Linux; Android 7.1; Pixel Build/NDE63V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/54.0.2840.85 Mobile Safari/537.36

2016-11-25 17:24:00.5900 Info HttpServer: HTTP Response 200 to 192.168.1.21. Time: 0ms. http://emby.jarvistek.home:8096/Users/cda82162168049b8ab77152268f9f9c1

2016-11-25 17:24:00.7462 Info HttpServer: HTTP GET http://emby.jarvistek.home:8096/Items/76b559314d33d590fc17e198213b9fe7/ThemeMedia?userId=cda82162168049b8ab77152268f9f9c1&InheritFromParent=true. UserAgent: Mozilla/5.0 (Linux; Android 7.1; Pixel Build/NDE63V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/54.0.2840.85 Mobile Safari/537.36

2016-11-25 17:24:00.7618 Info HttpServer: HTTP Response 200 to 192.168.1.21. Time: 16ms. http://emby.jarvistek.home:8096/Items/76b559314d33d590fc17e198213b9fe7/ThemeMedia?userId=cda82162168049b8ab77152268f9f9c1&InheritFromParent=true

2016-11-25 17:24:00.7618 Info HttpServer: HTTP GET http://emby.jarvistek.home:8096/Shows/30abf8206d79627ba8143c17e6c52945/Episodes?seasonId=81f397b27a19228032f2897f908e7df5&userId=cda82162168049b8ab77152268f9f9c1&AdjacentTo=76b559314d33d590fc17e198213b9fe7. UserAgent: Mozilla/5.0 (Linux; Android 7.1; Pixel Build/NDE63V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/54.0.2840.85 Mobile Safari/537.36

2016-11-25 17:24:00.7618 Info HttpServer: HTTP GET http://emby.jarvistek.home:8096/Items/76b559314d33d590fc17e198213b9fe7/Images/Primary?maxHeight=945&tag=f97904afde650cf6eef9b92f0afa0d54&quality=50. UserAgent: Mozilla/5.0 (Linux; Android 7.1; Pixel Build/NDE63V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/54.0.2840.85 Mobile Safari/537.36

2016-11-25 17:24:00.7618 Info HttpServer: HTTP Response 200 to 192.168.1.21. Time: 0ms. http://emby.jarvistek.home:8096/Items/76b559314d33d590fc17e198213b9fe7/Images/Primary?maxHeight=945&tag=f97904afde650cf6eef9b92f0afa0d54&quality=50

2016-11-25 17:24:00.7618 Info HttpServer: HTTP Response 200 to 192.168.1.21. Time: 0ms. http://emby.jarvistek.home:8096/Shows/30abf8206d79627ba8143c17e6c52945/Episodes?seasonId=81f397b27a19228032f2897f908e7df5&userId=cda82162168049b8ab77152268f9f9c1&AdjacentTo=76b559314d33d590fc17e198213b9fe7

2016-11-25 17:24:00.7774 Info HttpServer: HTTP GET http://emby.jarvistek.home:8096/Items/76b559314d33d590fc17e198213b9fe7/ThemeMedia?userId=cda82162168049b8ab77152268f9f9c1&InheritFromParent=true. UserAgent: Mozilla/5.0 (Linux; Android 7.1; Pixel Build/NDE63V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/54.0.2840.85 Mobile Safari/537.36

2016-11-25 17:24:00.7774 Info HttpServer: HTTP Response 200 to 192.168.1.21. Time: 0ms. http://emby.jarvistek.home:8096/Items/76b559314d33d590fc17e198213b9fe7/ThemeMedia?userId=cda82162168049b8ab77152268f9f9c1&InheritFromParent=true

2016-11-25 17:24:04.2306 Info HttpServer: HTTP GET http://emby.jarvistek.home:8096/Users/cda82162168049b8ab77152268f9f9c1/Items/76b559314d33d590fc17e198213b9fe7. UserAgent: Mozilla/5.0 (Linux; Android 7.1; Pixel Build/NDE63V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/54.0.2840.85 Mobile Safari/537.36

2016-11-25 17:24:04.2306 Info HttpServer: HTTP Response 200 to 192.168.1.21. Time: 0ms. http://emby.jarvistek.home:8096/Users/cda82162168049b8ab77152268f9f9c1/Items/76b559314d33d590fc17e198213b9fe7

 

I enabled debug logging above, just to make sure I get everything. Videos play fine directly on the phone so far, just not able to cast (which is how I have our TV set up).

Link to comment
Share on other sites

Hi, I have a Google Pixel for testing and Chromecast works great with it. Can you please attach the complete Emby server log? thanks.

Link to comment
Share on other sites

JarvisTek

Just restarted the service so you wouldn't have to parse through 40mb of log. I started it back up, opened emby on the android app, and tried playing a file several times through Chromecast.

 

server-63615693996.txt

Edited by JarvisTek
Link to comment
Share on other sites

Hi @@JarvisTek, when you use your app to connect to the server, try connecting to the server via ip address instead of emby.jarvistek.home. What's happening is this emby.jarvistek.home address is being passed to Chromecast, but Chromecast cannot resolve local hostnames, therefore it can't reach your Emby server.

 

I'm adding some changes into the app to better handle this by checking if the server address is an ip address or not and acting appropriately, but for a more immediate fix, you can use my suggestion above. Thanks.

Link to comment
Share on other sites

JarvisTek

Yup, that looks like it. Working through this list of IP addresses (http://blog.hroyer.com/post/80949364370/how-to-bypass-chromecasts-hardcoded-dns-and) on my router to point it to my internal DNS. Just passing this on to anyone else that may need this.

 

TL;DR - Sinkhole 8.8.8.8, 8.8.4.4, 208.67.222.222 , and 209.244.0.3 to your internal DNS to force Chromecast to use your internal naming.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...