Stuttering when casting screen on Nexus 4 - Google Chromecast

My Nexus 4 is stock and not rooted. No matter what I do on my phone or how close I'm to my router (I've tried with the phone and CC one meter from the router - Linksys WRT54GL) the same happens - video and audio both stutter constantly. One TV and one monitor I've tried on are both full HD, another TV is 1366x768. Other apps on the Phone work fine and I don't have problems casting the screen of my laptop.
Any ideas?

most likely your router is the issue. too much bandwidth congestion on 54Mbps channel pushing both streaming and mirroring content simultaneously.

e.lopez said:
most likely your router is the issue. too much bandwidth congestion on 54Mbps channel pushing both streaming and mirroring content simultaneously.
Click to expand...
Click to collapse
Well, this happens even when I'm playing content that is on my phone, or even when I'm playing around in the launcher.

might try optimizing your preferred channels with inssider. i've found that this helps with my screen mirroring performance.

Most likely it's simply insufficient wireless bandwidth especially if you're playing streaming stuff from the Internet because then wireless traffic = stream from AP to phone/tablet + screen mirroring data from phone/tablet to AP + screen mirroring data from AP to Chromecast
Nearby 2.4 GHz interference is probably contributing as well.
See WiFi Router and Bandwidth Considerations for an idea of how the WiFi traffic quickly multiplies.

Ok, so I got "inSSIDer Wi-Fi Helper" and used it to find a less crowded channel. Here are the results: http://imgur.com/e8UjVe0
After doing this I casted the screen - the interface was still stuttering and then I played an SD video from my phone using MX player - still unwatchable. Any other suggestions?
Edit: Holy crap, I went into Settings > Display > Cast screen, tapped the 3 dots menu and checked Enable Wireless Display. Casting is smooth as butter. What did I just do?

Sounds like without the screen mirroring optimizations it was resorting to brute force like mirror4cast does.

Related

WiFi Bandwidth and Router considerations

