Comments (4)
Interesting.. might be related to this
Do you know what kind of devices and iOS versions are throwing this error?
from voice-overlay-ios.
from voice-overlay-ios.
Now I see another exception that is occurring:
Fatal Exception: com.apple.coreaudio.avfaudio required condition is false: IsFormatSampleRateAndChannelCountValid(format)
The stack trace:
Fatal Exception: com.apple.coreaudio.avfaudio
0 CoreFoundation 0x18b04ea48 __exceptionPreprocess
1 libobjc.A.dylib 0x18ad75fa4 objc_exception_throw
2 CoreFoundation 0x18af50e88 +[_CFXNotificationTokenRegistration keyCallbacks]
3 AVFAudio 0x197b45b8c AVAE_RaiseException(NSString*, ...)
4 AVFAudio 0x197b45afc _AVAE_Check(char const*, int, char const*, char const*, bool)
5 AVFAudio 0x197b86360 AUGraphNodeBaseV3::CreateRecordingTap(unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer)
6 AVFAudio 0x197b788a8 AVAudioEngineGraph::InstallTapOnNode(AVAudioNode*, unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer)
7 AVFAudio 0x197bf48d4 AVAudioEngineImpl::InstallTapOnNode(AVAudioNode*, unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer)
8 AVFAudio 0x197bdb228 -[AVAudioNode installTapOnBus:bufferSize:format:block:]
9 InstantSearchVoiceOverlay 0x103b9ebe4 SpeechController.record(textHandler:errorHandler:) + 105 (SpeechController.swift:105)
10 InstantSearchVoiceOverlay 0x103b9e580 closure #1 in SpeechController.startRecording(textHandler:errorHandler:) + 81 (SpeechController.swift:81)
from voice-overlay-ios.
I am facing this issue on iOS 17. Any help to resolve this issue is appreciated.
Fatal Exception: com.apple.coreaudio.avfaudio
required condition is false: IsFormatSampleRateAndChannelCountValid(hwFormat)
Exception start from Line 106 of SpeechController
node.installTap(onBus: 0,
bufferSize: SpeechController.AUDIO_BUFFER_SIZE,
format: recordingFormat) { [weak self] (buffer, _) in
self?.speechRequest?.append(buffer)
}
stacktrace:
Fatal Exception: com.apple.coreaudio.avfaudio
0 CoreFoundation 0xf27f4 (Missing UUID 9f046e3672863a6ea280699d6e47cfaf)
1 libobjc.A.dylib 0x19eb4 (Missing UUID 49e2dcb3f0143fcf949bf5f57b3ef0a8)
2 CoreFoundation 0x1186f4 (Missing UUID 9f046e3672863a6ea280699d6e47cfaf)
3 AVFAudio 0x1724 (Missing UUID f4c157ac08683041a562e1d6ad8323ab)
4 AVFAudio 0xc5038 (Missing UUID f4c157ac08683041a562e1d6ad8323ab)
5 AVFAudio 0x234f4 (Missing UUID f4c157ac08683041a562e1d6ad8323ab)
6 AVFAudio 0xb8580 (Missing UUID f4c157ac08683041a562e1d6ad8323ab)
7 MyTestApp 0xd2750 SpeechController.record(textHandler:errorHandler:) + 106 (SpeechController.swift:106)
8 MyTestApp 0xd22d0 closure #1 in SpeechController.startRecording(textHandler:errorHandler:) + 82 (SpeechController.swift:82)
9 MyTestApp 0xd31ac partial apply for closure #1 in SpeechController.requestAuthorization(_:)
10 MyTestApp 0xd20a4 thunk for @escaping @callee_guaranteed (@unowned SFSpeechRecognizerAuthorizationStatus) -> () ()
11 libdispatch.dylib 0x1cb8 (Missing UUID dc1d018771493100bc63f633afebee6c)
12 libdispatch.dylib 0x3910 (Missing UUID dc1d018771493100bc63f633afebee6c)
13 libdispatch.dylib 0x6a5c (Missing UUID dc1d018771493100bc63f633afebee6c)
14 libdispatch.dylib 0x151f4 (Missing UUID dc1d018771493100bc63f633afebee6c)
15 libdispatch.dylib 0x15a04 (Missing UUID dc1d018771493100bc63f633afebee6c)
16 libsystem_pthread.dylib 0x30d8 (Missing UUID daf953735de639a1a6ced87f3f0629cc)
17 libsystem_pthread.dylib 0x1e30 (Missing UUID daf953735de639a1a6ced87f3f0629cc)
from voice-overlay-ios.
Related Issues (20)
- 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 & 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
- Issue with Unwrapped SpeechRequest in SpeechController Causing Nil Issue in iOS 17
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.