frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Building a WebRTC benchmark for voice AI agents (Pipecat vs. LiveKit)

https://github.com/kstonekuan/voice-rtc-bench
1•kstonekuan•1h ago

Comments

kstonekuan•1h ago
I was curious how people were choosing between voice AI agent providers and was interested in comparing them by baseline network performance, but could not find any existing solution that benchmarks performance before STT/LLM/TTS processing. So I started building a benchmarking tool to compare Pipecat (Daily) vs LiveKit.

Unlike your average LLM benchmark, this benchmark focuses on location and time as variables since these are the biggest factors for networking systems (I was a developer for networking tools in a past life). The idea is to run benchmarks from multiple geographic locations over time to see how each platform performs under different conditions.

Basic setup: echo agent servers can create and connect to temporary rooms to echo back after receiving messages. Since Pipecat (Daily) and LiveKit Python SDKs can't coexist in the same process, I have to run separate agent processes on different ports. Benchmark runner clients send pings over WebRTC data channels and measure RTT for each message. Raw measurements get stored in InfluxDB, then the dashboard calculates aggregate stats (P50/P95/P99, jitter, packet loss) and visualizes everything with filters and side-by-side comparisons.

I struggled with creating a fair comparison since each platform has different APIs. Ended up using data channels (not audio) for consistency, though this only measures data message transport, not the full audio pipeline (codecs, jitter buffers, etc).

Latency is hard to measure precisely, so I'm estimating based on server processing time - admittedly not perfect. Only testing data channels, not full audio path. And it's just Pipecat (Daily) and LiveKit for now, would like to add Agora, etc.

The README screenshot shows synthetic data resembling early results. Not posting raw results yet since I'm still working out some measurement inaccuracies and need more data points across locations over time to draw solid conclusions.

This is functional but rough around the edges. Happy to keep building it out if people find it useful. Any ideas on better methodology for fair comparisons or improving measurements? What platforms would you want to see added?

Stack: Python, TypeScript (React), InfluxDB

No Backup, No Cry

https://world.hey.com/dhh/no-backup-no-cry-274e0c31
1•Brajeshwar•6m ago•0 comments

Cryptology and Physical Security (2003) [pdf]

https://www.mattblaze.org/papers/mk.pdf
1•kqr2•6m ago•0 comments

Why Hacker News UI still look like 90s?

1•probeta•7m ago•1 comments

We Solved Multi-Language SDK Documentation Chaos Without LLMs

https://hatchet.run/blog/automated-documentation
1•Liriel•8m ago•0 comments

What is the biggest probelm you are facing costing you the most time or money

1•Praisethegreat•12m ago•0 comments

Flux Keyboard

https://fluxkeyboard.com/?v=0b3b97fa6688
2•birdculture•13m ago•0 comments

Indigenous candidates face less bias than parties might think: New research

https://theconversation.com/indigenous-political-candidates-face-less-voter-bias-than-parties-mig...
1•PaulHoule•14m ago•0 comments

What Is Solar Geoengineering

https://www.tecnoloblog.com/en/What-is-solar-geoengineering/
1•Gedxx•14m ago•0 comments

Did I just break ChatGPT?

1•zkmon•16m ago•0 comments

How to prepare for an emergency situation in the Netherlands [pdf]

https://www.denkvooruit.nl/site/binaries/site-content/collections/documents/2025/11/25/prepare-fo...
2•HelloUsername•26m ago•0 comments

Collection of LLMs that run well in 32gb VRAM

https://huggingface.co/collections/easiest-ai-shawn/rtx-5090-example-models-unfiltered
2•skhameneh•26m ago•0 comments

Suspected Russian sonobuoy found by scuba divers off the Pembrokeshire coast

https://www.bbc.com/news/articles/cg5m829mz9mo
1•ljf•34m ago•0 comments

Notes on the WASM Basic C ABI

https://eli.thegreenplace.net/2025/notes-on-the-wasm-basic-c-abi/
1•ingve•37m ago•0 comments

Lands of Wonder, Romance and High Adventure - Part Three (2014)

http://nzpetesmatteshot.blogspot.com/2014/11/lands-of-wonder-romance-high-adventure.html
1•exvi•44m ago•0 comments

Lands of Wonder, Romance and High Adventure - Part Two (2014)

http://nzpetesmatteshot.blogspot.com/2014/10/lands-of-wonder-romance-high-adventure.html
1•exvi•44m ago•0 comments

Microdosed Trainspotting: Buying Painkillers in the UK vs. the US

https://psychotechnology.substack.com/p/microdosed-trainspotting-buying-painkillers
1•eatitraw•44m ago•0 comments

Lands of Wonder, Romance and High Adventure - Part One (2014)

http://nzpetesmatteshot.blogspot.com/2014/08/lands-of-wonder-romance-high-adventure.html
1•exvi•45m ago•0 comments

How We built a millisecond-latency crypto arbitrage system

https://risingwave.com/blog/real-time-crypto-arbitrage-risingwave/
1•WavyPeng•49m ago•0 comments

US demands digital concessions in return for EU steel tariff relief

https://www.politico.eu/article/us-steel-tariff-relief-eu-digital-concessions/
3•ggm•53m ago•0 comments

Viola Ford Fletcher, survivor of 1921 Tulsa Massacre, dies age 111

https://www.aljazeera.com/news/2025/11/25/viola-ford-fletcher-survivor-of-1921-tulsa-massacre-die...
3•defrost•1h ago•1 comments

What you can get for the price of a Netflix subscription

https://nmil.dev/what-you-can-get-for-the-price-of-a-netflix-subscription
5•nmil•1h ago•1 comments

The Airport-Lounge Wars

https://www.newyorker.com/magazine/2025/12/01/the-airport-lounge-wars
2•TMWNN•1h ago•0 comments

Show HN: Sell and Subscribe to Website Ad Slots the Smarter Way to Run Ads

https://adsubly.com/
1•ovelv•1h ago•0 comments

LLMs as Meaning Optimization

https://studium.dev/articles/LLMs-as-Meaning-Optimization
1•jerlendds•1h ago•0 comments

November 2025 Insiders (version 1.107)

https://code.visualstudio.com/updates/v1_107
1•feross•1h ago•0 comments

Our Phosphorescent World

https://aeon.co/essays/the-cycling-of-phosphorus-is-the-basis-for-all-life-on-earth
3•the-mitr•1h ago•0 comments

Most Stable Raspberry Pi? 81% Better NTP with Thermal Management

https://austinsnerdythings.com/2025/11/24/worlds-most-stable-raspberry-pi-81-better-ntp-with-ther...
25•todsacerdoti•1h ago•7 comments

Moats Before (Gross) Margins: Revisited

https://www.a16z.news/p/moats-before-gross-margins-revisited
1•gmays•1h ago•0 comments

Grown-Up Theater Kids Run the World (2023)

https://www.nytimes.com/2023/08/20/style/grown-up-theater-kids.html
1•throwaway81523•1h ago•0 comments

Human brains are preconfigured with instructions for understanding the world

https://news.ucsc.edu/2025/11/sharf-preconfigured-brain/
34•XzetaU8•1h ago•6 comments