react-native-screcorder icon indicating copy to clipboard operation
react-native-screcorder copied to clipboard

Issue when trying to save video

Open ChrisPTsang opened this issue 9 years ago • 3 comments

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)

ChrisPTsang avatar Sep 08 '15 23:09 ChrisPTsang

+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?

ms88privat avatar Nov 12 '15 04:11 ms88privat

I thought it was fixed, couldn't reproduce the error

maxs15 avatar Nov 12 '15 14:11 maxs15

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.

ms88privat avatar Nov 12 '15 14:11 ms88privat