Increase TTL of MDNS broadcast from chromecast? - Google Chromecast

Devices,
Nexus 5, Lollypop
Chromecast
Hi team,
We've got a complex network that relys on an MDNS repeater (avahi-daemon) allowing discovery of devices across multiple networks. I understand our issues with the Chromecast is the MDNS packet has a TTL of 1, so no time to route that through..
We're wondering if there are any methods of increasing that TTL?
We don't mind rooting the device to do so.
Thanks all!

Related

Cast on wpa2 enterprise network

I'm working at a school environment. We are using WPA 2 enterprise to authenticate ourselfs on the network. The chromecast as today don't have support for that. We are using a lot of Chromebooks. Any other solution for casting the Chromebook screen on such a environment?
iOS 8 will have such a function.
Skickat från min GT-I9300 via Tapatalk
cowsick said:
I'm working at a school environment. We are using WPA 2 enterprise to authenticate ourselfs on the network. The chromecast as today don't have support for that. We are using a lot of Chromebooks. Any other solution for casting the Chromebook screen on such a environment?
iOS 8 will have such a function.
Click to expand...
Click to collapse
Can you describe what you're trying to achieve? You have a number of Chromebooks and you want to show the Chromebook screen on another display?
bhiga said:
Can you describe what you're trying to achieve? You have a number of Chromebooks and you want to show the Chromebook screen on another display?
Click to expand...
Click to collapse
We have thousands of Chromebooks. We want the students to be able to present there screen / chrome on the projector.
Our network environment is WPA 2 enterprise. We are radius authenticating the users that are using our network.
WPA 2 enterprise is not today supported by chromecast.
Any ideas? Except changing network environment. As I said earlier so the iOS 8 have addressed the issue and is solving in on there apple to with iOS 8
Skickat från min GT-I9300 via Tapatalk
cowsick said:
We have thousands of Chromebooks. We want the students to be able to present there screen / chrome on the projector.
Our network environment is WPA 2 enterprise. We are radius authenticating the users that are using our network.
WPA 2 enterprise is not today supported by chromecast.
Any ideas? Except changing network environment. As I said earlier so the iOS 8 have addressed the issue and is solving in on there apple to with iOS 8
Click to expand...
Click to collapse
Well I definitely wouldn't change the network environment for Chromecast...
If you can get a separate WiFi for Chromecast, then Vbukit may be an option as the sender and receiver don't need to be on the same nework. You will still need one device on the same network as Chromecast so you can launch the Vbukit for Chromecast app, which will show the QR code on the screen.
But to be honest, unless you've already made a large investment in Chromecasts, I feel like it's not the best solution for this application.
Even if you did get Chromecast on the network, because it's designed for home use and there is no use authentication, any student on the same WiFi network will be able to take control of Chromecast, leaving a huge potential for accidental or malicious interruption.
Vbukit is more controlled, but I would lean toward hooking up another Chromebook directly to the projector and have the students share screen to it via a Lync, Skype or TeamViewer "call-in." The lecturer would have to accept the "call" in this case, but it does provide accountability and avoids interruption.
I will take a look at the vbukit solution.
About students interruption during å cast. That we need to handle somehow. But that's another storie and up the the teachers to handle.
About doing a call in and split screen it's to complicated for the most teachers and students. To many steeps.
As the apple TV is now looking at enterprise needs perhaps the chromecast will to at the next IO if that vbukit solution isn't useful för us.
Skickat från min GT-I9300 via Tapatalk
Yeah, maybe a next-generation Chromecast, but I really don't see it happening with the current Chromecast. Like screen sharing is too difficult for your students and teachers, WPA2 Enterprise is too difficult for home users.
Not sure but if you can get one of those chromebooks to share an Internet connection and act as a CCast AP you might be able to work out your issues....
I am however unfamiliar with Chromebooks and what they are capable of....

chromecast two networks

I wonder if there is any way to have access to chromecast from separate network. I run enterprise encryption at home for laptops and have domain controller on 192.168.0.XXX . I also have separate 192.168.2.xxx for devices such as homesmart, wifi termostat and etc My chromecast is on 192.168.2.XXX. Is there proxy that will make chromecast discover able on other network. I know per default routing is set in a way that disables nat translation.
tritron777 said:
I wonder if there is any way to have access to chromecast from separate network. I run enterprise encryption at home for laptops and have domain controller on 192.168.0.XXX . I also have separate 192.168.2.xxx for devices such as homesmart, wifi termostat and etc My chromecast is on 192.168.2.XXX. Is there proxy that will make chromecast discover able on other network. I know per default routing is set in a way that disables nat translation.
Click to expand...
Click to collapse
I have a split network as well, but sadly it will not work as the Chromecast uses Multicast to initiate the connection to cast devices.
ddggttff3 said:
I have a split network as well, but sadly it will not work as the Chromecast uses Multicast to initiate the connection to cast devices.
Click to expand...
Click to collapse
Yeah, to get the multicast to cross subnets you need your routers/endpoints to know how to properly route the packets, and you need multicast reflection via something like Avahi or tivobridge (with the MDNS options). I've used the latter for making TiVo devices visible across subnets, but never tried it with Chromecast...

[Q] Configure CC on open WiFi network with click-through requirement (SOLVED)

