Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

Make `isVideoContainer` accept any supported video

Daniel Demmel840fdc6606dc
diff --git a/Sources/Fluid/Services/MeetingTranscriptionService.swift b/Sources/Fluid/Services/MeetingTranscriptionService.swift
index dcfb92a4..be7391e4 100644
--- a/Sources/Fluid/Services/MeetingTranscriptionService.swift
+++ b/Sources/Fluid/Services/MeetingTranscriptionService.swift
@@ -204,7 +204,8 @@ final class MeetingTranscriptionService: ObservableObject {
DebugLogger.shared.warning("Could not determine audio duration: \(error.localizedDescription)", source: "MeetingTranscriptionService")
}
- let isVideoContainer = ["mp4", "mov"].contains(fileExtension)
+ let isVideoContainer = UTType(filenameExtension: fileExtension)
+ .map { $0.conforms(to: .movie) } ?? false
if provider.prefersNativeFileTranscription && !isVideoContainer {
self.currentStatus = duration > 0 ? "Transcribing audio (\(Int(duration))s)..." : "Transcribing audio..."