Skip to content

v0.1.2 — Silero VAD for iOS (hardening patch)

Choose a tag to compare

@make1986 make1986 released this 28 May 10:37
· 3 commits to main since this release

v0.1.2 hardens the iOS Silero VAD wrapper alongside the Android counterpart.

Library changes (additive, non-breaking):

  • Renamed VoxrtSileroVadVoxrtSileroVadEngine so the iOS class matches Kotlin 1:1. The old name remains as @available(*, deprecated, renamed:) typealias — existing call sites still compile with a one-shot warning.
  • New init(modelURL: URL, readingOptions: .mappedIfSafe) — the iOS counterpart of Android's fromAssetFd(afd). Memory-maps the file by default.
  • fromBundleResource(...) now routes through the URL constructor.

Runtime changes (rebuild from monorepo):

  • xcframework rebuilt with --remap-path-prefix flags landed for ASR — no host filesystem paths leak into release binaries.

Pair with: voxrt-silero-models v0.1.2 (.vxrt weights are bit-identical
to v0.1.1).

SPM install

.package(url: "https://github.com/VoxRT/voxrt-silero-ios", from: "0.1.2"),

Migration from v0.1.1

// Old (still compiles, deprecation warning):
let vad = try VoxrtSileroVad(modelBytes: data)

let vad = try VoxrtSileroVadEngine(modelURL: modelURL)

License

  • Silero VAD weights derived from snakers4/silero-vad v5 (MIT).
  • xcframework is proprietary VoxRT runtime; redistribution permitted as part of this SPM artefact.