You're asking how the Electron-based ChatGPT desktop app on Windows uses LiveKit for real-time voice. I can explain what LiveKit provides and how that maps to an Electron/WebRTC-based client, then ask which parts you want more detail on (integration, architecture, audio capture, or troubleshooting).
Short answer
• ChatGPT’s Advanced Voice uses LiveKit with WebRTC for low‑latency, bi‑directional audio streaming. The Electron app would embed a LiveKit client SDK to capture microphone audio, publish it to a LiveKit room, and subscribe to the model/agent audio returned over the same WebRTC transport.
How that typically maps into an Electron (Windows) app
• Electron hosts a web runtime, so the web-compatible LiveKit client SDK can be used inside the renderer process to:
◦ Capture microphone input via the browser media APIs (getUserMedia) or node/native capture if preferred.
◦ Create/join a LiveKit room over WebRTC and publish the local audio track.
◦ Subscribe to remote tracks (the model/agent audio) and play them through the system audio output.
• LiveKit Cloud routes and manages the WebRTC media, handles synchronization and interruption detection, and connects the user media stream to OpenAI’s realtime voice agent.
• WebRTC is used (not plain WebSocket) because it provides ultra-low latency, packet-loss resilience, and direct media transport.
Things I can help with next
• Step-by-step integration in an Electron renderer (SDK usage, sample code).
• Audio capture choices for Windows (getUserMedia vs native modules) and pros/cons.
• Permission, echo-cancellation, and device selection troubleshooting.
• How to monitor/diagnose WebRTC/LiveKit connection issues.
Which of the above would you like next, or do you want a sample integration snippet for Electron?
Sources:
OpenAI and LiveKit partner to turn Advanced Voice into an API