mirror of
https://github.com/openai/codex.git
synced 2026-09-11 20:36:49 +00:00
## What changed - Add `RealtimeWebrtcSession` and cloneable handles for startup, answer negotiation, audio controls, level meters, and error reporting. - Open devices after answer negotiation and apply the latest controls before enabling audio. Preserve subsequent control transitions in order and close the session if the command queue fills. - Cancel pending work on explicit close, external cancellation, or final handle drop, with a shared runtime keeping helper reaping alive. - Add audio-state polling to consume microphone and speaker peaks and detect helper, device, or connection failures. - Check packaged helper/runtime availability and initialize build information in the standalone TUI for the helper handshake. ## Testing Add unit and helper-process integration tests covering startup control ordering, queue overflow, cancellation, helper reaping and loss, package availability, SDP debug redaction, and peak accumulation, clamping, and consumption. GitOrigin-RevId: 458cd80353697f7411cee785f380d1d53aef8416