Because Chromecast communicates solely via WiFi, the minimum sustained wireless bandwidth is critical for streaming quality.
This is usually not a problem for "normal" Chromecast applications that pull streams from the Internet - those services are designed to adapt to and scale with the available connection speed.
Content streaming from local devices is a different scenario altogether.
Chromecast doesn't necessarily work the same as traditional set-top media players (Apple TV, WDTV, Roku, etc) when streaming media from your phone/tablet/computer (device-local) and LAN-based (from a server) media can consume more bandwidth than you would expect.
Depending on where the media is located and how it is being sent to Chromecast, up to 3x the media's bitrate may be consumed (and required) on the WiFi network. If you have high bitrate media, this can easily overload an 802.11g connection or even an 802.11n connection.
Keep in mind that connection speed is not constant, and is limited by both your environment and your router.
Other nearby WiFi devices can cause interference, and the 2.4 GHz wireless band that Chromecast uses is "crowded" with many devices like cordless telephones and microwave ovens using overlapping frequencies.
Also, routers vary in the wireless speeds they can maintain. Just because you have a 802.11n 150 Mbps connection, that does not mean your router can truly sustain 150 Mbps throughput.
Better routers advertise use cases for "HD streaming" and have Gigabit LAN ports rather than 100 Mbps LAN ports found on cheaper models.
Just like a Gigabit Ethernet USB 2.0 adapter will never reach full Gigabit speed due the USB 2.0 bottleneck (480 Mbps), cheaper routers often are limited by their internal processor's lack of forwarding speed.
See the attachments for use examples and how the required bandwidth can multiply: Note that the 10 Mbps figure is just an example.
Standard Internet stream example
YouTube, Hulu Plus, HBO Go, VEVO, etc use this methodology
Direct stream from LAN storage example
Plex (from a local Plex server) and fling (from a desktop) work this way. Desktop and Tab casting from Chrome also uses this data flow.
Data is sent from the LAN device via WiFi
Chromecast receives data from the LAN device via WiFi
Streaming from wireless device storage example
Casting content stored on the device (device-local) from Avia or RealPlayer Cloud use this method.
Data is sent from the casting device via WiFi to Chromecast
Chromecast receives data via WiFi
Forwarding from LAN storage example
Casting content stored on a LAN device (DLNA, network share, etc) from Avia uses this method.
Data is sent from the LAN device to casting device running Avia via WiFi
Data is sent from the casting device running Avia via WiFi to Chromecast - this is the forwarding piece, data travels through
Chromecast receives data via WiFi
To optimize available bandwidth for Chromecast:
Use an 802.11n dual-band router and put your other wireless devices on the 5 GHz access point whenever possible
or use a separate WiFi access point connected to the wired network for Chromecast
Use wired connections for cast sources (server/desktop/laptop) wherever possible
Reencode high-bitrate media to lower bitrate (4 Mbps should be fine for most use)
Optimize Chromecast's ability to get a stable WiFi signal - move it away from the TV using the HDMI extender or an HDMI extension cable
and/or move your router so it's closer to Chromecast (but not too close - too close can get into a "drowned in the noise" situation)
Great Post this deserves a Pin!
One big thing a lot of people don't realize is that wireless is half duplex...
If you have 2 devices on the same wireless network transferring data between each other, they will do so at half the speed, because only one device can talk at a time.
Say for example you have a PC wired to your router, and another PC on wireless.. You can copy a file between these computers at around 6MB/sec. Now you take the wired PC and connect it to the same wireless network instead. You will notice your copy speed is now around 3MB/sec.
If you are utilizing a wireless repeater to connect any of your devices to your wifi network, those connected to the repeater will experience the same halving of speed as well.
This is why having your local media source on a different band or wired helps so much.
stevewm said:
One big thing a lot of people don't realize is that wireless is half duplex...
If you have 2 devices on the same wireless network transferring data between each other, they will do so at half the speed, because only one device can talk at a time.
Say for example you have a PC wired to your router, and another PC on wireless.. You can copy a file between these computers at around 6MB/sec. Now you take the wired PC and connect it to the same wireless network instead. You will notice your copy speed is now around 3MB/sec.
If you are utilizing a wireless repeater to connect any of your devices to your wifi network, those connected to the repeater will experience the same halving of speed as well.
This is why having your local media source on a different band or wired helps so much.
Click to expand...
Click to collapse
Here's a scenario I would appreciate your comment on:
I have a bridge that connects to my main router. The media source (laptop) is connected direct to the bridge which is in the living room with my CC, the CC is wireless to the bridge. Will the distance the bridge is from the main router come into play if doing local media?
sherdog16 said:
Here's a scenario I would appreciate your comment on:
I have a bridge that connects to my main router. The media source (laptop) is connected direct to the bridge which is in the living room with my CC, the CC is wireless to the bridge. Will the distance the bridge is from the main router come into play if doing local media?
Click to expand...
Click to collapse
It shouldn't.... Unless the run to the main router is abnormally long.
My current setup has my plex server across the house from my TV room. Two out of three routers are upstairs and one is in the room with my plex server. All but one router is set up as access points. The distance combined between the three routers is roughly 200 feet. The distance is split between the three. Then roughly 25 feet from the closest router to the ccast. I have no more noticeable lag in the TV room than using the ccast in the back bedroom that the plex server is in.
I am sure if I was going to ping test this I would have a higher latency the further away it goes.... But like I said to real world use I can't tell it slows it down.
Sent from my Nexus 5 using Tapatalk
rans0m00 said:
I am sure if I was going to ping test this I would have a higher latency the further away it goes.... But like I said to real world use I can't tell it slows it down.
Click to expand...
Click to collapse
Exactly that. For home use, distance of wired connections doesn't matter much, as long as it's within specs and packets aren't being lost.
Distances for wireless connections, on the other hand, make a huge difference both in terms of latency and sustained transfer speed (bandwidth).
I've noticed that video casted from a tab is barely smooth at 480p. I am upstreaming at approx 150kbps.
When I try 720p, it struggles at 300kbps dropping to 150 alot. Using "extreme" it about the same rate but more choppy.
I have a N network with my laptop connected at 300M. I can usually transfer files around 3-6Mbps.
I'm a little confused why with chromcast, I can barely maintain 150kbps. Even if you multiply by 3, I'm not getting over 1mbps.
enricong said:
I've noticed that video casted from a tab is barely smooth at 480p. I am upstreaming at approx 150kbps.
When I try 720p, it struggles at 300kbps dropping to 150 alot. Using "extreme" it about the same rate but more choppy.
I have a N network with my laptop connected at 300M. I can usually transfer files around 3-6Mbps.
I'm a little confused why with chromcast, I can barely maintain 150kbps. Even if you multiply by 3, I'm not getting over 1mbps.
Click to expand...
Click to collapse
It's likely not a wireless connection issue but rather a processing limitation on the computer you're casting from.
I just casted a 480p tab of full-tab video and my network utilization ranged from about 1.25 Mbps to bursts of 12 Mbps. The average was around 2-3 Mbps. What's the CPU utilization look like when you're casting?
Do other Chromecast apps like YouTube work okay with 720p or 1080p videos?
bhiga said:
It's likely not a wireless connection issue but rather a processing limitation on the computer you're casting from.
I just casted a 480p tab of full-tab video and my network utilization ranged from about 1.25 Mbps to bursts of 12 Mbps. The average was around 2-3 Mbps. What's the CPU utilization look like when you're casting?
Do other Chromecast apps like YouTube work okay with 720p or 1080p videos?
Click to expand...
Click to collapse
CPU is an i5-2520M. Utilization is only around 20-30%. I've tried with and without Nvidia GPU.
Youtube seems ok at 720 and 1080, however, I thought that youtube videos get streamed directly to chromcast vs the laptop.
Also, when I stream a youtube video, I have no idea if chromecast sticks with my browser setting or figures out its own quality setting based on bandwidth. I thought it was the later.
Are you using regular Chrome, or Chrome Canary?
enricong said:
CPU is an i5-2520M. Utilization is only around 20-30%. I've tried with and without Nvidia GPU.
Youtube seems ok at 720 and 1080, however, I thought that youtube videos get streamed directly to chromcast vs the laptop.
Also, when I stream a youtube video, I have no idea if chromecast sticks with my browser setting or figures out its own quality setting based on bandwidth. I thought it was the later.
Are you using regular Chrome, or Chrome Canary?
Click to expand...
Click to collapse
Interesting... You're correct that YouTube grabs the stream directly and determines the best settings. But if you have a 1080p TV and YouTube is pulling a 480p stream, it'll definitely be noticeable - especially on things like text.
My Chrome is Version 32.0.1700.107 m
and Google Cast Extension is 14.123.1.4
My system is relatively old, but it was a powerhouse in its day and still fine for what I do with it.
Windows 7 Professional 64-bit
Dual Quad-Core AMD Opteron 8389 2.9 GHz
32 GB RAM
AMD Radeon HD 7750​
bhiga said:
Interesting... You're correct that YouTube grabs the stream directly and determines the best settings. But if you have a 1080p TV and YouTube is pulling a 480p stream, it'll definitely be noticeable - especially on things like text.
My Chrome is Version 32.0.1700.107 m
and Google Cast Extension is 14.123.1.4
My system is relatively old, but it was a powerhouse in its day and still fine for what I do with it.
Windows 7 Professional 64-bit
Dual Quad-Core AMD Opteron 8389 2.9 GHz
32 GB RAM
AMD Radeon HD 7750​
Click to expand...
Click to collapse
I'm running 35.0.1840.2 of Chrome and 14.123.1.5 of the extension.
I just tried installing regular chrome and had the same results.
your computer is def more powerful than mine, but I don't think thats the issue with such a low cpu utilization.
enricong said:
I'm running 35.0.1840.2 of Chrome and 14.123.1.5 of the extension.
I just tried installing regular chrome and had the same results.
your computer is def more powerful than mine, but I don't think thats the issue with such a low cpu utilization.
Click to expand...
Click to collapse
Weird... do you have the Automatically resize the browser to best fit the receiver screen when casting a tab option enabled? That should provide lowest impact as it should eliminate the need to scale.
Does it make a difference if your laptop is plugged into wall power, or on a wired instead of wireless connection?
bhiga said:
Weird... do you have the Automatically resize the browser to best fit the receiver screen when casting a tab option enabled? That should provide lowest impact as it should eliminate the need to scale.
Does it make a difference if your laptop is plugged into wall power, or on a wired instead of wireless connection?
Click to expand...
Click to collapse
ok, I just tried the wired connection and got some results. on 480p I got 150kbps, 720p got 300kbps, and extreme got around 600kbps.
720 and above started looking a little choppy. Picture Quality even at extreme was quite poor.
enricong said:
ok, I just tried the wired connection and got some results. on 480p I got 150kbps, 720p got 300kbps, and extreme got around 600kbps.
720 and above started looking a little choppy. Picture Quality even at extreme was quite poor.
Click to expand...
Click to collapse
My CPU load jumps about 15-20% when casting too, so that seems in-line.
Weird, it's almost like something in Windows is throttling something...
You don't have some kind of third-party firewall or anything, do you?
If you're using the Windows Firewall, check the Advanced Settings for Inbound and Outbound rules on Wireless Portable Devices. My rules for those are disabled, but some folks have reported toggling them helped.
bhiga said:
My CPU load jumps about 15-20% when casting too, so that seems in-line.
Weird, it's almost like something in Windows is throttling something...
You don't have some kind of third-party firewall or anything, do you?
If you're using the Windows Firewall, check the Advanced Settings for Inbound and Outbound rules on Wireless Portable Devices. My rules for those are disabled, but some folks have reported toggling them helped.
Click to expand...
Click to collapse
I have Avast which has some network protection
Tried toggling the settings in Windows firewall
I even tried disabling the firewall and anti-virus completely.
no difference
enricong said:
I have Avast which has some network protection
Tried toggling the settings in Windows firewall
I even tried disabling the firewall and anti-virus completely.
no difference
Click to expand...
Click to collapse
Only other thing I can think of is to try unbinding Avast's network filter from the network interface (Properties the device itself and try un-checking any extra computer-looking icons) and trying it, often times disabling the firewall doesn't fully disable the network filter.
bhiga said:
It's likely not a wireless connection issue but rather a processing limitation on the computer you're casting from.
I just casted a 480p tab of full-tab video and my network utilization ranged from about 1.25 Mbps to bursts of 12 Mbps. The average was around 2-3 Mbps. What's the CPU utilization look like when you're casting?
Do other Chromecast apps like YouTube work okay with 720p or 1080p videos?
Click to expand...
Click to collapse
Just to clarify, are you referring to BITS or BYTES?
I refer to bytes, 150kbytes/sec = approx 1mbit/sec
enricong said:
Just to clarify, are you referring to BITS or BYTES?
I refer to bytes, 150kbytes/sec = approx 1mbit/sec
Click to expand...
Click to collapse
I'm usually pretty careful about MB (Megabytes) vs Mb (Megabits) so I'm referring to megabits. so divide my figures by 8 for bytes.
bhiga said:
I'm usually pretty careful about MB (Megabytes) vs Mb (Megabits) so I'm referring to megabits. so divide my figures by 8 for bytes.
Click to expand...
Click to collapse
well, even with bits, you're still faster than me.
I submitted a support ticket to google. still trying to get through the general "is it plugged in?" questions.
enricong said:
well, even with bits, you're still faster than me.
I submitted a support ticket to google. still trying to get through the general "is it plugged in?" questions.
Click to expand...
Click to collapse
Yeah, it took me 2 or 3 rounds to get past the basics... Please keep us updated on what you find out.

