Updated save function README, updated video-caching example to test saving function

This commit is contained in:
Nicolas Gonzalez
2018-11-06 20:33:33 -06:00
parent dd1c6867ad
commit 8a3b6490dc
3 changed files with 24 additions and 4 deletions

View File

@@ -1390,7 +1390,7 @@ static int const RCTVideoUnset = -1;
if (exportSession != nil) {
NSString *path = nil;
NSArray *array = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
path = [self generatePathInDirectory:[[self cacheDirectoryPath] stringByAppendingPathComponent:@"Filter"]
path = [self generatePathInDirectory:[[self cacheDirectoryPath] stringByAppendingPathComponent:@"Videos"]
withExtension:@".mp4"];
NSURL *url = [NSURL fileURLWithPath:path];
exportSession.outputFileType = AVFileTypeMPEG4;