diff options
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r-- | www/js/DataModel.js | 10 |
1 files changed, 9 insertions, 1 deletions
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 |
