Skip to content

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

clean

roryclear9c7813262537
diff --git a/mainview.html b/mainview.html
index 311d5a1..1c8750b 100644
--- a/mainview.html
+++ b/mainview.html
@@ -1451,9 +1451,6 @@
const activeVideoStreams = new Map();
let wasHidden = false;
let currentStreamDate = new Date().toLocaleDateString('en-CA');
- let userIsInteracting = false;
-
-
let zoneEditorState = {
polygonSvg: null,
@@ -1485,28 +1482,6 @@
});
- function isToday(dateString) {
- const today = new Date().toLocaleDateString('en-CA');
- return dateString === today;
- }
-
- function setupUserInteractionTracking(video) {
- video.addEventListener('seeking', () => {
- userIsInteracting = true;
- console.log('User is scrubbing - disabling auto-seek');
- });
-
- video.addEventListener('seeked', () => {
- setTimeout(() => {
- userIsInteracting = false;
- }, 3000);
- });
-
- video.addEventListener('play', () => {
- userIsInteracting = false;
- });
- }
-
function restartAllStreams() {
console.log('Restarting all streams for date:', currentStreamDate);