summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-04-08 08:20:02 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-04-08 08:20:02 -0400
commit2100647d8d981e9ff53238a6ccacd83f66714a3f (patch)
tree59446ebd7c9cacacbaf0f4055e403e885f16dfff /www/js/DataModel.js
parentfc96f6904c6581ffb21e47bce9120c3a83ac37e8 (diff)
#606 made simulstreaming optional
Diffstat (limited to 'www/js/DataModel.js')
-rwxr-xr-xwww/js/DataModel.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 393cfd89..f930be8d 100755
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -176,7 +176,8 @@ angular.module('zmApp.controllers')
'momentMonitorFilter': [],
'enableMomentSubMenu': true,
'momentArrangeBy': 'StartTime',
- 'showLiveForInProgressEvents': true
+ 'showLiveForInProgressEvents': true,
+ 'disableSimulStreaming': false,
};
@@ -843,6 +844,12 @@ angular.module('zmApp.controllers')
loginData.defaultPushSound = false;
}
+
+ if (typeof loginData.disableSimulStreaming == 'undefined') {
+
+ loginData.disableSimulStreaming = false;
+ }
+
if (typeof loginData.exitOnSleep == 'undefined') {
debug("exitOnSleep does not exist. Setting to false");
loginData.exitOnSleep = false;