frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

A 0.5s periodic hitch in my local screen stream turned out to be macOS AWDL

https://github.com/jo-duchan/tapflow
13•duchanjo•1d ago

Comments

duchanjo•1d ago
I recently built a self-hosted tool that streams an iOS/Android simulator to a browser.

Since everything was running on the same LAN, I expected the stream to feel almost local. It didn't.

About twice per second, the stream would freeze briefly and then catch up. The pattern was very consistent.

Bandwidth wasn't the issue, and CPU usage was low, so "the network is slow" wasn't the cause.

To investigate, I started pinging my router from the relay Mac with a very short interval:

`ping -i 0.01 <router-ip>`

The latency pattern was interesting. Most packets were fast, but every so often there was a spike of around 90 ms. The interval between those spikes matched the stutter in the stream almost exactly.

That was it.

It turned out to be AWDL (`awdl0`), the macOS interface used for AirDrop, AirPlay, and Handoff. When AWDL is active, macOS periodically switches Wi-Fi channels for a short time. During those channel hops, packets on the normal Wi-Fi connection can be delayed. In my case, the delay was roughly 90 ms.

After disabling AWDL (`sudo ifconfig awdl0 down`) or stopping the features that activate it, the stutter disappeared.

AWDL doesn't hop channels all the time. It usually becomes active when triggered by AirDrop discovery, AirPlay, or Bluetooth-based proximity features. If those stay idle, AWDL stays quiet.

I use Ethernet for the relay machine now. That completely removes the issue because the stream traffic never touches Wi-Fi.

Repo: github.com/jo-duchan/tapflow

forsalebypwner•1h ago
Yup, this has been a known issue forever - I recall streaming game services like Amazon Luna specifically warning about this if it detected you were on a Mac and wanted to play a game.
CaliforniaKarl•56m ago
I didn't know about it! And I really wish I did…
ShinyLeftPad•1h ago
The title is so wildly inaccurate clickbait doesn't do it justice...
MoonWalk•1h ago
Yeah, I went to the page and wasted time looking for any reference to this.

Doubly douchey after not defining "AWDL."

CaliforniaKarl•57m ago
The content of https://news.ycombinator.com/item?id=48628303 should have been posted as the item's text. Or, that text could've been put in to an Issue, and the link pointed to that.

Jerry's Map

http://www.jerrysmap.com/the-map
195•turtleyacht•2h ago•23 comments

Swift Package Index joins Apple

https://swiftpackageindex.com/blog/swift-package-index-joins-apple
116•JDevlieghere•3h ago•38 comments

Don't verify email addresses by sending spam to them

https://milek7.pl/mailverifyspam/
25•garaetjjte•52m ago•2 comments

FUTO Swipe – A new swipe typing model

https://swipe.futo.tech/
97•futohq•3h ago•34 comments

Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX

https://tikz.dev/editor/
281•DominikPeters•6h ago•57 comments

AI Hiring Tools Yield Racial Bias and Systemic Rejection; 26% Black & 15% Asian

https://hai.stanford.edu/news/ai-hiring-tools-can-yield-racial-bias-and-systemic-rejection
83•sizzle•2h ago•61 comments

F3

https://github.com/future-file-format/f3
538•tosh•4h ago•124 comments

Printing Gaussian Splats

https://www.patreon.com/DanyBittel/posts/printing-splats-161333338
43•ilnmtlbnm•2d ago•1 comments

The worthlessness of Vitamin D is mildly exaggerated

https://dynomight.net/vitamin-d/
110•surprisetalk•4h ago•73 comments

Unlimited OCR: One-shot long-horizon parsing

https://github.com/baidu/Unlimited-OCR
398•ingve•9h ago•95 comments

The deadly rise of giant trucks and SUVs

https://www.nytimes.com/interactive/2026/06/21/us/trucks-suv-pedestrian-crashes.html
244•xnx•1d ago•429 comments

Five monitors on a Commodore 128 [video]

https://www.youtube.com/watch?v=ul5hC3PY1Yg
82•EvanAnderson•1d ago•16 comments

San Diego photologs from the 1970s

https://www.beautifulpublicdata.com/san-diego-photologs-from-the-1970s/
122•jonathanmkeegan•4h ago•35 comments

Lift4D: Harmonizing Single-View 3D Estimation for 4D Reconstruction In-the-Wild

https://lift4d.github.io/
95•ilreb•6h ago•8 comments

The Coming Loop

https://lucumr.pocoo.org/2026/6/23/the-coming-loop/
247•ingve•10h ago•194 comments

Samsung demonstrates 3D stacked FETs with triple nanosheet channels at 42nm

https://semiconductor.samsung.com/news-events/tech-blog/from-gaa-to-3d-stacked-fet-expanding-the-...
65•its_ajseven•4d ago•21 comments

Show HN: The Cascade Graph – An interactive map of AI and energy constraints

https://atomprophet.io/tools/cascade/
8•antisyzygy•5h ago•3 comments

Claude Tag

https://www.anthropic.com/news/introducing-claude-tag
185•adocomplete•4h ago•109 comments

Plotnine

https://plotnine.org/
240•tosh•4d ago•70 comments

Mistral OCR 4

https://mistral.ai/news/ocr-4/
381•meetpateltech•7h ago•97 comments

Audit finds San Francisco tax official steered $10M contract to friend

https://sfstandard.com/2026/06/23/audit-sparked-standard-investigation-finds-tax-official-steered...
9•littlexsparkee•28m ago•2 comments

Performance Improvements in Libffi

https://atgreen.github.io/repl-yell/posts/libffi-plan-cache/
28•atgreen•2d ago•6 comments

Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM

https://github.com/ilbertt/bun-sqlgen
50•ilbert•6h ago•23 comments

MSG Made Dossier on Activists Who Opposed Facial Recognition

https://www.404media.co/madison-square-garden-made-dossier-on-activists-who-opposed-facial-recogn...
259•cdrnsf•7h ago•73 comments

Solving Wordle using information theory

https://www.binghamton.edu/news/story/6327/s-m-a-r-t-these-researchers-used-math-to-crack-wordle
47•hhs•2d ago•52 comments

Elevated error rate across multiple models

https://status.claude.com/incidents/jbhf20wjmzrf
195•rob•6h ago•244 comments

The Low-Tech AI of Elden Ring

https://nega.tv/posts/low-tech-ai-of-elden-ring.html
72•g0xA52A2A•9h ago•43 comments

Finding the best dog treat with statistics

https://www.wespiser.com/posts/2026-06-19-best-dog-treat.html
123•wespiser_2018•1d ago•54 comments

Steam Machine launches today

https://store.steampowered.com/news/group/45479024/view/685257114654870245
1859•theschwa•1d ago•1622 comments

What we call "age verification" is actually mass surveillance

https://pluralistic.net/2026/06/23/destroy-the-village/
698•hn_acker•7h ago•379 comments