Closed MRJYL closed 9 months ago
@MRJYL Thanks for submitting your issue. Can you provide detail steps to help us investigate and reproduce the issue? Additionally, what iOS version and device are you seeing this issue in? Is this a native iOS app or a ReactNative or Flutter app? Is it possible for you to provide a sample app?
We notice that the "finishWritingWithCompletionHandler" was called twice in a short time,native iOS app
@MRJYL Can you provide detailed steps to reproduce? Is this occurring on all iOS versions or devices? Is it possible for you to provide a sample app?
@MRJYL We have not been able to reproduce this issue. It would be helpful if you can provide detailed steps on to reproduce and a sample app to help understand how you are integrating and using the component.
Issue fixed in v1.2.5
I'm not sure this fix will work, the value of state always be . awaitingSingleFrame.
Maybe if assetWriter.status != .completed {...}
shoud be used here, I notice the state always be .awaitingSingleFrame here, It doesn't work as expected. @phantumcode
erminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '*** -[AVAssetWriter finishWritingWithCompletionHandler:] Cannot call method when status is 2