From b32d3a42b4f7a66c72af887ba88d30b64b8f175c Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Sun, 21 Feb 2016 15:44:07 -0500 Subject: various updates Former-commit-id: 856f39b345da94a05658a5e5c1b749cacc9203b3 --- www/js/DataModel.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'www/js/DataModel.js') diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 73b1d6b6..a64f52a2 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -37,7 +37,8 @@ angular.module('zmApp.controllers') 'streamingurl': "", 'maxFPS': "3", // image streaming FPS 'montageQuality': "50", // montage streaming quality in % - 'singleImageQuality': "50", // single streaming quality in % + 'singleImageQuality': "100", // single streaming quality in % + 'montageHistoryQuality':"50", 'useSSL':false, // "1" if HTTPS 'keepAwake':true, // don't dim/dim during live view 'isUseAuth':true, // true if user wants ZM auth @@ -282,6 +283,13 @@ angular.module('zmApp.controllers') } + if (typeof loginData.montageHistoryQuality == 'undefined') + { + zmDebug ("montageHistoryQuality does not exist. Setting to 50"); + loginData.montageHistoryQuality = "50"; + + } + zmLog ("DataModel init recovered this loginData as " + JSON.stringify(loginData)); } else -- cgit v1.2.3