This is how I worked around it:
if options.enableVAD {
if let detector = SpeechDetector(detectionOptions: .init(sensitivityLevel: .medium), reportResults: false) as? (any SpeechModule) {
self.modules.append(detector)
} else {
throw SystemTranscriberError.failedToStart("could not create SpeechDetector")
}
}
Topic:
Media Technologies
SubTopic:
Audio
Tags: