Tags: keyur2maru/vad
Tags
feat(vad_handler): Add onLog callback for crash-report breadcrumbs - Add optional `VadLogCallback? onLog` to `VadHandler.create` for routing production logs to consumer-side telemetry (Crashlytics/Sentry/Bugsnag) without zone or `debugPrint` overrides - Add `VadLogCallback` typedef exported from `package:vad/vad.dart` - Emit always-on `VadModel: creating OrtSession (model=... bytes=... sampleRate=... os=... osVersion=...)` breadcrumb immediately before each ONNX Runtime session creation on native platforms — lands in logcat as the last line before any native crash inside libonnxruntime.so - Route all non-debug failures through `onLog` when set: native + web session-creation errors, `VadIterator` frame/inference errors, and `VadHandler` audio-stream / microphone-permission failures. Verbose `if (isDebug) print(...)` debug logs intentionally stay on `print` - Thread `onLog` through `VadIterator.create` → `VadInference.create` → native/web inference factories → Silero v4/v5 models - README: Document `onLog` on `VadHandler.create` and add a Reporting Issues troubleshooting section with `adb logcat` capture instructions and a Crashlytics wiring example - Bump version to 0.0.8 Signed-off-by: Keyur Maru <kd2maru@gmail.com>
Release v0.0.7+1 Formatting-only release to meet pub.dev static analysis requirements. Changes: - Apply dart format to all files to meet pub.dev static analysis requirements For full changelog, see: https://github.com/keyur2maru/vad/blob/master/CHANGELOG.md#0071
Release v0.0.7 Major update with Android 16KB page size support, custom audio streams, and architectural improvements. Highlights: - Add Android 16KB page size support (Android 15+ compatible) - Now using Microsoft ONNX Runtime 1.22.0 directly via FFI (replaced third-party wrapper) - Add support for custom audio streams - Fix AudioRecorder disposal and recreation issue - BREAKING CHANGE: Asset management - models now loaded from CDN by default - BREAKING CHANGE: Model identifier renamed from 'legacy' to 'v4' - BREAKING CHANGE: onEmitChunk stream type changed to include isFinal flag - Internal architectural refactor for unified cross-platform implementation - Add desktop platform support (Windows, macOS, Linux) - Rewrite web VAD implementation in pure Dart For full changelog, see: https://github.com/keyur2maru/vad/blob/master/CHANGELOG.md#007