How is the electron-based desktop app for ChatGPT ...
# ask-ai
b
How is the electron-based desktop app for ChatGPT on Windows using LiveKit to do real time communications in voice mode?
t
Thanks for reaching out, Luis. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
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
b
Does LiveKit use MsQUIC for UDP encryption on Windows?
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
b
Does LiveKit support WebRTC over QUIC?