Comments (1)
Hey @salution ,
Sorry for the late reply on this. After further investigation, I think I found out what is the issue. the voiceOverlayController instance is always being recalculated and we're losing reference to the one created everytime. In order to solve this, you can initialise your voiceOverlayController lazily like so and it will solve your problem:
lazy var voiceOverlayController: VoiceOverlayController = {
let recordableHandler = {
return SpeechController(locale: Locale(identifier: "en_US"))
}
return VoiceOverlayController(speechControllerHandler: recordableHandler)
}()
I also updated the snippet in the README
Cheers!
from voice-overlay-ios.
Related Issues (20)
- Getting NSInternalInconsistencyException on allow microphone HOT 4
- Crash when dismissed HOT 2
- No option to dismiss in case dismiss did not work HOT 2
- Not able to implement in Project
- After setting up the project, while specking I am getting error(VoiceOverlay-Demo[640:138261] [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)) HOT 1
- Title and subtitle text get truncated
- VoiceOverlayController warning Conversion to Swift 5 is available
- Crash when first request permission HOT 7
- App crashed on permissions ios 13 HOT 1
- Not able to run demo project HOT 1
- Voice Audio is not working HOT 3
- Wrong in displaying the controller
- AVAudioEngine Exception HOT 4
- AVAudioEngine Exception & Crash App HOT 1
- SwiftUI Support HOT 4
- Crash while calling and recording at the same time. HOT 1
- remove search screen
- Error Domain=kAFAssistantErrorDomain Code=203
- Crash on iOS 12 and iOS 13 devices
- Fatal Exception: com.apple.coreaudio.avfaudio
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voice-overlay-ios.