v0.1.2 — Silero VAD for iOS (hardening patch)
v0.1.2 hardens the iOS Silero VAD wrapper alongside the Android counterpart.
Library changes (additive, non-breaking):
- Renamed
VoxrtSileroVad→VoxrtSileroVadEngineso 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'sfromAssetFd(afd). Memory-maps the file by default. fromBundleResource(...)now routes through the URL constructor.
Runtime changes (rebuild from monorepo):
- xcframework rebuilt with
--remap-path-prefixflags 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-vadv5 (MIT). - xcframework is proprietary VoxRT runtime; redistribution permitted as part of this SPM artefact.