We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7d7bb8f + 8b3f63a commit 2c98b47Copy full SHA for 2c98b47
Sources/FaceLiveness/AV/VideoChunker.swift
@@ -44,7 +44,7 @@ final class VideoChunker {
44
state = .awaitingSingleFrame
45
46
// explicitly calling `endSession` is unnecessary
47
- if state != .complete {
+ if assetWriter.status != .completed {
48
assetWriter.finishWriting {}
49
}
50
0 commit comments