ChromeCast Audio Only, No Video

Hi All,
Just got my chromecast a week ago, initially working fine casting my chrome tab via twitch and etc.. currently only able to get static display with audio running, or totally black screen with audio only if casting from chrome tab.. tried mirror phone, works fine.. any idea what went wrong? didn't do any setting changes or etc..
Update: Even via youtube, Click cast via the youtube tab will trigger my TV to the youtube app, but not playing anything, it just says "play youtube from android or laptop to view it on TV", even tried mirroring a webpage with text, either it goes full black screen, or just a static "screenshot" of the page.. tried with my phone, working like normal such as youtube, screen mirror and etc. Is my ChromeCast broken?
- JaY - said:
Hi All,
Just got my chromecast a week ago, initially working fine casting my chrome tab via twitch and etc.. currently only able to get static display with audio running, or totally black screen with audio only if casting from chrome tab.. tried mirror phone, works fine.. any idea what went wrong? didn't do any setting changes or etc..
Update: Even via youtube, Click cast via the youtube tab will trigger my TV to the youtube app, but not playing anything, it just says "play youtube from android or laptop to view it on TV", even tried mirroring a webpage with text, either it goes full black screen, or just a static "screenshot" of the page.. tried with my phone, working like normal such as youtube, screen mirror and etc. Is my ChromeCast broken?
Click to expand...
Click to collapse
Anyone kind to help?
You aren't using any VPN or DNS masquerading services to access content from outside of your country, are you?
It could also be your WiFi signal isn't as good as it used to be. Check for nearby APs on same/neighboring channels and try switching.
bhiga said:
You aren't using any VPN or DNS masquerading services to access content from outside of your country, are you?
It could also be your WiFi signal isn't as good as it used to be. Check for nearby APs on same/neighboring channels and try switching.
Click to expand...
Click to collapse
definitely no.. as i've used another much lower spec (Intel Celeron) laptop to try casting on the same network and it works flawlessly.. on the other hand, my much powerful PC just stuck there. Tried updating GC (ATI Radeon without switchable graphics), and even reinstalled chrome and the extension. Still doesn't work..
- JaY - said:
definitely no.. as i've used another much lower spec (Intel Celeron) laptop to try casting on the same network and it works flawlessly.. on the other hand, my much powerful PC just stuck there. Tried updating GC (ATI Radeon without switchable graphics), and even reinstalled chrome and the extension. Still doesn't work..
Click to expand...
Click to collapse
Is your more-powerful PC on a wired or wireless connection? It's possible there's some fault in your router's wired-wireless bridging that's causing issue.
Mine still works, but casting the entire desktop seems not to mute the audio on the PC side now, so there's a delayed echo. Casting the tab does mute the PC audio. Weird.
bhiga said:
Is your more-powerful PC on a wired or wireless connection? It's possible there's some fault in your router's wired-wireless bridging that's causing issue.
Mine still works, but casting the entire desktop seems not to mute the audio on the PC side now, so there's a delayed echo. Casting the tab does mute the PC audio. Weird.
Click to expand...
Click to collapse
wired connection, don't think that is a problem as my connection works fine, internet and etc all works fine, even the "weaker" laptop is connecting to the same router.
i know mirroring the entire desktop is more taxing, but I just could not get it work even just casting tab.. casting everything will just appear static on the TV and whatever u do next "typing, moving mouse cursor and etc" will not appear on TV and just stays on as a "picture" instead of mirroring what is happening on the tab but audio cast through flawlessly..
- JaY - said:
wired connection, don't think that is a problem as my connection works fine, internet and etc all works fine, even the "weaker" laptop is connecting to the same router.
i know mirroring the entire desktop is more taxing, but I just could not get it work even just casting tab.. casting everything will just appear static on the TV and whatever u do next "typing, moving mouse cursor and etc" will not appear on TV and just stays on as a "picture" instead of mirroring what is happening on the tab but audio cast through flawlessly..
Click to expand...
Click to collapse
Definitely sounds like an issue getting the picture compressed and sent over.
If you drop your desktop resolution to to 1280x720 or lower does it get better?
Have to admit, while things were smooth with my 1920x1200 monitor, now that I upgraded to 3440x1440 (LG 34UM95 - it kicks butt!) I can't cast the entire desktop smoothly anymore either, heh. I still get a picture, just not as smooth...
What router do you have?
bhiga said:
Definitely sounds like an issue getting the picture compressed and sent over.
If you drop your desktop resolution to to 1280x720 or lower does it get better?
Have to admit, while things were smooth with my 1920x1200 monitor, now that I upgraded to 3440x1440 (LG 34UM95 - it kicks butt!) I can't cast the entire desktop smoothly anymore either, heh. I still get a picture, just not as smooth...
What router do you have?
Click to expand...
Click to collapse
have not tried dropping resolution as previously working perfectly.. never tried casting entire desktop before because I am using the non-beta CC extension, tried before the beta CC to cast tab, same problem. Router is a D-Link, but i am quite certain that is not the issue... btw.. Thanks alot for troubleshooting.. spent nearly a week googling and it seems most ppl had the audio issues rather than video. :good:

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.

