]> www.vanbest.org Git - motioneye-debian/commitdiff
fixed frozen cameras after exiting full screen
authorCalin Crisan <ccrisan@gmail.com>
Thu, 17 Dec 2015 12:59:27 +0000 (14:59 +0200)
committerCalin Crisan <ccrisan@gmail.com>
Thu, 17 Dec 2015 12:59:34 +0000 (14:59 +0200)
extra/motioneye.conf.sample
motioneye/static/js/main.js

index ec3189d247d85dd9ab348762316b44292d5a00ed..552f6998d97479dc25b82feff9c3fd53a7e641e5 100644 (file)
@@ -77,7 +77,7 @@ enable_reboot false
 # timeout in seconds to use when talking to the SMTP server
 smtp_timeout 60
 
-# timeout in seconds to wait media files list
+# timeout in seconds to wait for media files list
 list_media_timeout 120
 
 # timeout in seconds to wait for zip file creation
index 957a3260645a07c54f74a58490b3901201cb2a2f..9848f131824af053ec9ac9632e962c3f083b1240 100644 (file)
@@ -4027,10 +4027,6 @@ function addCameraFrameUi(cameraConfig) {
         fpsSpan.html('');
     };
     cameraImg[0].onload = function () {
-        if (refreshDisabled[cameraId]) {
-            return; /* refresh temporarily disabled for updating */
-        }
-        
         if (this.error) {
             cameraImg.removeClass('error');
             cameraPlaceholder.css('opacity', 0);
@@ -4214,7 +4210,7 @@ function doExitFullScreenCamera() {
     if (fullScreenCameraId == null) {
         return; /* no current full-screen camera */
     }
-        
+
     getCameraFrames().
             removeClass('full-screen-hidden').
             css('height', '');