react-native-screcorder
react-native-screcorder copied to clipboard
Issue when trying to save video
I had saving and view videos working but then started to get the following error. Does anyone have any idea what this may be? Thanks in advance!
Exception thrown while invoking save on target RNRecorderManager with params ( 19 ): *** -[AVAssetWriter initWithURL:fileType:error:] invalid parameter not satisfying: fileTypeString != ((void *)0)
+1 I run into the same issue today. Was working perfectly fine, but after some time it was not working anymore (same error message)
@maxs15 why was this closed?
I thought it was fixed, couldn't reproduce the error
At the moment it will work, when I reinitialise the camera by opening it again.
I did change beforehand this "if statement" https://github.com/maxs15/react-native-screcorder/blob/master/ios/RNRecorderManager.m#L24-L31like mentioned in the other issue. Maybe it is related, I will try it later without my modifications.