diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-06-11 19:42:58 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-06-11 19:42:58 -0400 |
| commit | 95e1dac3fee48321e0d53769e430fe5f5f01408f (patch) | |
| tree | f2a90ceac0795bd70b31a1fde5026ead27fba345 /www/js/MontageCtrl.js | |
| parent | dea409685ffb8f9476e44b4203c147e4a7a987a0 (diff) | |
#647 on pause - force quit if multi streaming is on
Diffstat (limited to 'www/js/MontageCtrl.js')
| -rw-r--r-- | www/js/MontageCtrl.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index 2a8be064..1f29a253 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -1308,7 +1308,7 @@ angular.module('zmApp.controllers') function viewCleanup() { - + currentStreamState = streamState.STOPPED; if (viewCleaned) { NVRDataModel.debug("Montage View Cleanup was already done, skipping"); return; @@ -1322,7 +1322,7 @@ angular.module('zmApp.controllers') broadcastHandles = []; - currentStreamState = streamState.STOPPED; + $timeout(function () { if (!$scope.singleMonitorModalOpen && simulStreaming) { NVRDataModel.debug("Killing all streams in montage to save memory/nw..."); @@ -1711,7 +1711,7 @@ angular.module('zmApp.controllers') var stream; if (currentStreamState == streamState.STOPPED || monitor.Monitor.listDisplay == 'noshow' || $rootScope.authSession == 'undefined') { - //console.log ("STREAM=empty and auth="+$rootScope.authSession); + // console.log ("STREAM=empty and auth="+$rootScope.authSession); return ""; } @@ -1733,7 +1733,7 @@ angular.module('zmApp.controllers') //"&rand="+$scope.randToAvoidCacheMem + - //console.log("STREAM=" + stream); + // console.log("STREAM=" + stream); return stream; }; |
