Troubleshooting
No transcriptions showing
Section titled “No transcriptions showing”Server logs show text but client doesn’t: check transcription_provider.dart listens for transcription / partial / final:
case 'transcription':case 'partial':case 'final': // handle textApp crashes on restart
Section titled “App crashes on restart”Ensure AudioService._cleanup() disposes VadHandler:
Future<void> _cleanup() async { await _stopVad(); await _chunkController?.close();}VAD not detecting voice
Section titled “VAD not detecting voice”Adjust thresholds in audio_service.dart:
positiveSpeechThreshold: 0.3,negativeSpeechThreshold: 0.2,minSpeechFrames: 2,Lower thresholds for quiet speakers.
Connection failed
Section titled “Connection failed”- Server running?
curl -i ws://localhost:8765or check logs - Firewall allows
8765 - Same network / correct
kWsUrlIP - For Web: must be HTTPS page +
wss://if server behind TLS; browsers block insecurews://from HTTPS
Slow transcription (>500ms)
Section titled “Slow transcription (>500ms)”- Use Int8 model (default is Int8)
- Enable CUDA/DirectML via
transcribe-rs - Reduce chunk size in VAD config
- Try
--model Canary180M(180M vs 600M)
Models not downloading
Section titled “Models not downloading”Check models/ permissions and HuggingFace connectivity. Run with --model-dir to an empty writable dir and --autodownload-model.
APK not installing
Section titled “APK not installing”Enable “Install unknown apps” on Android. Release APKs are signed with debug keystore by default — for production, configure signing in android/app/build.gradle.