mockingbird_android 0.1.0 copy "mockingbird_android: ^0.1.0" to clipboard
mockingbird_android: ^0.1.0 copied to clipboard

PlatformAndroid

The Android implementation of the mockingbird plugin: the Mockingbird engine built from source with Oboe capture and ONNX Runtime detectors.

mockingbird_android #

The Android implementation of the mockingbird plugin. It is endorsed, so depending on mockingbird includes it automatically.

What it bundles #

  • The Mockingbird engine compiled from source by the plugin's CMake build: capture, RNNoise, libfvad, the anomaly gate, the Opus encoder, and the ONNX Runtime detectors (Silero VAD and YAMNet) through the onnxruntime-android AAR.
  • Microphone capture through Oboe, with miniaudio as the fallback backend.
  • 16 KB page alignment for the shared library, as Android 15 requires.

The Dart side opens libmockingbird.so with DynamicLibrary.open and talks to it over dart:ffi. There are no platform channels.

Requirements #

Setting Value
minSdk 21
compileSdk 37
NDK r28 or newer; the plugin pins r30
Android Gradle plugin 9.1 or newer, with or without built-in Kotlin
ABIs arm64-v8a, x86_64

Add the microphone permission to your app's manifest and request it at runtime before starting an engine that captures:

<uses-permission android:name="android.permission.RECORD_AUDIO" />

Engines created with MockingbirdBackend.hostPcm do not touch the microphone and need no permission.

0
likes
160
points
345
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The Android implementation of the mockingbird plugin: the Mockingbird engine built from source with Oboe capture and ONNX Runtime detectors.

Repository (GitHub)
View/report issues

Topics

#audio #vad #android #ffi

License

MIT (license)

Dependencies

flutter, mockingbird_platform_interface

More

Packages that depend on mockingbird_android

Packages that implement mockingbird_android