Очки: разграничение SttCancel (user/timeout) — выход из режима при тишине 30с, микрофон закрывается при потере фокуса

This commit is contained in:
2026-08-23 21:17:43 +03:00
parent eaca47c443
commit e24caaa684
7 changed files with 129 additions and 17 deletions
@@ -375,7 +375,7 @@ class PhoneApp : Application() {
},
onSilence30s = {
log("stt", "тишина 30 с — автo-отмена")
scope.launch { server.hub.broadcast(SttCancel()) }
scope.launch { server.hub.broadcast(SttCancel(reason = "timeout")) }
},
)
sttStreamer = s