Replies: 5 comments 4 replies
-
I want to know the content of the error message. You can see the content inside Error.Domain with print(error).
|
Beta Was this translation helpful? Give feedback.
-
Apparently here's what happened: I fixed the logic in my app, but FYI recording error may happen if recording was running in the background. |
Beta Was this translation helpful? Give feedback.
-
@shogo4405 I started getting this issue as well. Perhaps every 1 out of 10 file recordings will get failedToFinishWriting(error: nil), it is very random. I can't figure out what the issue is since error description is nil. It is a bit concerning when someone is recording something important for 50 minutes and at the end finds out the video did not save :( I'll try to look into this myself now to see what conditions create this, and if there is a work around. But just wanted to notify that it is occuring. |
Beta Was this translation helpful? Give feedback.
-
Same here... after 2 hours recording I called stopRecording and the file was 37 min only!! This is the log happening at the end of the 2 hours:
Is there a way to be alerted when the writer somehow stops to record? @shogo4405 thanks so much! |
Beta Was this translation helpful? Give feedback.
-
Hi @shogo4405 I am facing a lot of troubles with recording. What I noticed is that this error
gets triggered only when I call this at the very end of the recording: do {
let outputURL = try await self.recorder.stopRecording()
} catch {
print(error)
} The resulting file is always created but most of time it's ways shorter. I performed huge num of tests and I really can't find a pattern that simulates the issue 100% of the times. The main problem is that you are not notified about the issue at that moment in time and you realize this only when you call What do you suggest to do? How about call Is there a way to receive a notification when the corruption occurs, so that I can start a new recording and reduce the data loss window? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Sometimes if the stream getting trouble connecting in the end I get the
The operation couldn’t be completed. (HaishinKit.IORecorder.Error error 3.)
Is there any reason or a
To Reproduce
Unfortunately no steps, but this usually happens when there's issue with connecting on 4g / multiple reconnects
Expected behavior
Recording to always save no matter what
Version
master
Smartphone info.
Apple iPhone 12 Pro Max
Additional context
No response
Screenshots
No response
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions