Hello! And thanks for this great resource!
I have a problem using it on iOS devices. This is the error in the logs:
[AFAggregator logDictationFailedWithError:] Error Domain=kAFAssistantErrorDomain Code=203 “SessionId=com.siri.cortex.ace.speech.session.event.SpeechSessionId@1cace954, Message=No audio data received.” UserInfo={NSLocalizedDescription=SessionId=com.siri.cortex.ace.speech.session.event.SpeechSessionId@1cace954, Message=No audio data received., NSUnderlyingError=0x283496dc0 {Error Domain=SiriSpeechErrorDomain Code=102 “(null)”}}
NSLocalizedDescription = “SessionId=com.siri.cortex.ace.speech.session.event.SpeechSessionId@1cace954, Message=No audio data received.”;
NSUnderlyingError = “Error Domain=SiriSpeechErrorDomain Code=102 \”(null)\””;
I can recreate this by quickly tapping the button to start recording. And this happens on all iOS devices.
I use the onAvailabilityChanged to enable the button