Skip to content

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

remove params

roryclear4e8c074db9ee
diff --git a/clearcam/FileServer.m b/clearcam/FileServer.m
index 46b0713..0ba822a 100644
--- a/clearcam/FileServer.m
+++ b/clearcam/FileServer.m
@@ -454,11 +454,9 @@
NSTimeInterval startTimeStamp = [queryParams[@"start"] doubleValue];
NSTimeInterval endTimeStamp = [queryParams[@"end"] doubleValue];
- NSString *outputPath = [self processVideoDownloadWithLowRes:NO
+ NSString *outputPath = [self processVideoDownloadWithLowRes:YES
startTime:startTimeStamp
endTime:endTimeStamp
- queryParams:queryParams
- clientSocket:clientSocket
context:self.context];
if (!outputPath) {
@@ -1057,8 +1055,6 @@
- (NSString *)processVideoDownloadWithLowRes:(BOOL)low_res
startTime:(NSTimeInterval)startTimeStamp
endTime:(NSTimeInterval)endTimeStamp
- queryParams:(NSDictionary *)queryParams
- clientSocket:(int)clientSocket
context:(NSManagedObjectContext *)context {
NSDate *startDate = [NSDate dateWithTimeIntervalSince1970:startTimeStamp];
NSDate *endDate = [NSDate dateWithTimeIntervalSince1970:endTimeStamp];