You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4c795fd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/mobile/modules/t3-voice-transcription/android/src/main/java/expo/modules/t3voicetranscription/PcmOutput.kt
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,12 @@ internal fun livePcmResponses(
94
94
capture.awaitFinished()
95
95
output.verifyConsumed()
96
96
}
97
+
} catch (e:TimeoutCancellationException) {
98
+
throwVoiceTranscriptionException(
99
+
"incomplete-audio",
100
+
"Speech recognition did not finish the complete recording. No transcript was added. Retry dictation.",
Copy file name to clipboardExpand all lines: apps/mobile/modules/t3-voice-transcription/android/src/test/java/expo/modules/t3voicetranscription/LivePcmCaptureTest.kt
0 commit comments