Problems streaming media from phone, but not pc

I just got my chromecast last week. The only reason I bought my chromecast is because I have an older (non-smart) tv that has no streaming capabilities, and my ps3 died. I have a PS4 but the ps4 does not support any playback of files (mp3, mp4, avi etc) like you could on the ps3. I had a big library of music and home movies on my ps3., and now I had no way to play this media on my tv. So I bought a chromecast.
Streaming from the PC works great. I use the videostream extension with the remote app for android. And videos/movies stream great with no lagging at all.
So I decided to try and stream data from my android phone. I tried just about every app on the play store. From Avia, to AllCast and everything in between. Yet everything I try lags terribly. Every video that I try and stream (even very short 10-20 second videos) freeze and buffer every few seconds.
I know my network can handle the streaming. I have a wireless AC router and 50+MB/s ISP connection. Also Once again streaming from my pc works flawlessly. Streaming from youtube app on my phone to the tv also works flawlessly. So why is it that I can't stream videos taken by my phone properly?
What is your phone? Can you try to upload a video from the phone to the pc and check the speed?
philip67 said:
What is your phone? Can you try to upload a video from the phone to the pc and check the speed?
Click to expand...
Click to collapse
Sorry I should have specified that. I have the HTC ONE M8.
EDIT:
Using the wifi file transfer app, I downloaded a 126MB video file to my PC and it averaged at around 5.5MB/s (seems slow for wireless AC). Also my PC is hard wired to my router, and I was sitting about 2 feet away from my wireless router. So signal strength shouldn't cause an issue.
The phone has to work as a tool that not only transfers the video to the Chromecast, but it must also work as an on the fly media transcoder and server. This is a lot of strain for one phone.
Try casting a video with format and resolution that is natively supported on chromecast. But the speed from 5.5 Mb is also a bottleneck for casting a video with higher resolution.
The HTC one M8 is still pretty powerful in terms of phones.
I think I figured out the problem. I have a dual band router. I connected the chromecast to the 5G band (for obvious reasons. Faster speeds) but as it turns out I'm having issues with my router
I did a test on my phone. Sitting right next to my router so signal strength was excellent, I checked the link speed of both the 5G band and the 2.4 and the 5G band is only showing 24mbps Where as 2.4 band is maxed out at 74mbps. I'm not sure why my 5GHZ band is so slow. It's wireless AC and should be way faster.
I also did a speed that that confirmed it. While connected to my 5ghz band my speed was It 20mbps download. On 2.4ghz I averaged over 30, and then I suspect that the rest was limited by my isp.
So I believe since I have my chromecast connected to the 5ghz band, this is causing the sluggish playback.
The Chromecast doesn't support 5 GHz, only 2.4 GHz. In any case most people find that the range isn't very good with 5 GHz. If the signal has to go through a few walls, you might be better off with 2.4 GHz anyway.
But keep in mind that if both your phone and the Chromecast are using the 2.4 GHz band, streaming from the phone to the router and then from the router to the Chromecast is using 2x the wireless bandwith compared to your hard-wired PC streaming to the Chromecast.
The M8 is fairly fast for a phone, but nowhere near the performance of a desktop PC, so it might still be lagging due to memory/CPU performance issues.

