CRITICAL: Offline recording UI appears but audio is lost when connection drops
Problem
When internet connection drops during recording, app shows offline recording indicator/icon (suggesting it's buffering), but audio is actually lost instead of being saved for later sync.
Reproduction (Tested)
- Start recording with Omi device connected
- Say phrases 1-3 (internet connected)
- Disconnect internet (airplane mode / Wi-Fi off)
- Observe: app shows offline recording UI/icon
- Continue speaking phrases 4-9 (while disconnected)
- Reconnect internet
- Continue speaking phrases 10-11 (reconnected)
Expected
- Phrases 1-3: captured ✅
- Phrases 4-9: buffered locally → synced when connection returns ✅
- Phrases 10-11: captured ✅
Actual
- Phrases 1-3: captured ✅
- Phrases 4-9: LOST ❌ (despite offline recording UI showing)
- Phrase 10 onward: captured (only AFTER reconnect) ✅
Evidence
Test conversation: https://h.omi.me/conversations/f968265a-0ef8-4a6b-8088-41a90a20eb82 Shows phrases jump from 3 → 10, confirming 4-9 were lost.
Impact
CRITICAL DATA LOSS BUG:
- Users trust the offline recording UI indicator
- But audio is silently dropped instead of buffered
- No warning that recording failed
- Defeats core "always capture everything" promise
Root Cause (likely)
UI shows offline mode, but backend doesn't actually buffer audio when WebSocket disconnects. Audio frames are dropped (as confirmed in code analysis: no else clause when socket.state != connected).
Severity
HIGH — breaks trust in device reliability for critical recordings (meetings, etc.)
@beastoin @mdmohsin7 a gift for you
@hugoaap-code did you find the offline audio on your phone? If you used the Omi device with the Opus codec, then when the WebSocket disconnected the WAL should have activated and stored the audio on your phone.
Of course, manual syncs are still required to align your audio with the targeted timeframe of the conversation, but basically the WAL feature was there from the beginning to make sure you dont lose your audio bytes when the websocket disconnects.
Also @hugoaap-code, can you add the person who reported the issue (the human, I mean) to the issues created by the bot? It would help a lot with clarifying the problem. You know, ambiguous issues with no clear steps slow us down a lot.
Hey @beastoin that was me bro
@hugoaap-code did you find the offline audio on your phone? If you used the Omi device with the Opus codec, then when the WebSocket disconnected the WAL should have activated and stored the audio on your phone.
No but I didn't search for it.
The experience I imagine to be perfect:
I don't want to have to search for saved offline audio; I just want to see my conversations in my Convo feed, regardless of whether my connection dropped during recording.
If internet fails The app should automatically keep recording offline and add to my Convo without me having to think about it.
Closing as duplicate of #6171.
Why: Kelvin's physical device repro (Pixel 7a, 2026-03-30) confirmed WAL captures all audio frames during internet outage — audio is NOT lost. The original reporter @hugoaap-code confirmed they never checked for saved offline audio and clarified their actual need: automatic recovery without manual sync ("I just want to see my conversations in my Convo feed, regardless of whether my connection dropped").
That UX gap — no warning during outage, manual sync required, invisible transcript gap — is tracked in #6171 (P2).
Parent tracker #5733 S3 updated accordingly.
by AI for @beastoin
@hugoaap-code — thank you for the detailed repro and for clarifying what the ideal experience should look like. Your feedback ("I just want to see my conversations in my Convo feed, regardless of whether my connection dropped") is exactly the bar we're building toward. That's now tracked as a P1 in #6171.
Your reports across #4669, #4805, #4816, #4850, #4867, and this issue have been the backbone of the #5733 umbrella investigation. Genuinely appreciate the time and effort — it makes the product better for everyone.
— from @beastoin (CTO) via AI for @beastoin