mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-05 05:24:13 +00:00
A conversation still reads as connected for a moment after its socket starts closing. A microphone chunk sent in that moment got `session_closed`, and the capture handler treated that like a real media failure: it stopped the tracks and the AudioContext, so the replacement session after the reconnect had no microphone. The built-in microphone now drops a chunk the transport refuses with `session_closed` or `session_not_ready`, as it already did for `queue_full`, and keeps capturing. A reconnect resumes sending; a final close still stops capture through the conversation, and processor or other errors still release it. Dropped chunks aren't replayed, and public sends keep reporting the transport error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>