stat_ort_plugin 0.0.5
stat_ort_plugin: ^0.0.5 copied to clipboard
On-device Vaani ASR (IISc Bangalore) for Flutter via dart:ffi: file and streaming transcription with Silero VAD and optional speaker diarization, on ONNX Runtime.
0.0.5 #
- Shortened the package description to fit pub.dev's 60–180 character limit (no functional changes).
0.0.4 #
- Switched the FFI layer to the
ffigen-generated bindings (StatOrtPluginBindings) as the single source of truth; removed the duplicate hand-written typedefs. - Reorganized
lib/: native library loading now lives insrc/native_library.dart, and the generated bindings moved tosrc/(internal, no longer importable from the package root). - Added
NativeFinalizerbackstops toVaaniandVaaniStream: native resources are freed on garbage collection ifdispose()/close()is not called. Explicit disposal still works and is preferred. Vaani.transcribeandcreateStreamnow throwStateErrorif called afterdispose()instead of using a freed pointer.- Documentation and formatting: documented
VaaniStream's public API and randart format. Fixed broken model-download and example links in the README. - No public API changes (
Vaani,VaaniStream).
0.0.3 #
Updated read me
0.0.2 #
Updated repo & issue links
0.0.1 #
Initial release.
- On-device Vaani ASR for Flutter via
dart:ffi, powered by ONNX Runtime. - File transcription API (
Vaani.transcribe) for 16 kHz mono PCM WAV. - Real-time streaming API (
VaaniStream) with Silero VAD segmentation and optional speaker diarization. - Android and iOS support. ONNX Runtime is provided by the
onnxruntime-androidGradle dependency and theonnxruntime-cCocoaPod; no native binaries are committed to the repository. - Heavy work (model init, file transcription) runs on a background isolate.