Replies: 2 comments 7 replies
-
Sure. I'm busy with work right now, so I'd appreciate it if you could PR. |
Beta Was this translation helpful? Give feedback.
-
I tried AVAssetWriter.movieFragmentInterval. I was able to confirm that the file remains even when the task is killed. You can test it with this PR: #1561
You mentioned that it didn’t simple, but it’s possible that the expected behavior differs between you and me. |
Beta Was this translation helpful? Give feedback.
-
Hi, for IORecorder, may you add the option to set movieFragmentInterval so that the recorded file will save at intervals, in case the app crashes or the user exits the app accidentally, their video file will not be all lost.
An example is shown here:
https://stackoverflow.com/questions/19608424/avassetwriter-file-backup-and-recovery
Relevant file:
https://github.com/shogo4405/HaishinKit.swift/blob/main/Sources/Media/IORecorder.swift
Beta Was this translation helpful? Give feedback.
All reactions