Skip to content

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

fix not updating link

roryclear89a8c6df978b
diff --git a/clearcam/ViewController.m b/clearcam/ViewController.m
index 7055ffd..28c6893 100644
--- a/clearcam/ViewController.m
+++ b/clearcam/ViewController.m
@@ -1395,9 +1395,9 @@ NSMutableDictionary *classColorMap;
NSString *uploadLink = json[@"upload_link"];
dispatch_async(dispatch_get_main_queue(), ^{
if (uploadLink && ![uploadLink isKindOfClass:[NSNull class]]) {
+ self.streamLink = uploadLink;
if (!self.isStreaming) {
NSLog(@"📤 Upload link received: %@", uploadLink);
- self.streamLink = uploadLink;
self.isStreaming = YES;
[self refreshView];
}