Problems with Chromecast or Internet too slow?

I cannot cast anything without it buffering on my chromecast anymore.
Youtube/Netflix can play but resolution is of lowest quality (probably because its built in), but casting tab from web browser will not work at all. At first I thought my internet speed was slow, but I do a speed test most days (on mac) and get an average of 30mpbs-35mbps. Mobile speed I get is 5mbps. Funnily enough I play Netflix through phone and it plays but like I said, quality is compromised. My other tv which is a smart tv (no Chromecast) plays Netflix/Youtube of the full 1080p and no lagging. So which leads me to believe that there is a problem with the Chromecast itself?
My only other option is to see if it works on the smart tv, but then it defeats the purpose of having a smart tv. And I will be without smart tv/chromecast in the bedroom.
Any advice please?
yep, I'm finding this too. I ended up hooking my laptop up via hdmi because casting was so poor. Really low resolution and it would lose connection (black tv screen, laptop still playing) for 3-4 seconds, every 15 minutes or so.
I'm very quickly losing patience with the CC.
After 3 chromecast (of which 1 returned) and trying 2 new routers specifically for making cc work I couldn't find any permanent solution. Where any phone or tablet works fine for streaming netflix, plex, etc, cc would struggle, I gave up, it's useless. Btw, the routers I tried for the past year are netgear r6200, Linksys ea6500 and currently netgear r7000.
Sent from my HTC One
Do you try speed4cast? You can see if the problem is from internet or from CC. Reboot router, enable upnp on the router and look for new update by rebooting CC.
If nothing works, make a factory reset and try to cast. If not, return the device.

Categories

Resources