Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

even smaller for now

roryclear12ad1ba45b86
diff --git a/clearcam/FileServer.m b/clearcam/FileServer.m
index 8c47f7b..7ed682a 100644
--- a/clearcam/FileServer.m
+++ b/clearcam/FileServer.m
@@ -489,7 +489,7 @@
dispatch_semaphore_t trimSema = dispatch_semaphore_create(0);
__block NSInteger trimCount = 0;
- BOOL low_res = NO; // Toggle this to enable/disable quality adjustments
+ BOOL low_res = NO;
NSLog(@"Requested range: %.2f to %.2f (duration: %.2f seconds)", relativeStart, relativeEnd, requestedDuration);
@@ -555,7 +555,7 @@
exportSession.videoComposition = videoComposition;
exportSession.shouldOptimizeForNetworkUse = YES;
- exportSession.fileLengthLimit = 20 * 1024 * 1024 * (trimmedDuration / 60.0); // ~1 MB per minute
+ exportSession.fileLengthLimit = 5 * 1024 * 1024 * (trimmedDuration / 60.0); // ~1 MB per minute
}
trimCount++;