I am frequently presenting on open WiFi networks, but the catch on these networks is they usually require click-through on a webpage. The CC cannot preform the click-through so using CC on these networks fails.
I am looking for alternatives to engineer a working solution to allow the CC to work depending only on the open WiFi network with click-through requirements. There are at least two other (less desirable) working methods. First, create my own WiFi hotspot, but this has a significant disadvantage that the audience wants to connect to my WiFi hotspot to experiment with the CC. Second, connect to a secure WiFi network without click-through requirement, but this is frequently not available at my presentation locations. I realize I can use the CC on a secure network with password, as long as it does not require click-through on a web page.
The ideal solution/workaround would allow the CC to connect to some AP or other WiFi point that was bridged or sourced by an "open WiFi network that requires click-through" as these types of networks are most frequently available. Plus the audience is usually already connected to the same network. But, I have not thought of a useful method to accomplish it, likely because of my limited network engineering and hardware knowledge. Two other nice-to-have features would be (1) portability and (2) working with both Windows 7 x64 and Mac OS if a laptop is used to accomplish the bridge or AP.
Methods might include something simple I'm overlooking, or an CC application, or a hardware solution (like turning my laptop into an AP after connecting to the "open WiFi network that requires click-through", or anything else.
Any suggestions highly appreciated.
PS: I am not rooted if recommending an Android device or application.
-----
SOLVED.
The solution was using TP-Link 150Mbps Wireless N Mini Pocket Router TL-WR710N configured in "WISP Client Router Mode". I bought mine on Amazon here for $27.27 USD plus tax. An extra feature is a USB port which can be used to power the CCast.
As discussed in the thread, there is WISP mode *wired* LAN, and WISP mode *wireless* LAN.
Some devices implement WISP mode by connecting to a public WiFi network and giving you *wired* local LAN. Alone, these do not work with CCast because CCast requires a *wireless* local LAN. WISP mode to *wired* LAN does NOT work.
Yet, the TL-WR710N implements WISP mode by connecting to a public WiFi network and giving you a *wireless* local LAN, complete with new Wireless Network Name (SSID) and IP address scheme served by DHCP. This works 100% with CCast.
Once the CCast is configured on the local SSID and local IP (default 192.168.0.1xx) you can cast Youtube, etc., or screen cast from your Android device.
No wonder there is confusion about WISP mode implementation.
Many thanks to people contributing to this thread's discussion!!
Note: Cloning the CCast MAC is *not* required because you can connect any device to the TL-WR710N in WISP mode and use the browser to click-through - authorizing the WR710N MAC on your public WiFi. Then all the clients, including CCast, connecting on the local *wireless* LAN simply work.
You need a program that will let you clone the CCast's MAC address on a computer, unplug the CCast...
Clone the Mac Address, Do the click through, Disconnect the computer UnClone the Mac Address. Re-Connect the CCast.
Connect the computer as normal.
But be warned...Most APs who have a click through page for access also have AP Isolation turned on which makes it impossible to find the CCast to stream to it.
Asphyx said:
You need a program that will let you clone the CCast's MAC address on a computer, unplug the CCast...
Clone the Mac Address, Do the click through, Disconnect the computer UnClone the Mac Address. Re-Connect the CCast.
Connect the computer as normal.
But be warned...Most APs who have a click through page for access also have AP Isolation turned on which makes it impossible to find the CCast to stream to it.
Click to expand...
Click to collapse
Okay thanks. I will test cloning.
But, if you are correct and most networks have AP Isolation preventing CC, then I need an alternative solution.
------
I was intrigued by this post. But configuring an TL-WR703N with "openwrt+luci web interface" is not clear to me. Yet, this seems a possible good solution.
Also, browsing this link at Cisco made me think what user @bagl0312 accomplished is quite good.
Bob Smith42 said:
Okay thanks. I will test cloning.
But, if you are correct and most networks have AP Isolation preventing CC, then I need an alternative solution.
------
I was intrigued by this post. But configuring an TL-WR703N with "openwrt+luci web interface" is not clear to me. Yet, this seems a possible good solution.
Also, browsing this link at Cisco made me think what user @bagl0312 accomplished is quite good.
Click to expand...
Click to collapse
I think there are better options for Remote usage such as Portable routers with the ability to connect to other wireless AP devices for it's WAN,
Or if you already have a cellular data account for your phone, adding one of those MiFi wireless hotspot devices that you can use as a router pretty much anywhere including where there is no free WiFi.
You just have to be careful with the latter option because Data Charges will apply if you use too much Internet access on them.
Asphyx said:
I think there are better options for Remote usage such as Portable routers with the ability to connect to other wireless AP devices for it's WAN,
Or if you already have a cellular data account for your phone, adding one of those MiFi wireless hotspot devices that you can use as a router pretty much anywhere including where there is no free WiFi.
You just have to be careful with the latter option because Data Charges will apply if you use too much Internet access on them.
Click to expand...
Click to collapse
Does anyone have any recommended models for *portable* routers with "wifi as wan" capability?
Bob Smith42 said:
Does anyone have any recommended models for *portable* routers with "wifi as wan" capability?
Click to expand...
Click to collapse
You're looking for what's typically known as a "travel router" and the "WiFi as WAN" feature, as least on my Zyxel routers is called "WISP mode" (Wireless ISP).
It does exactly what you said, instead of using a wired connection for WAN, it uses a wireless connection - the router still functions as a router, so you might have some issues with double-NAT-ing in some cases.
I have both the MWR211 (single Ethernet port so you can do wired LAN or wired WAN but not both simultaneously) and MWR222 (two Ethernet ports, so you can do both wired LAN and WAN simultaneousl) - they're almost identical, save for lacking SNMP on the MWR211. I have not had opportunity to use the WISP mode though I've used the 3G (they support most USB cell modems) as backup from time to time.
Info's a little lacking since they're discontinued models, but I got them off a Woot deal while back for under $50.
MWR211/222 manual
bhiga said:
You're looking for what's typically known as a "travel router" and the "WiFi as WAN" feature, as least on my Zyxel routers is called "WISP mode" (Wireless ISP).
It does exactly what you said, instead of using a wired connection for WAN, it uses a wireless connection - the router still functions as a router, so you might have some issues with double-NAT-ing in some cases.
I have both the MWR211 (single Ethernet port so you can do wired LAN or wired WAN but not both simultaneously) and MWR222 (two Ethernet ports, so you can do both wired LAN and WAN simultaneousl) - they're almost identical, save for lacking SNMP on the MWR211. I have not had opportunity to use the WISP mode though I've used the 3G (they support most USB cell modems) as backup from time to time.
Info's a little lacking since they're discontinued models, but I got them off a Woot deal while back for under $50.
MWR211/222 manual
Click to expand...
Click to collapse
This information was helpful. I read the manual. I will have to test the double-NATing with CC, e.g. issues with WAN accessing private vs public network IP as described in the manual. I found an inexpensive MWR222 to evaluate.
I suspect its wireless WAN mode will help, but when set in that mode it looks like it may not (guess) simultaneously have hotspot capability. Still, in that case, I can connect a small AP to its Ethernet LAN and probably get the CC working. I will test my hypothesis and report CC results once I receive the device.
I also found an inexpensive TL-WR703N with memory updates (RAM, Flash) that is supposed to support OpenWrt. I will flash it with OpenWrt once I get it and report CC results. Hopefully, I can reproduce @bagl0312 configuration with CC with success.
I am starting to understand the networking issues and configurations required. Everyone's help is appreciated. Thanks.
Bob Smith42 said:
This information was helpful. I read the manual. I will have to test the double-NATing with CC, e.g. issues with WAN accessing private vs public network IP as described in the manual. I found an inexpensive MWR222 to evaluate.
I suspect its wireless WAN mode will help, but when set in that mode it looks like it may not (guess) simultaneously have hotspot capability.
Click to expand...
Click to collapse
You wouldn't want hotspot capability if you are using it in WAN mode anyway since you will be using the Wireless internet connection from the location and not the data plan of your Cell Service.
Thats why you want the WAN/WISP option in the first place to stop from having to eat into your Data Allotment on your Cell Carrier account.
Asphyx said:
You wouldn't want hotspot capability if you are using it in WAN mode anyway since you will be using the Wireless internet connection from the location and not the data plan of your Cell Service.
Thats why you want the WAN/WISP option in the first place to stop from having to eat into your Data Allotment on your Cell Carrier account.
Click to expand...
Click to collapse
No. I need both, unless someone figures out another workaround (see below).
The CC has two requirements:
(1) connect to public IP (internet) for data, and
(2) connect to local IP (android devices, chrome on laptops, iphones, etc) for remote control and mirroring.
CC configurations issues with WiFi services offering access to public IP (internet) are:
(1) Both open or encrypted networks frequently have web page click-through requirements that CC cannot perform, and
(2) CC and connecting WiFi devices must connect point-to-point on the local IP network which is frequently blocked (AP isolation, etc).
I agree with you because I do not *want* a dual WiFi network solution, but I have found no alternatives so far. lol
We can engineer a dual WiFi network solution for sure, but it might be easier to address some of the core usability issues of the CC in some other (more clever) way. Some other workarounds might include combinations from (or may not be possible):
(1) Cloning MAC on CC to bypass click-through requirements.
(2) Add BT capability on CC. Overcome AP isolation on the local IP network using high bandwidth BT for remote control and screen mirroring.
(3) Add browser capability on CC for click-through, and mouse or touch control for CC.
(4) Clever method to defeat WiFi local IP network AP isolation between CC and devices.
(5) Others?
Hopefully someone is already working on better solutions.
Bob Smith42 said:
No. I need both, unless someone figures out another workaround (see below).
The CC has two requirements:
(1) connect to public IP (internet) for data, and
(2) connect to local IP (android devices, chrome on laptops, iphones, etc) for remote control and mirroring.
CC configurations issues with WiFi services offering access to public IP (internet) are:
(1) Both open or encrypted networks frequently have web page click-through requirements that CC cannot perform, and
(2) CC and connecting WiFi devices must connect point-to-point on the local IP network which is frequently blocked (AP isolation, etc).
I agree with you because I do not *want* a dual WiFi network solution, but I have found no alternatives so far. lol
We can engineer a dual WiFi network solution for sure, but it might be easier to address some of the core usability issues of the CC in some other (more clever) way. Some other workarounds might include combinations from (or may not be possible):
(1) Cloning MAC on CC to bypass click-through requirements.
(2) Add BT capability on CC. Overcome AP isolation on the local IP network using high bandwidth BT for remote control and screen mirroring.
(3) Add browser capability on CC for click-through, and mouse or touch control for CC.
(4) Clever method to defeat WiFi local IP network AP isolation between CC and devices.
(5) Others?
Hopefully someone is already working on better solutions.
Click to expand...
Click to collapse
But the Router will do the proper NAT Translation for you for the Internet access...
When the CCast asks for something from the internet it asks the portable router then the portable router will use the location WiFi to get it and then send it to the CCast.
The CCast doesn't need a public IP it only needs to be connected to a device that can get internet data.
what you do have to do however is use a different IP Range on the DHCP server of the portable router...
So if the Router gets an IP like 192.168.1.x from the WiFi you have to use a different set like 192.168.2.x for your DHCP server...
@Bob Smith42 's concern is valid, I didn't think about the fact that WLAN as WAN takes out the AP functionality. I just confirmed this.
So, really what we end up needing is still two devices - a wireless bridge to get wireless to wired - either a router in WISP mode or something like Cisco/Linksys WET610N (I keep laughing at the "Up to 300 Mbps" as it only has a 100 Mbps Ethernet port), and a router to provide the AP...
IMO, the "local WiFi" network really is the best way to go. It may seem redundant at times, but at least you can still do stuff if you have no WiFi, or WiFi is paid per-client (it's changing, but a number of hotels I've been at were like this).
As for other mechanisms, maybe the "Don't need to be on the same WiFi" feature that's coming will address this, but I don't think it will. Then again, I didn't think screen casting would happen on older hardware like my Galaxy S3, and it does (via MirrorEnabler), so maybe I'll be pleasantly proved wrong again.
bhiga said:
@Bob Smith42 's concern is valid, I didn't think about the fact that WLAN as WAN takes out the AP functionality. I just confirmed this.
Click to expand...
Click to collapse
Well then I stand corrected and have to add thats just bad design...You should be able to to simply connect the Portable to the WiFi and then use it as your Wireless AP for multiple devices otherwise what is the point of this WISP mode at all? Unless it is to turn Wireless into Wired only...
Google does have a solution to solve this in the pipeline...That Proximity streaming we talked about where you can stream to it over Cell data without being connected to the home network.
But thats just going to ring up data charges I would think.
Asphyx said:
what is the point of this WISP mode at all? Unless it is to turn Wireless into Wired only...
Click to expand...
Click to collapse
That's exactly what WISP is for. The MWR2xx series mainly takes a wired/wireless ISP connection and turns it into a wireless/wired connection with USB modem backup.
The MWR222 can also do wired-wired with USB failover since it has two Ethernet ports.
Given the age of the design I'm not sure the WiFi chip they use can operate as both client and AP simultaneously.
bump
Thread updated. TL-WR710N works 100% with CCast on all (tested so far) WiFi networks.
Bob Smith42 said:
bump
Thread updated. TL-WR710N works 100% with CCast on all (tested so far) WiFi networks.
Click to expand...
Click to collapse
Thats how I understood those Portable routers were supposed to work so you could add things like Portable Wireless printers all the while having internet access from configured Wireless APs...
Ok so I picked up this 710N router on Amazon since I had a gift certificate I needed to use and while the promise of this router seems to be there I'm having real issues getting it to work properly but part of that has to do with it really requires a WIRED Connection to set up properly.
It does seem to do what we would need in a Hotel but I have not been able to mimic that on this unit using my own router and I'm suspecting that maybe my Router is not supporting it or I'm just reading the settings wrong.
I'll keep trying here and see what it requires...I Might need to set up the guest network cause the issue might be the click through is not there or my regular router is set to NOT allow another AP to connect...Just got it today so I will continue to play with it.
Asphyx said:
Ok so I picked up this 710N router on Amazon since I had a gift certificate I needed to use and while the promise of this router seems to be there I'm having real issues getting it to work properly but part of that has to do with it really requires a WIRED Connection to set up properly.
It does seem to do what we would need in a Hotel but I have not been able to mimic that on this unit using my own router and I'm suspecting that maybe my Router is not supporting it or I'm just reading the settings wrong.
I'll keep trying here and see what it requires...I Might need to set up the guest network cause the issue might be the click through is not there or my regular router is set to NOT allow another AP to connect...Just got it today so I will continue to play with it.
Click to expand...
Click to collapse
Rest assured, it works great for me. E.g. when I was at Starbucks (requires click through, has AP isolation) I got CCast working with WISP on my private SSID. Testing a few corporate locations today. The CCast took a while to *finish* setup, it hung first time. So I pulled power and tried twice. Second time worked. Not very scientific, sorry. I definitely used my laptop to click through on Starbucks and I was wired during setup. I will attempt to run some configuration tests non-wired too (thanks for update). The big advantage of the 710N is inexpensive, if you have AC power source.
Also, I found another awesome portable router, better for CCast in my situation but also more expensive, e.g. $60 USD. I configured this one completely non-wired.
-----
UPDATE: The HooToo TM04 does *not* work on certain networks. Do Not Buy!!! Read below...
------
HooToo TM04 product webpage here, and amazon here. It is a really new item.
This item costs $60 USD on amazon. It has 6000 mah battery and without external power it can power two USB items (1) CCast plus second USB item (like phone, tablet, drive, pico projector, etc). Has two battery recharging modes: wall AC (faster) or microUsb. Lots of other features. Good review videos on YouTube here.
Good luck.
@Asphyx
# TL-WR710N
I configured my CCast on another network (so it required reconfiguration at Starbucks) and took it back to Starbucks. I plugged the TL-WR710N into AC power, without wiring anything on NIC WAN nor LAN, and waiting about 2 minutes. Since I had already configured the 710N for WISP mode it restarted in that mode. It was the *same* location I had previously configured WISP, so that probably helps. (I will test WISP on new location tonight).
At this point I tried CCast setup. I connected my Nexus 7 (2013) to the 710N WiFi SSID. Using the Nexus 7 I attempted to setup the CCast, and completed all the input configuration screens. But, the Setup screen *hangs* after confirming name and entering my WiFi SSID password. By hanging I mean the CCast app big circle keeps spinning and after about 5 minutes returns an error. But, this error is wrong because the CCast device is actually configured and working.
I must perform the Starbucks click-through on the Nexus 7 2013 to register the 710N MAC address to access the internet.
While the CCast app circle is spinning I switched to YouTube and it casts perfectly. Also, I can screen cast the Nexus 7 2013. I tried a couple tricks but the CCast app never successfully *completed* setup, yet the CCast device works 100%. Hmmmm.
# HooToo TM04
-----
UPDATE: The HooToo TM04 does *not* work on certain networks. Do Not Buy!!! Read below...
------
So, I substituted the HooToo TM04 at Starbucks. The configuration was completely wireless (never used NIC cables) and basically the CCast app setup completed successfully! All the CCast device features (YouTube internet cast, local Nexus 7 2013 screen cast) worked 100%. Very simple and smooth configuration with no glitches.
# Summary
The difference was only the CCast app setup result, The 710N *hangs* with a spinning circle and eventually returns an error dialog, but the CCast device is configured and working 100%. The HooToo completes setup correctly, and CCast device is configured and working 100%.
I am now wondering if there is a setting on the TL-WR710N required to allow CCast app setup to complete successfully (even though the CCast device is configured and working)?
I will test further. Any comments or feedback requested.
Bob Smith42 said:
@Asphyx
# TL-WR710N
...
But, the Setup screen *hangs* after confirming name and entering my WiFi SSID password. By hanging I mean the CCast app big circle keeps spinning and after about 5 minutes returns an error. But, this error is wrong because the CCast device is actually configured and working.
Click to expand...
Click to collapse
Chromecast setup app has done the same to me a few times - and that's on my home WiFi that works fine.
I wouldn't worry about it too much, I think it's just some kind of timing glitch.
As long as exiting and returning to the Chromecast setup app reports Ready to Cast and Chromecast works, it's good to go.
Oh I'm sure it does work Bob, I'm just missing something and what makes it worse is I was trying to do this all through Wireless and a mobile device which this unit is difficult to setup with.
I set up WISP mode but the issue is on reboot it didn't give me an SSID to reconnect.
I'm sure I'm just borking something in the settings so when I have the chance to do this all via wired connection I will play with it a bit more...

