Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

711 B
Raw Blame
// Whether live speaker identification can run for the given meeting system
// audio mode.
//
// "native" (macOS Core Audio tap) and Windows "loopback" (WASAPI helper or
// renderer display-media fallback) all deliver 24 kHz mono s16le PCM through
// the same sendMeetingAudio("system") path, so the identifier works unchanged.
// Linux reports "loopback" too (PipeWire helper) and feeds the same stream;
// the identifier regroups buffers of any size for its resampler.
export function supportsLiveSpeakerIdentification(systemAudioMode, platform = process.platform) {
  if (systemAudioMode === "native") return true;
  return systemAudioMode === "loopback" && (platform === "win32" || platform === "linux");
}