When the SFSpeechRecognizer is turn on in setupAndStartRecognizing(),
it sets the audioSession category to AVAudioSessionCategoryRecordaudioSession setCategory:AVAudioSessionCategoryRecord
... but when the SpeechRecogniser is turned off in teardown(), the audioSession is not reset to play because it is left in Recording mode.
Possible solution is to reset the audioSession.setCategory to AVAudioSessionCategoryPlayback in the teardown() method.
I'm not an Objective-C/Swift developer so I can't do it myself.
... is that possible to implement in the next update?
When the
SFSpeechRecognizer
is turn on insetupAndStartRecognizing()
, it sets the audioSession category to AVAudioSessionCategoryRecordaudioSession setCategory:AVAudioSessionCategoryRecord
... but when the SpeechRecogniser is turned off in
teardown()
, the audioSession is not reset to play because it is left in Recording mode.Possible solution is to reset the audioSession.setCategory to
AVAudioSessionCategoryPlayback
in theteardown()
method.I'm not an Objective-C/Swift developer so I can't do it myself.
... is that possible to implement in the next update?