SpokestackSpeechRecognizer

@available(iOS 13.0, *)
@objc
public class SpokestackSpeechRecognizer : NSObject
extension SpokestackSpeechRecognizer: SpeechProcessor

This pipeline component streams audio frames to Spokestack’s cloud-based ASR for speech recognition.

Upon the pipeline being activated, the recognizer sends all audio frames to the Spokeatck ASR via a websocket connection. Once the pipeline is deactivated or the activation max is reached, a final empty audio frame is sent which triggers the final recognition transcript. That is passed to the SpeechEventListener delegates via the didRecognize event with the updated global speech context (including the final transcript and confidence).