How OpenAI delivers low-latency voice AI at scale

(openai.com)

413 points | by Sean-Der 16 hours ago ago

129 comments

  • Sean-Der 14 hours ago ago

    Very grateful that OpenAI published the article/publicized their usage of Pion[0] a library I work on. If you aren't familiar with WebRTC it's a super fun space. I work on a book WebRTC for the Curious [1] that details how it works.

    [0] https://github.com/pion/webrtc

    [1] https://webrtcforthecurious.com

    • ericmcer 12 hours ago ago

      I use pion thanks for making it!

      Curious if you thought their approach was necessary, it seemed like a ton of complexity to reduce one of the faster parts of a voice AI setup. Having a fast model and accurate VAD seems way more important than fine tuning WebRTC transit times.

      • Sean-Der 12 hours ago ago

        Thanks for using it :)

        I think It’s a case of you improve what you own. The owners of WebRTC servers were aggressively improving their part. They don’t own the inference servers.

    • dtran 14 hours ago ago

      Thanks for WebRTC for the Curious and for Pion! Not using the latter directly, but have used both to better understand WebRTC

    • aleda145 14 hours ago ago

      Appreciate you putting the entire book online!

      I read parts of it a while ago when I had an idea on using webRTC data channels to pass data from databases to browser clients via a CLI. Your book made me understand that it's probably not a great fit for my use case. I just used a centralized control plane and websockets instead.

      I still feel like there is something fun that we can do with webRTC data channels + zero copy Apache Arrow arraybuffers + duckdb WASM, but haven't figured it out yet

      • Sean-Der 12 hours ago ago

        Thanks for reading it!

        You can't beat Websockets :) Especially since you have so much tooling/existing stuff that works with HTTP.

        I have been trying to get a website off the ground that does Datachannels + SQlite in the browser and then users sync between each other. I have gotten distracted so many times though.

        • aleda145 3 hours ago ago

          Super cool! Please give me a ping if you ever launch that (my email is on my website (in my profile))

      • oezi 13 hours ago ago

        What is preventing the fun is that even though we now have IPv6 widely enough available we still can't have p2p connections in the browser without a cumbersome control plane of servers. If you could join a federation in the browser from some bootstrap IPs then I think we could have some real distributed fun.

    • willmeyers 9 hours ago ago

      WebRTC is great and so is Pion, thanks for help making and maintaining it! I loved learning about WebRTC from WebRTC for the Curious!!!

    • thatxliner 14 hours ago ago

      slightly unrelated but what’s with storing the entire codebase in the root directory instead of a nested src folder? It makes getting to the README a lot more difficult

      • nemothekid 14 hours ago ago

        Thats the default for go projects. Go imports are repository strings (e.g.):

             import ("github.com/go-sql-driver/mysql")
        
        so it's standard to have the library files in the root directory.
      • a456463 14 hours ago ago

        This is valid criticism. Go fanbois don't like listening to any go criticism. They were all like who needs templates in go. and now go has templates.

        To me go code looks like somebody vomitted stuff in the root dir and i have to wade through that every time. No namespacing. nothing

        • junon 14 hours ago ago

          I don't like go as a personal preference but reducing them to "fanboys" is a bit reductive. I'm sure the same could be said about your own favorite language.

          • altmanaltman 13 hours ago ago

            Is it reductive when its describing a group of people that like something and refusing to hear any ill of it? The comment wasn't shade at people using the language in general.

            And you're right, fanboys are in every language. But resorting to changing the argument by whataboutism is a bit reductive.

            • simondotau 12 hours ago ago

              I’m not a go fanboy, but I do know from other contexts that so-called “fanboy“ behaviour is frequently associated with level-headed supporters getting defensive in the face of imprecise criticism.

              There’s an oft-repeated pattern where valid specific criticisms morph into broad criticism, which morphs into judgement, which breeds defensiveness, which feeds the criticism. Once you recognise this pattern, you see it everywhere.

              • twodave 10 hours ago ago

                Sure, and there's the near-identical pattern where valid specific criticisms are taken as broad criticism even though they aren't, etc., etc..

        • idiotsecant 11 hours ago ago

          Ok... The question was why is it like that. The answer is because it's in go. Nobody was anything other than civil before you neckbearded in here. Chill. There's a sane way to say what you said.

    • ryanar 11 hours ago ago

      I used pion and it was fantastic. Most of the article seems pretty standard webrtc techniques for performant voice.

    • haaz 13 hours ago ago

      Only a software dev would start their referencing at 0 lol

      • vorticalbox 13 hours ago ago

        I do this too I never made the connection.

  • legohead 14 hours ago ago

    The low latency is more of a pain point than a good thing, the way they have it implemented. Trying to have a casual conversation with it, as humans we naturally pause, and GPT will take this as you are "done" and start blabbing away.

    I also suffer from finding the appropriate word I want as I've gotten older and slower, and this fast-voice-gpt just ends up frustrating me more than helping. I have to sit there and think out the whole sentence in my head before I say anything -- not very natural.

    • zamadatix 14 hours ago ago

      I think these are 2 different layers of "latency". The latency in the article is referring to the transport of the audio stream itself while the latency in your scenario is about how quickly to start responding inside the audio stream.

      • hun3 11 hours ago ago

        They are orthogonal.

        Suppose you have 100ms audio latency and no wait time. Then, natural pause will trigger response immediately but you won't notice it has started until after ~200ms (round-trip time). Twice as annoying.

      • ericmcer 12 hours ago ago

        I think he’s saying they are doing an insane level of complexity to shave ~100ms off response times in a scenario where that isn’t important and might even be a negative

        • zamadatix 12 hours ago ago

          When GP mentioned reducing conversational latency as a negative that made sense (and should probably be done IMO), it just wasn't the same category of latency the article talks about reducing. I.e. increasing "network latency" just makes the conversation feel more and more out of sync, it doesn't change the rate at which the AI will interrupt ("turn latency") because the latter is based on the duration of the pause in the audio stream, not the duration it took to deliver that audio stream.

          If you meant there is a case where reducing the network latency at the same delivery reliability for a given audio stream is actually a negative then I'd love to hear more about it as I'm a network guy always in search of an excuse for latency :D.

        • theptip 7 hours ago ago

          By you want to be able to interject “hold on…” and have it immediately stop talking, when it goes off the rails.

          And GP is correctly pointing out that the only negative here (silence waiting latency maybe being too low) is tunable separately from the network latency number.

          • ButlerianJihad 7 hours ago ago

            I want to be able to click the "Stop" button on my earphones remote. I want to be able to interject "woah" or "stop!" or "wait!" or that it would detect that I've inhaled a breath, or that my eyes glazed over. I want the LLM to figure out that every speed setting for its voice output is in "auctioneer" territory rather than "lecturing university professor with tenure and a pension" pacing.

            But we won't get any of that, because the prime directive of LLMs is to burn tokens like there's no tomorrow. Burn tokens on a naïve answer without asking clarifying questions. Burn tokens on writing, debugging, and running a Python script or accessing and parsing 10 websites without asking for consent. Burn tokens on half-baked images with misspellings and 31 fingers. Burn tokens arguing "how many 'r's in strawberry?". Burn tokens asking a followup question at the end of every single answer, begging the user to re-engage and burn more tokens.

            There is a little red "Stop" control when text output is being produced, at least, but does "Stop" halt everything and throw away the context? Re-prompt from the beginning?

            The "maximize tokens burnt" prime directive is not to be found in any system prompt or user documentation. It is seemingly a common feature of the training for any consumer model.

            Currently, if I'm using voice for an LLM, I use the voice dictation in the keyboard feature, because then the response is in text. There is no way to prevent "responding in kind" if I query the thing with audio. Or in Swahili.

            • spongebobstoes an hour ago ago

              newer models tend to use fewer thinking tokens to solve the same problems, and is a strong counterexample to your entire comment

    • janalsncm 14 hours ago ago

      I’ve also experienced this and it’s really annoying. There is this pressure to keep talking if I’m not done with my thought that feels pretty unnatural at least for me. If I’m searching for the right word, I want the opportunity to find it.

      I think the solution is to handle pauses more intelligently rather than having a higher latency protocol. With low latency you can interrupt and the bot can immediately stop rambling.

      • wnmurphy 12 hours ago ago

        100%. I have to hold the floor by filling the space with "ummmmmmmm.... uhhhh...." which inevitably distracts me from my point altogether. Poor user experience.

        • Gracana 10 hours ago ago

          Seems like there's a big risk of having that habit leak into human conversation. A lot of people try really hard to train themselves not to add those fillers.

      • discordance 11 hours ago ago

        Have you tried telling it to pause to let you think?

        I often use it while I’m walking and tell it to not respond until I initiate a conversation.

        • pottertheotter 11 hours ago ago

          I’ve tried this and it says it will but just keeps cutting in. I hate this feature so much.

          • 650REDHAIR 7 hours ago ago

            If anyone has an alternative I’m all ears.

            This would be a killer feature for me and something I’ve tried to use on cross-country road trips.

            • notrealyme123 4 hours ago ago

              I know it's not the perfect solution for you, but I use a voice recorder and send the LLM the transcript. And my god is it working great.

              Usually I just explain the things I want it to do. The longest was 30 minutes rambling of explaining the methods section of a paper in non chronological order. It worked unbelievable good for me.

      • taneq 10 hours ago ago

        I find this is a problem even with human conversations. Some people just aren’t very good at telegraphing when they’ve finished ‘their turn’ talking. Or worse yet, aren’t willing to take turns in the first place.

    • dtran 13 hours ago ago

      This has more to do with Voice Activity Detection (VAD) than the latency described in the article

      • lxgr 12 hours ago ago

        That seems to be the issue: VAD is insufficient here.

        Knowing when to respond requires semantic understanding, which probably only the model itself is capable enough.

        Maybe it’s hard for them to train it to only respond once it seems appropriate to do so?

        • Sean-Der 12 hours ago ago

          I am excited for VAD to go away. PersonaPlex totally seems like the future.

          However things like 'Call center helpline' turn based actually seems better! You don't want to be interrupted when giving information back and forth (I think?)

      • wnmurphy 12 hours ago ago

        Exactly. It's a tangent, but clearly a pain point for enough users.

    • ehnto 5 hours ago ago

      There's a really interesting project in Japanese natural language processing called J-Moshi that had a novel approach and in my opinion good results.

      They tried to make it mimic the way Japanese is full of really quick acknowledgement sounds and it seems to allow it to handle those pauses and interruptions really well.

      https://en.nagoya-u.ac.jp/news/articles/say-hello-to-j-moshi... (english)

      https://nu-dialogue.github.io/j-moshi/ (japanese and english)

      I must admit it's a bit weird when LLMs laugh, I don't really know how I feel about that but it seems to laugh at the right times. Very tangential, but cockatoos have been known to mimic the right time to laugh presumably based on tonal cues that a joke was just made (I have experienced this first hand with rescue birds who li e amongst humans)

    • futureshock 3 hours ago ago

      Reducing the network latency helps with this exactly. OpenAI can make better timed decisions when to begin responding so it'll feel less like an interruption. I've also seen some research on full duplex voice models that handle interruption more like an organic conversation and low latency will help there as well

    • saturdaysaint 14 hours ago ago

      In voice conversations I tell it not to reply at all or only say “Understood” until I use some kind of code word. Not perfect, but less intrusive.

    • miki_oomiri 9 hours ago ago

      People are migrating to the "End Of Thought" triggers. Deepgram does that wonderfully.

    • jameshush 10 hours ago ago

      This is more of a VAD/turn detection issue. It's gotten a lot better over the last few years, but it's a hard problem. The extra ~100ms of latency makes a huge difference otherwise, especially when you have use cases that require tool calling that can easily add 500ms+ of latency.

      • angry_octet 9 hours ago ago

        It seems that tool calling shouldn't be 500ms of latency?

        • hobofan 3 hours ago ago

          If you have tool calling complex enough that it necessitates a higher reasoning level, and you would otherwise have reasoning set to "none", this can easily come out to 500ms.

    • richardw 14 hours ago ago

      Hard problem. I find myself adding in filler to stop the thing from jabbering.

      I also think it spends most of its iq on sounding good rather than thinking about the problem. “Yeah absolutely I can see why you’d like to…” etc. This is likely because it’s on a timer and maybe voice is more expensive to process? Text responses spend more time on the task.

      • lxgr 12 hours ago ago

        Their voice capable model is several generations behind the state of the art text-only one, as far as I know.

        I don’t think it even has reasoning tokens, so it’s no surprise that it’s as most as smart as the “instant” models (i.e., not very).

      • asdfman123 13 hours ago ago

        Fwiw you can prompt it to respond differently to you.

    • wnmurphy 12 hours ago ago

      Strongly agree, some of us like to choose our words more carefully when interacting with an LLM.

      I've tried to convey this to OpenAI through various available channels (dev forums, app feedback, etc.).

      Grok solves this by having an optional push-to-talk mode, but this is not hands-free and thus more cumbersome than just having a user-configurable variable like seconds_delay_before_sending_voice_input.

    • ericmcer 12 hours ago ago

      yeh exactly, you cannot get a strong signal that a user is done speaking without some amount of “wait for 500ms of silence”. You could kick of processing and abandon if they continued talking, but that seems over optimized.

      1-2s replies feel natural and like you pointed out pausing for 2-3s mid sentence is super normal.

      • charcircuit 10 hours ago ago

        The AI should be able to model a probability for when is a natural moment to start talking.

    • throwuxiytayq 14 hours ago ago

      With higher latency this would be even more of an issue. When you pause and start talking again, the model wouldn't catch that until it has already interrupted you.

      The actual implementation is at fault. I had some luck with instructing the model to only respond with "Mhm" until I've explicitly finished my thought and asked it a question. Makes this much less of an issue.

      But I've decided that their voice mode is completely unusable for a different reason: the model feels incredibly dumb to interact with, keeps repeating and re-phrasing what I said, ends every single answer with a "hook" making the entire interaction idiotically robotic, completely ignores instructions when you ask it to stop that, and - most importantly - doesn't feel helpful for brainstorming. I was completely surprised how bad it is in practice; this should be their killer app but the model feels incredibly badly tuned.

    • MagicMoonlight 14 hours ago ago

      It’s possible to change the amount of time it waits if you’re using the API

  • Lucasoato 14 hours ago ago

    Wait a minute... I’m genuinely happy that they are sharing this, but keep in mind that realtime audio model from OpenAI are still stuck with the 4o family in terms of capabilities, sadly. I still find them so useful, such a pity that there’s no real competitor in this segment, having the experience a real conversation has helped me so much in expressing ideas and concepts.

    Still, it’s worth to keep in mind that these are not frontier models, differently from when they were released.

    (Please Sam, if you read this, release the new realtime audio models)

    • TomGarden 2 hours ago ago

      Claude voice mode has come a long way! I'd say it's smarter than CGPT AVM last time i tried it.

      But personally I've settled on just speaking to the slower models over a custom tts app, I find it being instant was not actually that important, and in the silence I find myself marinating in the discussion more anyway

    • modeless 11 hours ago ago

      Grok voice is surprisingly good, actually. It's still a dumber model than the thinking modes of frontier models, but it's less dumb than the voice modes of other providers.

      • artdigital 9 hours ago ago

        Grok voice model is also a thinking model. I agree that it’s far better than the other voice models

        Just give me a option to have a slower response but better model…

    • dharma1 13 hours ago ago

      Yes the voice part of OpenAI realtime/voice mode is great but it’s pretty dumb compared to newer models and often gets stuck repeating itself.

      Google’s Gemini flash live 3.1 is better, especially used via the API - it can do tool calling (including to other, even smarter LLMs if you set it up yourself), you can set the reasoning level (even high is still close enough to realtime) and it can ground answers in google search. I love bidirectional voice and right now it’s probably the best option. You can try it in AI studio

      • Lucasoato 13 hours ago ago

        Thanks, I’ll try it, even if my experience wasn’t that great with Google models lately (503s)

        • dharma1 13 hours ago ago

          Give it a shot, 3.1 live one in AI studio/API and max out reasoning - not the one in Gemini app it’s an older model.

          Another option is to use pipecat with their VAD and separate STT and TTS and any (fast) LLM of your choice - but it’s more plumbing and not a true speech to speech model

          • user_7832 an hour ago ago

            > Give it a shot, 3.1 live one in AI studio/API and max out reasoning - not the one in Gemini app it’s an older model.

            Do you know why this is a thing? Despite the app technically being Gemini, I find it quite crap, while the AI Studio thing with thinking is my favorite LLM. Very jarring tbh.

          • stavros 11 hours ago ago

            Haha, wow, I never thought I'd see a voice model that was too quick, but 3.1 live felt like it responded unnaturally quickly! I'm kind of blown away, I'd want to insert a 100ms delay to make it sound more natural, wow. I never thought I'd see that.

    • sails 5 hours ago ago

      You can feel what is possible using Gemini speech to speech model, it can do tool calls and is very fast. It lacks somewhat in thinking capability but you can setup a tool call to a smarter model and it acts as a relay. I’ve been very impressed.

    • radicality 6 hours ago ago

      Yeah I was quite surprised that the advanced chat gpt voice mode can’t itself go and message the frontier model underneath to retrieve data and then speak it. I basically tried asking it for that (something like “can you go and ask gpt5.5 to research this more in depth, and while we wait, tell me about XYZ”), but apparently that’s not a thing.

    • artdigital 12 hours ago ago

      This is what makes their voice mode unusable to me. I can’t stand the way 4o replies and it’s such a big jump in quality from text mode

    • ddp26 12 hours ago ago

      Yeah, the question in the title can be answered: "by using gpt-4o, a model 2 years behind the frontier, to serve audio responses"

  • thimabi 15 hours ago ago

    > Voice AI only feels natural if conversation moves at the speed of speech […] At OpenAI’s scale, that translates into three concrete requirements: Global reach for more than 900 million weekly active users

    Surely the number refers to the total users of ChatGPT overall, and the fraction of those who use voice features is considerably smaller, is it not?

    That’s the kind of thing that influences business decisions like knowing how much hardware and software optimization to throw at a problem.

    • stuartmemo 15 hours ago ago

      Yeah, that's why they've used "reach" - the total number of users who could be exposed to the feature regardless of engagement.

      • janalsncm 14 hours ago ago

        To defend them a little: voice is a little rough around the edges now, so there’s a chicken and egg problem of whether to prioritize improving voice if usage isn’t high partially because it’s clunky.

        • notfromhere 9 hours ago ago

          id rather use the thinking models so the voice mode isnt' useful, i do use voice-to-text more and more just to speed things up though

  • Aeroi 15 hours ago ago

    if anyone is looking to get into this. pipecat is a great open-source repo and community. https://github.com/pipecat-ai/pipecat

    • pk-voice 32 minutes ago ago

      If you like Pipecat’s focus on speed, you might also try out our open source, which comes with all the batteries included (knowledge base, telephony/SIP, variables, BYOK any LLM STT TTS, Speech to Speech, etc )

      And it's fully OSS- like n8n for voice AI, and you can use it with OpenClaw or Claude code - recently launched MCPs.Github- https://github.com/dograh-hq/dograh, Youtube -https://www.youtube.com/watch?v=sxiSp4JXqws&list=PLDqzGuN7B1...

    • pncnmnp 15 hours ago ago

      I wish I had known about Pipecat a lot sooner. I found out about it a few weeks back, and since Gemma 4 launched, I've been building my own entirely local voice assistant using Gemma 4 + Kokoro TTS + Whisper from scratch - https://github.com/pncnmnp/strawberry.

      Pipecat's smart turn model is really good for VAD - https://huggingface.co/pipecat-ai/smart-turn-v3

      • zarldev 13 hours ago ago

        Yeah Gemma4 was and is great fun to do this with - I too am building pretty much the same as yourself in Go.

        https://github.com/zarldev/zarl & https://www.zarl.dev/posts/hal-by-any-other-name

        • jaggederest 12 hours ago ago

          Looks like everyone is building one of these, I have my own little version that's using streaming STT, it can actually be too fast in some cases, and I have a little ring buffer grabbing audio from before the wake word detection fires (so it can hear "Hey Jarvis, turn on the lights" without deliberate pause) https://github.com/jaggederest/pronghorn/

      • AnthOlei 15 hours ago ago

        What do you have going on the hardware side? I want to plug this into hass but don’t know what hardware I need for reasonable latency

        • pncnmnp 14 hours ago ago

          The whole setup works on my M2 MacBook Pro with 16 GB RAM. I use Gemma 4B via LiteRT-LM.

          I've found that LiteRT-LM has a much lower DRAM footprint than Ollama. I've also made tons of optimizations in the code - for eg, you can do quite a bit with a 16k context window for a voice assistant while managing a good footprint, so I keep track of the token usage and then perform an auto-compaction after a while. I use sub-agents and only do deep-think calls with them, so the context window is separated out. In a multi-turn conversation, if Gemma 4 directly processes audio input, the KV cache fills up within a few turns, so I channel it all via Whisper.

          Also, by far the biggest optimization is: 3-stage producer-consumer architecture. The LiteRT-LM streams tokens and I split them into sentences. A synthesizer thread then converts each sentence to audio via Kokoro TTS - the main thread then plays audio chunks sequentially. There's a parallel barge-in monitor thread. https://github.com/pncnmnp/strawberry/blob/main/main.py#L446

          I did not want to use openWakeWord or Picovoice because they had limitations on which wake word you could choose. Alternative was to train a model of my own. So I created my own wake word detection pipeline using Whisper Tiny - works surprisingly well: https://github.com/pncnmnp/strawberry/blob/main/main.py#L143...

          Also, I have VAD going with smart turn v3 (like I mentioned above) + I use browser/websocket for AEC + Barge-in (https://github.com/pncnmnp/strawberry/blob/main/audio_ws.py).

          I'm using the MacBook's built-in microphones for this, though, and I haven't fully tested it with other microphones. I've been ironing out the rough edges on a daily basis. I should write a quick blog on this too.

        • Sean-Der 14 hours ago ago

          Check out [0]. You can do 'Voice AI' on small/cheap hardware. It's the most fun you can have in the space ATM :) It's been a while, but posted a demo here [1]

          [0] https://github.com/pipecat-ai/pipecat-esp32

          [1] https://www.youtube.com/watch?v=6f0sUEUuruw

          • AnthOlei 14 hours ago ago

            beautiful demo - is it running fully locally or talking to 3rd party API’s? That box was jaw dropping small

            • jameshush 10 hours ago ago

              For the best experience, you'll still want it to communicate with 3rd party APIs to handle the speech to text, text to speech, and LLM.

    • BoxedEmpathy 15 hours ago ago

      I've been looking at this! Great project.

  • zerop an hour ago ago

    I have used voice mode on chatgpt, Gemini, Grok as I use it while driving. Best is from openAI. Natural conversation, smarter and meaningful replies.

  • amirathi 6 hours ago ago

    I find OpenAI's speech-to-text model the best of the lot. It can handle my & my 5-year old daughter's Indian accent pretty well.

    I wonder if they run the STT model's output through the current model (that we're chatting with) as a final pass - since the text seem to be well aligned to the current conversation context.

    For long prompts, I often speak to OAI web/app and copy-paste the text to Claude / Gemini :)

  • didibus 15 hours ago ago

    I wouldn't mind waiting longer for answers that would go through a better model with more thinking. As long as it has good support for interrupting and also it doesn't start answering as soon as I pause for 1 second and it's smart about knowing I'm done speaking.

  • tracyhenry 6 hours ago ago

    After all these, I still feel their voice AI interrupts quite a lot, especially when I pause just for 0.5 sec. Interestingly, when I tell it to interrupt less, it seems to be better.

  • deferredgrant 6 hours ago ago

    People are very sensitive to timing in conversation. Even if the words are good, a slightly wrong pause or interruption can make the system feel much less intelligent.

  • vjay15 4 hours ago ago

    This is such a good write up, WebRTC is one of the coolest things ever! It's kinda genius to use the VIP approach, SFU is also pretty scalable but now they dont even have to do that

  • qrush 14 hours ago ago

    Am I reading this right that OpenAI is not using Livekit for WebRTC/audio anymore?

    • fidotron 14 hours ago ago

      It does appear that way. The LiveKit server is not what you would want for this architecture anyway (as they basically say with the SFU discussion), although it does have a lot of useful stuff in the client SDKs.

  • logickkk1 14 hours ago ago

    IMO this probably isn't just about latency. keeping people in voice gives them training data text never will. is that why they were fine going transceiver over sfu and mostly ignoring multi-party?

  • shevy-java an hour ago ago

    I don't like AI in general, and on youtube there are soooooo many horrible videos with voice AI. Having said that, I did notice AI has actually worked for some hobbyist-maintained games for the most part. Example: BG2EE (Baldur's Gate 2 Enhanced Edition). Yes, this is a forgotten game; and I actually have background music as audio rather than listen to the dialogue, save for testing it, but for the most part it worked here. So for poor-ressource hobbyists, AI is actually not totally useless. For youtube I find only horribly crap examples. I don't watch any AI-involved videos (if I can spot it; so much fake on youtube these days, Google does not realise how AI is killing many old users and visitors here).

  • hnav 12 hours ago ago

    RFC 9297 support can't come quick enough in browsers. Would obviate having to deal with WebRTC in a client-server scenario.

  • charisma123 14 hours ago ago

    If a transceiver crashes during a stream, how is the active session recovered? Does the system automatically re-establish the context in a new WebRTC session?

  • furyofantares 15 hours ago ago

    > Global reach for more than 900 million weekly active users

    lol, definitely didn't need to know there's 900M weekly users for this post. I mean yeah, there's a lot of users and they serve globally, that's relevant. But this is just pulling out your biggest stat because you can. How many voice users you have would actually be relevant and interesting but, to baselessly speculate on motivation here, might be a number that doesn't add as much fuel to an upcoming IPO as reminded people that you're almost at a billion users does.

  • whateveracct 5 hours ago ago

    why is the "How" included here? it is often removed

  • hiroakiaizawa 5 hours ago ago

    Interesting. What are the main latency bottlenecks in practice?

  • anzerarkin 15 hours ago ago

    I hate the voice ai though, it's so much dumber

    • brett-jackson 7 hours ago ago

      I used to use it all the time until about a year ago or so. Its responses are full of filler and the safeguards are really overbearing. It often will just give wrong answers in a way that GPT-5.x does not. I once asked it why a particular celebrity was canceled and it refused to tell me because it may harm me to know what they said!

    • NikolaNovak 15 hours ago ago

      Fwiw - I found the advanced AI voice feature to be actually detrimental. It's good if you just want a single sentence answer. I've turned it off though when I want a more detailed, structured, considered answer.

      • drusepth 15 hours ago ago

        Interestingly, that kind of parallels the real world too: if you want a quick and high level answer, talk to someone in person; if you want something detailed and info-dense, get them to write it down.

  • CrzyLngPwd 14 hours ago ago

    It's bad enough having to speed-read the waffle of its written answers; even when told to be concise, the thought of having to listen to it waffle on in its smarmy, sycohpantic fashion makes me want to reach for the sick bag.

  • doctorpangloss 15 hours ago ago

    what i learned from making a webrtc+kubernetes game streaming product:

    - openai is wrong. almost of the issues they described are issues with libwebrtc, not with webrtc, kubernetes, network architecture, etc. the clue was when they said "the conventional one-port-per-session WebRTC model."

    - there are no alternatives worth trying. everything else open source in the ecosystem, like pion, coturn, stunner, are too immature.

    - libwebrtc is the only game in town.

    - they haven't discovered libwebrtc feature flags or how it works with candidates, which directly fix a bunch of latency issues they are discovering. a correct feature flag can instantly reduce latency for free, compared to pay for twilio network traversal style solutions

    - 99% of low latency voice END USERS will be in a network situation that can eliminate relays, transceivers, etc. it is totally first class on kubernetes. but you have to know something :)

    this is the first time i'm experiencing gell mann amnesia with openai! look those guys are brilliant, but there is hardly anyone in the world who is doing this stuff correctly.

    • Sean-Der 14 hours ago ago

      Did you use libwebrtc on the backend? When you say `libwebrtc` is the only game in town are you talking about clients or servers?

      Even for clients you have things like libpeer that libwebrtc can't hit.

      • doctorpangloss 13 hours ago ago

        yes - i used libwebrtc on the backend and, pre-LLM, patched it to work around a lot of the things i discovered that were directly related to low latency AV streaming. pion didn't exist then.

        i think the challenge is that pion is an excellent product today. it would benefit me if its innovations were subsumed into libwebrtc, because eventually those innovations will show up in the iOS stack, which is one of the customers that matter to me. it is subjective if it is the MOST important customer, that is my belief and it is probably true of openai, at least until they get their own device out the door.

        there can be many, many use cases though! not everything has to be, try to make the thing for 1b people that has to interact with all the most powerful and meanest businesses on the planet.

    • chevman 14 hours ago ago

      When you have hard problems with unclear optimal solutions, taking this approach of a public show & tell will often (always?) solicit lots of interesting ideas the team may have not yet considered :)

    • jiggawatts 14 hours ago ago

      Something I noticed is that companies that are vibe-coding their products miss out on the intelligence that (still) only humans can bring to bear. Just the knowledge cutoff alone puts AI at a serious disadvantage in any rapidly changing field.

      • fragmede 14 hours ago ago

        GPT 5.5's knowledge cutoff is August 2025. Which aspect of WebRTC has meaningfully changed since then?

        • tedsanders 11 hours ago ago

          Dec 2025, actually: https://developers.openai.com/api/docs/models/gpt-5.5

          (though knowledge cutoffs in practice can be bit fuzzy)

        • jiggawatts 12 hours ago ago

          There's a difference between some piece of information being "officially published" and the AIs gaining a sufficient understanding of it.

          Take any popular technology problem that has been around for a few years such as... wrangling Kubernetes with YAML config files. There's probably hundreds of thousands of discussions, source code samples from GitHub, official docs, blogs, bug reports, pull requests, etc... all discussing the nuances, pitfalls, pros/cons, etc. During pre-training the AIs internalise this and can utilise it later.

          Now compare this with anything recent and (relatively) obscure, such as new .NET 10 features which were first officially publishing in November 2025, a month before GPT 5.5 cutoff.

          As a human developer, these new language capabilities are on the same "level" for me in my day-to-day work as the features from .NET 9 or .NET 8. Similarly, my IDE has native refactoring and code cleanup support that can take C# code from the previous years and bring it up to the idiomatic style of $currentyear.

          The AIs just can't do this, because one single Microsoft release note and one learn.microsoft.com page is nowhere near enough training data! The AI hasn't seen millions of lines of code written with .NET 10, taking advantage of .NET 10 improvements, and hasn't seen thousands of discussions about it. Not yet.

          This is a fundamental issue with how LLMs are (currently) trained! Simply moving the cutoff date is not enough.

          Human learning is second-order. If I see even the tiniest bit of updated information that invalidates a huge pile of older information, my memory marks everything old as outdated and from that second onwards I use only the new approach.

          AI learning is first-order. It has to be given the discussions/blogs/posts that say "Stop using the legacy way, it's terrible! Start using the new hotness"! That, it can learn, but it'll be perpetually behind the rest of us by at least a few years.

          Not to mention that thanks to AI forums like StackOverflow are dying, so... where is it going to get this kind of training data from in the future!?

          AI training needs to switch to "second order", but AFAIK this is an unsolved problem at this time.

        • mschuster91 12 hours ago ago

          The problem is the sheer amount of knowledge out there. Particularly when using niche technologies (which webrtc and web audio still is, when measured by how many people develop using it), it is not surprising that AI doesn't have everything available in its responses, unless you specifically ask it about something you already know it should know.

  • tom1IIIl1iIL 14 hours ago ago

    I think it's better to join some kind of club if you want to make friends?

  • AIorNot 15 hours ago ago

    so is the answer

    WebRTC + Kubernetes

  • devopsengine 9 hours ago ago

    Inspired

  • rvz 14 hours ago ago

    OpenAI uses Go for the networking implementation for the relays and the services, which makes a ton of sense, instead of something immature as TypeScript / Node or whatever.

    Yet another reason to not consider anything else like that for low-latency networking. Golang (or even Rust and C++) is unmatched for this use-case.

    • bananamogul 14 hours ago ago

      "something immature as TypeScript / Node or whatever"

      Node.js's initial release was May 27, 2009

      Golang 's initial release was November 10, 2009

      They're different, yes, but it's not like

      • mghackerlady 14 hours ago ago

        okay, sure, but one is by microsoft, the other by a 25 year old, and another by rob pike. The one by rob pike is going to be infinitely more mature and thought out than a hacky type system on JS because it isn't his first rodeo

    • nvarsj 14 hours ago ago

      Can golang do zero copy networking nowadays? In the past golang was terrible at this kind of thing due to allocations and copies of all relayed data.

  • flakiness 15 hours ago ago

    Should I or shouldn't I be glad to see zero mention on Codex.

    • mock-possum 15 hours ago ago

      Shouldn’t, I think - advanced voice is a surprisingly slick feature, and if you’re someone who feels that they can think and speak more naturally than when they think and type, AI voice transcription is kind of huge.

      • gyanchawdhary 14 hours ago ago

        100% .. as a product designer/developer, i use it heavily for early feature ideation .. i’ll do a loose, exploratory back and forth on a long walk .. then pass the transcript to claude to validate and turn into a spec ..

  • jonahs197 14 hours ago ago

    Who cares? Their company is dying.

  • cdrnsf 15 hours ago ago

    It's missing the part where they explain how they obtained the training data for their voice AI.