fix: Fix Recordings with audio={false}
timeouting (#2221)
This commit is contained in:
parent
cad5240420
commit
7047686ff9
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user