TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do carriers throttle streaming to 480p resolution?

97 pointsby akouriover 3 years ago
I have seen that most carriers, by default, have a "stream saver" turned on, which, I am assuming detects when you're on YouTube or Netflix and automatically throttles your bandwidth to these sites. Assuming these connections are happening over SSL, how are the carriers able to modify the sites to disable users from selecting HD or 4k resolutions?

23 comments

jrrrrover 3 years ago
I assume carriers limit only the _bandwidth_, and count on streaming apps to react by automatically degrading the resolution.
评论 #30193217 未加载
评论 #30198890 未加载
评论 #30199794 未加载
评论 #30193509 未加载
评论 #30198649 未加载
dbrueckover 3 years ago
It is somewhat rare but not entirely unheard of for carriers to have agreements with the major streaming providers, and so in some cases the streaming provider will actually aid in the process. Most of the time, however, this isn&#x27;t needed because what&#x27;s actually happening is limiting bandwidth, not resolution, but there is a very strong correlation between the two, so by limiting bandwidth you end up with the desired effect of limiting resolution.<p>These days most streaming providers use some form of adaptive streaming in which client-side logic decides to get bigger or smaller &quot;chunks&quot; of video based on how quickly prior chunks downloaded. A rudimentary solution for a carrier would be to simply implement logic like, &quot;if throughput to device X &gt; someLimit, add a delay in delivering packets to device X&quot;. From the client&#x27;s perspective, getting the bigger (and higher quality) video chunks will take too long, so it will naturally shift to the smaller (and lower quality) chunks.
frankjrover 3 years ago
How do mobile carriers know video resolution over HTTPS connections?<p><a href="https:&#x2F;&#x2F;security.stackexchange.com&#x2F;questions&#x2F;172212&#x2F;how-do-mobile-carriers-know-video-resolution-over-https-connections" rel="nofollow">https:&#x2F;&#x2F;security.stackexchange.com&#x2F;questions&#x2F;172212&#x2F;how-do-m...</a>
评论 #30193403 未加载
评论 #30193563 未加载
评论 #30193097 未加载
评论 #30194053 未加载
Bedon292over 3 years ago
The urls that are used for the streams are pretty well known, and can limit all traffic on those URLS to specific speeds. Here are a few for example:<p>Twitch: *.ttvnw.net<p>Netflix: *.nflxvideo.net<p>Hulu: *.hulustream.com<p>YouTube: *.googlevideo.com<p>Amazon Prime: *.aiv-cdn.net<p>Edit: This is by no means the only way to do it, just a potential way to do it.
评论 #30197818 未加载
评论 #30193487 未加载
评论 #30193235 未加载
评论 #30192996 未加载
Denatoniumover 3 years ago
I know from experience that T-Mobile uses TLS-SNI (and possibly DNS) to determine the hostname of the HTTPS site being visited. If it is a known streaming service, the connection is throttled.<p>In T-Mobile&#x27;s case, this throttling can be avoided by using a tool such as GreenTunnel which can run in Termux (on Android) and works by spliting the SNI portion of the ClientHello into two TCP segments. Their DPI appliances are too dumb to reassemble the fragments and correctly categorize them as going to a streaming service.<p>The best part about GreenTunnel on Android is that it runs a local HTTP proxy, which you can adb forward to a PC so that you can watch 4k Netflix on your computer using your unlimited T-Mobile plan (this doesn&#x27;t count as tethering, as the IP packets originate on the phone).
enduserover 3 years ago
Most large ISPs are running CDN nodes for the streaming providers out of their own NOCs. Those nodes are provided by the streamers and work with the ISP’s QoS policies.
PaulHouleover 3 years ago
Even if they can&#x27;t look into an SSL connection they can measure the amount of data going through it and rate limit it.
评论 #30193098 未加载
评论 #30192966 未加载
phkahlerover 3 years ago
Sometimes my Amazon firestick&#x2F;prime video goes to crap as if my network connection was really bad. I hop on my google wifi gizmo and run a speed test and get 100-200mbps down. Then sometimes the movie starts playing just fine. It&#x27;s like they want to throttle my connection unless I&#x27;m looking.
dhuertasover 3 years ago
MNOs really don&#x27;t need to know the traffic source address to apply throttling.<p>As per the throttling algorithm, most of the times it&#x27;s a Leaky Bucket variant (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Leaky_bucket" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Leaky_bucket</a>). The variant usually allows short bursts of packets, then throttles down the downstream traffic for long connections to match the configured rate.<p>A trick to know if the operator is using DPI to extract the SNI in HTTPS&#x2F;encrypted traffic: play a YouTube video, then do a speed test (e.g. iperf) while it is playing. Two things could happen: either both apps are throttled (no DPI) or only Youtube is (there&#x27;s some level of DPI).
znpyover 3 years ago
I&#x27;d try two things:<p>1. try and see if accessing youtube through a vpn improves the bandwidth (in that case, your ISP is probably looking at both dns requests and connection endpoint ownership)<p>2. preload and buffer whole videos (es: <a href="https:&#x2F;&#x2F;www.technorms.com&#x2F;35122&#x2F;preload-buffer-entire-youtube-videos-disabling-dash-playback" rel="nofollow">https:&#x2F;&#x2F;www.technorms.com&#x2F;35122&#x2F;preload-buffer-entire-youtub...</a>) this aims to get your traffic usage pattern not having the &quot;usual&quot; shape of a typical youtube session (that is: brief burst of full-speed downloads)
AtNightWeCodeover 3 years ago
I think the most honest reply is that the open Internet does not exist in the western world. Read that again. All major traffic from MS, Netflix and so on is already very segregated. There are several locations were any provider can do QoS in layer 7.<p>And do not underestimate the power of carriers. They are the reason why you can not use mobiles on a plane.
评论 #30208012 未加载
sgt101over 3 years ago
Contention happens in many places in the pipe, it can happen because of the path or because of a fault. It can happen inside the streaming providers infrastructure or in the egress. The delivery system adapts to the bandwidth that is available and chooses all sorts of ways to deal with this.
tgsovlerkhgselover 3 years ago
I thought at least some of the services offered a DNS-based approach (similar to Google&#x27;s &quot;forcedsafesearch&quot; cname - <a href="https:&#x2F;&#x2F;support.google.com&#x2F;websearch&#x2F;answer&#x2F;186669?hl=en" rel="nofollow">https:&#x2F;&#x2F;support.google.com&#x2F;websearch&#x2F;answer&#x2F;186669?hl=en</a>), but I couldn&#x27;t find any documentation.<p>Possible otheroptions:<p>- agreements with the service providers to throttle users from certain netblocks (the carriers partner with the service providers to some extent e.g. to deploy CDN nodes, so such agreements would be plausible)<p>- throttling bandwidth (potentially selectively to&#x2F;from streaming providers) and letting the service figure it out<p>- separate host names for high res content that can be DNS-blocked
evanreichardover 3 years ago
A good way to check this is with fast.com - which uses Netflix&#x27;s infrastructure to perform a speed test.<p>My provider limits me to ~1.5Mbps, but the second I connect to a VPN (WireGuard - hosted on my homes 1Gbps&#x2F;1Gbps connection), it goes up to ~50Mbps.
exikyutover 3 years ago
Two clarifying questions:<p>1) What does the feature look like, screenshot-wise?<p>2) Can you confirm the HD&#x2F;4K option actually disappears or is disabled, or if the site(s) in question just trend toward autoselecting 480p&#x2F;720p over time?<p>Like most other comments here I suspect IP-based bandwidth limiting. Given the unbounded complexity scale of keeping the internet actually working :) I can totally see infrastructure being able to single out the activity of a single connection and track what it&#x27;s doing over time. The chances are the implementation is eyebrow-raisingly impressive but still compact and approachable at the end of the day.
fumarover 3 years ago
I assume its domain based. When I use a VPN for video on T-mobile there is no resolution or speed decrease. I&#x27;ve tested this several times with 4g and 5g areas and browser vs. apps like YouTube.
评论 #30199128 未加载
DigitallyFidgetover 3 years ago
I can&#x27;t really comment on how they do it. I can speculate, but there&#x27;s already endless comments of speculation.<p>What I can add is that it&#x27;s to do with IP or DNS monitoring from the carrier or server. My SO who uses Verizon noticed it, and so I setup a home VPN for him, and when connected to it, all throttling disappears and everything is accessible at full 5G speeds. We have gigabit internet, so it&#x27;s trivial for our network to handle the VPN traffic of streaming.
kjellsbellsover 3 years ago
The standard way is to restrict bandwidth using traffic shaping at the EPC, the software that the telco operator uses to connect devices on the cellular network to upstream networks like cloud and internet. The magic phrases to google are video optimization and GiLan services.
flerchinover 3 years ago
I don&#x27;t think we can assume that the video is transferred over SSL.
评论 #30199885 未加载
zokierover 3 years ago
They could be just cooperating with the major streaming services.
deepsunover 3 years ago
But I have another question -- are ISPs allowed to do that, considering net neutrality? At least in countries&#x2F;states where it&#x27;s still alive?
评论 #30195811 未加载
评论 #30197673 未加载
评论 #30198605 未加载
评论 #30199991 未加载
WesSouzaover 3 years ago
I use Visible and noticed this.<p>As soon as I enable a VPN (I use PIA), speeds go back to normal.
qwerty456127over 3 years ago
I hope this doesn&#x27;t happen to videos in which people teach to code or teach to use particular apps - 480p can be insufficient to read display text reliably if recorded at full HD.