fix: Fix a race condition that caused audio to not be configured (#2144)

* fix: Fix a race condition that caused audio to not be configured

* Update CameraSession.swift

* fix: Fix `audioOutput` being deleted
This commit is contained in:
Marc Rousavy
2023-11-10 12:08:39 +01:00
committed by GitHub
parent 69baacad73
commit 1b90bc9620
2 changed files with 3 additions and 4 deletions

View File

@@ -62,7 +62,6 @@ extension CameraSession {
}
photoOutput = nil
videoOutput = nil
audioOutput = nil
codeScannerOutput = nil
// Photo Output