Watch
0
0
Fork
You've already forked hyperhive
0

swarm-stt: only files that start like an audio container reach ffmpeg

This commit is contained in:
damocles 2026-11-11 22:28:32 +01:00 • committed by mara
commit 33e63091d5

View file

@ -9,12 +9,16 @@
//! - an in-flight map, so two requests for one memo that arrive together share
//! one engine run instead of starting two.
//!
//! The audio comes from rooms with outside people, so [`sniff`] checks that a file
//! starts like an audio container before any decoder sees it.
//!
//! The engine is behind the [`Engine`] trait. [`engine::Whisper`] decodes with
//! `ffmpeg` and transcribes with `whisper-cli`; the tests use a fake.
pub mod cache;
pub mod engine;
mod service;
pub mod sniff;
pub use engine::Engine;
pub use service::{Config, Error, Reply, Service};