diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-12-10 10:57:03 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-12-10 10:57:03 -0500 |
| commit | 50196b63876e11074222f1de069728b90da5bfec (patch) | |
| tree | f0b7710f45e7007b85064a9376875d24d41c7ba2 /www/js/MonitorModalCtrl.js | |
| parent | 53ce2196f05162cd0bc49e900e26738a6c3ac34b (diff) | |
meh meh
Diffstat (limited to 'www/js/MonitorModalCtrl.js')
| -rw-r--r-- | www/js/MonitorModalCtrl.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/www/js/MonitorModalCtrl.js b/www/js/MonitorModalCtrl.js index a14180d4..5f3f0c4d 100644 --- a/www/js/MonitorModalCtrl.js +++ b/www/js/MonitorModalCtrl.js @@ -1286,16 +1286,17 @@ angular.module('zmApp.controllers').controller('MonitorModalCtrl', ['$scope', '$ stream = $scope.monitor.Monitor.streamingURL + "/nph-zms?mode=" + getSingleStreamMode() + "&monitor=" + $scope.monitorId + - "&scale=" + scale + - '&buffer=1000'; + "&scale=" + scale; if (fps) { stream +='&maxfps='+fps; } stream += $rootScope.authSession + - "&rand=" + $rootScope.modalRand + appendSingleStreamConnKey(); + if (currentStreamState != streamState.SNAPSHOT_LOWQUALITY) + stream += "&rand=" + $rootScope.modalRand + "&buffer=1000"; + //console.log ("STREAM="+stream); if (stream) stream += NVR.insertBasicAuthToken(); |
