diff --git a/package/ios/Core/RecordingSession.swift b/package/ios/Core/RecordingSession.swift index 801f329..caf3419 100644 --- a/package/ios/Core/RecordingSession.swift +++ b/package/ios/Core/RecordingSession.swift @@ -152,6 +152,11 @@ class RecordingSession { assetWriter.startSession(atSourceTime: currentTime) startTimestamp = currentTime ReactLogger.log(level: .info, message: "Started RecordingSession at time: \(currentTime.seconds)") + + if audioWriter == nil { + // Audio was enabled, mark the Audio track as finished so we won't wait for it. + hasWrittenLastAudioFrame = true + } } /**