Casting screen to "ChromecastName" has ended

I recently got a Galaxy S5 and realized that it's one of devices allowed to cast its screen to Chromecast. I installed the lastest ChromeCast app on my rooted S5 running stock Android 4.4.2 and as expected the Cast Screen option on the Chromecast app was available. My Chromecast dongle is running firmware 19084 and both the S5 and the Chromecast dongle are connected to the same SSID in my wireless network. My S5 is rooted, but my Chromecast dongle is not. I'm able to cast content from the Youtube App and other apps from the S5 and from other devices in my LAN without any issues. I just can't get the Screen Cast function of my S5 to work. I keep getting a toast notification that reads "Casting screen to (Chromecastname) has ended" every time I press the Cast Screen button.. After pressing Cast Screen in the S5 the screen of TV sometimes goes black, but during other attempts the Chromecast screen saver remains. I have factory reset and reconfigured the Chromecast dongle, uninstalled and re-installed the app, and cleared the data for the apps as suggested in other forums, but no dice. Given that my old rooted Galaxy S3 is not listed as a supported device, I decided to modify it and use it for testing. I installed #MirrowEnabler V6 (Experimental) to enable the Screen Cast option in the Chromecast App on the S3. The enabler activates the option, but when I try Screen Cast it fails with the same subject error. Is Screen Cast supported from rooted devices? I also have a couple Xposed Framework modules installed, can one of these be causing the problem? What Am I missing?
I have the same problem I'm trying to cast from an LG g2and I have the exact same sympton hope the one you described.
I'm running Android 4.4.2 also my device is rooted but the chromecast is not.
tamanaco said:
I'm able to cast content from the Youtube App and other apps from the S5 and from other devices in my LAN without any issues. I just can't get the Screen Cast function of my S5 to work. I keep getting a toast notification that reads "Casting screen to (Chromecastname) has ended" every time I press the Cast Screen button.
Click to expand...
Click to collapse
Those symptoms can be caused by poor WiFi reception on the Chromecast. I get the same on my CCs that have weak signal.
"Optimized" streaming services/applications like YouTube, can compensate for a slow connection by switching to a lower-bandwidth version of the stream. Screen-casting, however, runs at a high rate, and if your Chromecast's connection can't maintain that rate, you'll get black screens, frozen playback, image breakup, drops back to the backdrop/wallpaper, and even temporary Chromecast disconnect.
speed4cast can help you measure the connection speed, so you can try different things like using an HDMI extender (recommended), other HDMI ports, reorienting/repositioning your router, or using a 2.4GHz WiFi extender/repeater.
bhiga said:
speed4cast can help you measure the connection speed, so you can try different things like using an HDMI extender (recommended), other HDMI ports, reorienting/repositioning your router, or using a 2.4GHz WiFi extender/repeater.
Click to expand...
Click to collapse
Thanks for pointing me to that Chromecast speed measuring tool... I'm about to install it on my SGS5 to test. In terms of performance, what are the recommended speed ranges for Download and Upload for "optimal" Screen-casting from a mobile device connected to the same wireless LAN as the Chromecast? My Chromescast is very close to my Netgear N900 router, but it's connected to a HDMI port on the back of the TV.
My CC that works well for screen casting is reporting 8 Mbps down, 4 Mbps up.
Another CC that's working fairly well for screen casing is reporting 7 Mbps down, 2 Mbps up.
My CC that does what you describes and pretty much can't screen cast except for a few stills is reporting 1.75 Mbps down and 1 Mbps up.
Today it seems to be screen casting without dropping off, but it's choppy and blocky at times. In the past I've had it do what you describe, but I think my repeater wasn't online then. I'd try disabling my repeater but it's in a difficult-to-access location.
bhiga said:
My CC that works well for screen casting is reporting 8 Mbps down, 4 Mbps up.
Another CC that's working fairly well for screen casing is reporting 7 Mbps down, 2 Mbps up.
My CC that does what you describes and pretty much can't screen cast except for a few stills is reporting 1.75 Mbps down and 1 Mbps up.
Today it seems to be screen casting without dropping off, but it's choppy and blocky at times. In the past I've had it do what you describe, but I think my repeater wasn't online then. I'd try disabling my repeater but it's in a difficult-to-access location.
Click to expand...
Click to collapse
Now I think I get it... maybe? When I cast the screen from a mobile device from the LAN the casting still depends on the download/upload speeds of my Internet connection to/from the CC. Just like regular casting from say... youtube. Even while the screen cast content is coming from mobile device connected to the LAN to a Chromecast dongle connected to the same LAN... the screen cast content is also routed via the Internet? Am I making the right assumption here?
tamanaco said:
Now I think I get it... maybe? When I cast the screen from a mobile device from the LAN the casting still depends on the download/upload speeds of my Internet connection to/from the CC.
Click to expand...
Click to collapse
The data isn't routed through the Internet, but the quality of wireless connection between your Chromecast and other devices like your router is critical. I'm not sure if it's different in other scenarios but with my S5 and Chromecast both connected to the same router the data does seem to go through the router, rather than WiFi Direct like Miracast.
bhiga said:
The data isn't routed through the Internet, but the quality of wireless connection between your Chromecast and other devices like your router is critical. I'm not sure if it's different in other scenarios but with my S5 and Chromecast both connected to the same router the data does seem to go through the router, rather than WiFi Direct like Miracast.
Click to expand...
Click to collapse
I believe the quality of the connections and the performance of my wireless LAN is good. The speed4cast tools appears to measure "Internet" connection speed... not WiFi connection speed. It appears to measure the speed performance from either the Android mobile device and the CC or the CC and the Internet. The performance when I stream HD media to/from all my other wireless devices is fine. I made sure to turn off all the other wireless devices when I was testing the CC with speed4cast and when I attempt to cast the screen of my SGS5. My LAN wireless speed is more than adequate. Copying files from my WiFi connected laptop to my wired attached NAS averages 25-35MB/s. The upload speed to the Internet is low... about 1MB, but my down speed is about 10MB. My SGS5 works fine with all other devices on my LAN while connected to the 5,0GHz side of my router. I even tried connecting the SGS5 to the 2.4GHz side of the router where the CC is also connected, but this made no difference. My wireless connected laptop, Vudu Box and Samsung Smart TV play HD streams from the Internet without any issues. I can also stream HD (1080i) YouTube videos from the SGS5 or laptop to the CC without a glitch. If the SGS5 Screen Cast media stream or control protocol(s) aren't being routed through the Internet then something else has to be at play here because the only bottleneck I can identify in my network is the 1MB Internet upload speed.
tamanaco said:
I believe the quality of the connections and the performance of my wireless LAN is good. The speed4cast tools appears to measure "Internet" connection speed... not WiFi connection speed. It appears to measure the speed performance from either the Android mobile device and the CC or the CC and the Internet. The performance when I stream HD media to/from all my other wireless devices is fine. I made sure to turn off all the other wireless devices when I was testing the CC with speed4cast and when I attempt to cast the screen of my SGS5. My LAN wireless speed is more than adequate. Copying files from my WiFi connected laptop to my wired attached NAS averages 25-35MB/s. The upload speed to the Internet is low... about 1MB, but my down speed is about 10MB. My SGS5 works fine with all other devices on my LAN while connected to the 5,0GHz side of my router. I even tried connecting the SGS5 to the 2.4GHz side of the router where the CC is also connected, but this made no difference. My wireless connected laptop, Vudu Box and Samsung Smart TV play HD streams from the Internet without any issues. I can also stream HD (1080i) YouTube videos from the SGS5 or laptop to the CC without a glitch. If the SGS5 Screen Cast media stream or control protocol(s) aren't being routed through the Internet then something else has to be at play here because the only bottleneck I can identify in my network is the 1MB Internet upload speed.
Click to expand...
Click to collapse
Yes, speed4cast measures the speed between Chromecast and the Internet, but you cannot measure the Internet connection speed independently from the wireless connection on Chromecast, because the Internet traffic is flowing through the wireless connection.
So, if the reported upload/download speed is anything LESS than your Internet connection speed, then the Wireless connection* is slowing things down and the reported Internet connection speed is really your wireless connection speed.
For example, I have 50 Mbps down, 20 Mbps up. If I do an Internet speed test on a computer, I see 40+ Mbps down speed.
Yet, my Chromecast is only 8 Mbps down?
If I do the same test on my phone connected at 2.4 GHz I get much better results.
So, the wireless connection between the router and my Chromecast is limiting its transfer speed.
* if your wireless AP is not your router or there are other network segments between the Internet connection and the AP, they may be causing the slowdown instead of the WiFi connection. Also, if your router/AP is slow, the wireless devices may be connected at a high rate, but transfer to/from will never reach the maximum because the router/AP is slowing things down.
Checking the wireless speeds on your other devices doesn't mean anything because those other devices are not where your Chromecast. The closest you can get is maybe to put your phone/tablet as where Chromecast is, which is usually right up against the back of the TV. You're almost guaranteed to notice the speed will drop significantly.
As I mentioned earlier, tests with dedicated streaming video services like YouTube, Hulu, etc will not give you an idea of your wireless transfer speed unless they provide visual feedback for the connection quality.
They are designed to transparently handle a wide range of connection speeds, unlike screen casting which essentially says "I need this much bandwidth, or it's not going to work correctly."
If you have Netflix, you can try their speed test video.
This article talks about it. Note that on my Chromecasts with optimal wireless, I get up to 5300 kbps which appears to be the max.
On suboptimal wireless I get far less.
http://www.wired.com/2014/06/netflix-streaming-test/
Given your other devices have good WiFi performance, at least we can rule out your router slowing things down.
Your phone may be able to send data to the AP very quickly, but if Chromecast cannot receive that data fast enough because it has a poor wireless connection, then that doesn't help.
The data flow for screen casting is this:
Phone/Tablet <--A--> AP/router <--B--> Chromecast
Segment A is great, but segment B is what is suspect. Only hard numbers will tell.
speed4cast measures
Internet <--C--> AP/router <--B--> Chromecast
And you've already said your Internet speed is more than adequate (it should be unless you're on public/hotel connection, dialup, ISDN or repeating another WiFi connection).
B is the common part, and eliminating C, speed4cast will give us a measurement of B.
So run speed4cast on your Chromecast and tell us what it says on the screen.
If it confirms that your Chromecast has a good bandwidth connection, then it's something else in play. But in most cases interference from the TV makes Chromecast have less than optimal wireless speeds, and that's why you see some people complaining about streaming quality, because the streaming server is downgrading the bitrate (and hence quality) to compensate.
Screen casting doesn't do that, so if your Chromecast's wireless connection can't sustain the required speed you'll get blockiness, low framerate, jumps, or disconnection.
bhiga said:
Yes, speed4cast measures the speed between Chromecast and the Internet, but you cannot measure the Internet connection speed independently from the wireless connection on Chromecast, because the Internet traffic is flowing through the wireless connection.
So, if the reported upload/download speed is anything LESS than your Internet connection speed, then the Wireless connection* is slowing things down and the reported Internet connection speed is really your wireless connection speed.
For example, I have 50 Mbps down, 20 Mbps up. If I do an Internet speed test on a computer, I see 40+ Mbps down speed.
Yet, my Chromecast is only 8 Mbps down?
If I do the same test on my phone connected at 2.4 GHz I get much better results.
So, the wireless connection between the router and my Chromecast is limiting its transfer speed.
* if your wireless AP is not your router or there are other network segments between the Internet connection and the AP, they may be causing the slowdown instead of the WiFi connection. Also, if your router/AP is slow, the wireless devices may be connected at a high rate, but transfer to/from will never reach the maximum because the router/AP is slowing things down.
Checking the wireless speeds on your other devices doesn't mean anything because those other devices are not where your Chromecast. The closest you can get is maybe to put your phone/tablet as where Chromecast is, which is usually right up against the back of the TV. You're almost guaranteed to notice the speed will drop significantly.
As I mentioned earlier, tests with dedicated streaming video services like YouTube, Hulu, etc will not give you an idea of your wireless transfer speed unless they provide visual feedback for the connection quality.
They are designed to transparently handle a wide range of connection speeds, unlike screen casting which essentially says "I need this much bandwidth, or it's not going to work correctly."
If you have Netflix, you can try their speed test video.
This article talks about it. Note that on my Chromecasts with optimal wireless, I get up to 5300 kbps which appears to be the max.
On suboptimal wireless I get far less.
http://www.wired.com/2014/06/netflix-streaming-test/
Given your other devices have good WiFi performance, at least we can rule out your router slowing things down.
Your phone may be able to send data to the AP very quickly, but if Chromecast cannot receive that data fast enough because it has a poor wireless connection, then that doesn't help.
The data flow for screen casting is this:
Phone/Tablet <--A--> AP/router <--B--> Chromecast
Segment A is great, but segment B is what is suspect. Only hard numbers will tell.
speed4cast measures
Internet <--C--> AP/router <--B--> Chromecast
And you've already said your Internet speed is more than adequate (it should be unless you're on public/hotel connection, dialup, ISDN or repeating another WiFi connection).
B is the common part, and eliminating C, speed4cast will give us a measurement of B.
So run speed4cast on your Chromecast and tell us what it says on the screen.
If it confirms that your Chromecast has a good bandwidth connection, then it's something else in play. But in most cases interference from the TV makes Chromecast have less than optimal wireless speeds, and that's why you see some people complaining about streaming quality, because the streaming server is downgrading the bitrate (and hence quality) to compensate.
Screen casting doesn't do that, so if your Chromecast's wireless connection can't sustain the required speed you'll get blockiness, low framerate, jumps, or disconnection.
Click to expand...
Click to collapse
I could be wrong, but I still believe that "something" is being routed (uploaded) to the Internet and down to the CC. I guess I was not clear before, but the up/down speeds that I posted (1MB up -10MB down) were the numbers that the speed4cast tool reported from the CC. That's the reason I suspected the up link to the Internet was causing the problem in the first place as those numbers are the same numbers I get when I run Internet speed test from my laptop and from any mobile devices connected via WiFi. Intel PROSet also reports excellent signal quality (300.0 Mbps) when I put my laptop next to the CC. If I put my old SGS3 right next to the CC behind the TV... I can stream HD video using UPNP/DLNA media server and client in both directions while connected to the wireless network via the same AP of the router. I get no blockiness, low framerate, jumps or disconnection when streaming to/from my SGS5 to my SGS3. So, the wireless connection in segment B is fine (router <--B-- > CC). If there was a WiFi connectivity issue in this specific segment then I would experience the blockiness, low framerate, jumps and disconnection when streaming HD video to the CC using the Youtube app from my SGS5. There are no other network segments only one Router with 4 Gig Ports connected to devices that I turn off along with all the other devices that are connected via WiFi to avoid any conflicts/interference during my test.
Ah okay.
I don't think there's communication beyond downloading whatever bits are required for screen casting (the app itself).
And if your other devices are reporting the same up speed then your CC doesn't sound like it's being hampered by the wireless connection itself.
What carrier is your S5? Mine is AT&T and works well.
Is your native screen mirroring enabled? (Mine is)
In some cases it can enable/disable things that help or hurt the Chromecast mirroring.
Screen Casting now works with the new Chromecast App (v1.9.7) on my Nexus 7 running Lollipop 5.0.1. The N7 used to give me the same casting has ended error with prior versions of the app. But... it works fine until you want to disconnect from the casting session. I can not disconnect or try exiting the the app without hanging the N7. Oh well... This function is not mission critical for me anyway.
I still get the casting has ended error from my SGS5 and SGS3 using the same version of the app on KitKat 4.4.2. I guess now I can say with a high degree of certainty that the issue is not with my LAN setup or WiFi performance. There's still something else at play. I few days ago I noticed that the latest version of Speed4Cast (1.02) did not work with any of my devices. Once I updated Google Play Services to version 6.5.99 Speed4Cast started working again on all my devices. I think some authentication needs to happen between the casting device and some Google server... when this connection/authentication fails or is flaky there are issues casting the screen from the device.

