Add object detection, tracking, mobile notifications, and search to any security camera.
fix live / start param
roryclear1efda992e970
diff --git a/clearcam/player.html b/clearcam/player.htmlindex 99d72c5..9099d5e 100644--- a/clearcam/player.html+++ b/clearcam/player.html@@ -1019,7 +1019,9 @@currentSegment = i;}videoPlayers[video_index].src = segments[currentSegment].url;- videoPlayers[video_index].currentTime = segments[currentSegment].duration;+ if(!startParam){ //play start of segment if start param, otherwise go to live+ videoPlayers[video_index].currentTime = segments[currentSegment].duration;+ }videoPlayers[video_index].play().catch(() => {});}//alert(segments.length);