fix(audio): Reduce recording validation timer for faster feedback
This commit is contained in:
parent
873379c0ca
commit
3306c6a6e4
@ -110,7 +110,7 @@ class AudioEngineRecorder: ObservableObject {
|
||||
}
|
||||
|
||||
private func startValidationTimer(url: URL, retryCount: Int) {
|
||||
validationTimer = Timer.scheduledTimer(withTimeInterval: 3.0, repeats: false) { [weak self] _ in
|
||||
validationTimer = Timer.scheduledTimer(withTimeInterval: 1.5, repeats: false) { [weak self] _ in
|
||||
guard let self = self else { return }
|
||||
|
||||
let validationPassed = self.hasReceivedValidBuffer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user