[Q] Chromecast setup problems.

So, I'm setting up my new chromecast, but have have run into a problem. I'm able to find and connect my phone/PC to the chromecast itself, but it won't connect to my home (setup hangs at "connecting"). After a while I get an error message a la "can not establish contact with chromecast" (roughly translated from Norwegian). I've made sure uPnP and MAC address filtering both are disabled on my router.*I've already tried factory resetting the chromecast and moving closer to the router, to no help.
Worth mentioning is that my router is not exactly new (tilgin vood something), and is not to be found in the list of routers in the chromecast support section.*
Any tips?
olfyboy said:
So, I'm setting up my new chromecast, but have have run into a problem. I'm able to find and connect my phone/PC to the chromecast itself, but it won't connect to my home (setup hangs at "connecting"). After a while I get an error message a la "can not establish contact with chromecast" (roughly translated from Norwegian). I've made sure uPnP and MAC address filtering both are disabled on my router.*I've already tried factory resetting the chromecast and moving closer to the router, to no help.
Worth mentioning is that my router is not exactly new (tilgin vood something), and is not to be found in the list of routers in the chromecast support section.*
Any tips?
Click to expand...
Click to collapse
Try reducing the number of units that are connected to the wireless router and try connecting with the CCast again...Sometime on some cheaper routers too many devices connected will prevent new devices from connecting.
You can also try rebooting the router or try moving the CCast closer.
I do assume you have a Dual Band Wireless N router with the 2.4Ghz band enabled. CCast only connects to 2.4Ghz band.
Asphyx said:
Try reducing the number of units that are connected to the wireless router and try connecting with the CCast again...Sometime on some cheaper routers too many devices connected will prevent new devices from connecting.
You can also try rebooting the router or try moving the CCast closer.
I do assume you have a Dual Band Wireless N router with the 2.4Ghz band enabled. CCast only connects to 2.4Ghz band.
Click to expand...
Click to collapse
Normally there's no more than 2-3 devices connected to the router at the same time, so a lack of available connections to the router shouldn't be a problem. Both 2.4 and 5 Ghz bands are enabled on the router, so that shouldn't be a problem either. Moving the chromecast closer to the router didn't make a difference either. I'm really not sure what's the problem here...Thanks for the reply, though!
Is it simultaneous dual band? I mean does it run both bands on the same network or does it effectively run 2 networks? Simultaneous will work best, but if it isn't you need to make sure that the router allows both networks to speak to each other.

Categories

Resources