ZoneMinder / zmNinja

High performance, cross platform ionic app for Home/Commerical Security Surveillance using ZoneMinder

Home Page:http://zmninja.zoneminder.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no video output on app

mpl1337 opened this issue · comments

The version of zmNinja you are reporting:

1.7.002

The version and OS of ZoneMinder you are using:

Debian 12 bookworm
ZM: v1.36.33

Platform zmNinja is running on

Android 13 on Xiaomi 13T pro

Did you build the package from source code yourself?

N, Playstore

Describe the bug
i cant see streams in the app, Desktop version works fine

Debug logs

Jan 4, 2024 11:11:54:668 AM DEBUG CACHE: cached value for key:cached_zmgroups is good as 26 <3600
Jan 4, 2024 11:11:54:667 AM DEBUG CACHE: found for key: cached_zmgroups with expiry of:3600s
Jan 4, 2024 11:11:54:661 AM DEBUG Loading hidden/unhidden status for profile:__reorder__
Jan 4, 2024 11:11:54:661 AM DEBUG Storing streaming=http://192.168.178.180/zm/cgi-bin recording=http://192.168.178.180/zm
Jan 4, 2024 11:11:54:661 AM DEBUG No servers matched, filling defaults...
Jan 4, 2024 11:11:54:660 AM DEBUG Storing streaming=http://192.168.178.180/zm/cgi-bin recording=http://192.168.178.180/zm
Jan 4, 2024 11:11:54:660 AM DEBUG No servers matched, filling defaults...
Jan 4, 2024 11:11:54:660 AM DEBUG Storing streaming=http://192.168.178.180/zm/cgi-bin recording=http://192.168.178.180/zm
Jan 4, 2024 11:11:54:660 AM DEBUG No servers matched, filling defaults...
Jan 4, 2024 11:11:54:660 AM DEBUG default multi-server protocol will be:http://
Jan 4, 2024 11:11:54:660 AM INFO multi server list loaded
Jan 4, 2024 11:11:54:660 AM DEBUG deobfuscate: before:20 after:23 scheme:lzs
Jan 4, 2024 11:11:54:660 AM DEBUG CACHE: decryption requested
Jan 4, 2024 11:11:54:660 AM DEBUG CACHE: cached value for key:cached_multi_servers is good as 26 <86400
Jan 4, 2024 11:11:54:659 AM DEBUG CACHE: found for key: cached_multi_servers with expiry of:86400s
Jan 4, 2024 11:11:54:654 AM INFO Monitor load was successful, loaded 3 monitors
Jan 4, 2024 11:11:54:654 AM DEBUG Now trying to get multi-server data, if present
Jan 4, 2024 11:11:54:654 AM DEBUG Inside getMonitors, will also regen connkeys
Jan 4, 2024 11:11:54:654 AM DEBUG Loading hidden/unhidden status for profile:__reorder__
Jan 4, 2024 11:11:54:654 AM INFO Now that we have monitors, lets get AuthKey...
Jan 4, 2024 11:11:54:654 AM DEBUG After duplicate processing, we have: 3 monitors
Jan 4, 2024 11:11:54:654 AM DEBUG Before duplicate processing, we have: 3 monitors
Jan 4, 2024 11:11:54:654 AM DEBUG CACHE: cached monitor data type is:object
Jan 4, 2024 11:11:54:654 AM DEBUG deobfuscate: before:1959 after:7280 scheme:lzs
Jan 4, 2024 11:11:54:653 AM DEBUG CACHE: decryption requested
Jan 4, 2024 11:11:54:653 AM DEBUG CACHE: cached value for key:cached_monitors is good as 27 <86400
Jan 4, 2024 11:11:54:650 AM DEBUG CACHE: found for key: cached_monitors with expiry of:86400s
Jan 4, 2024 11:11:54:649 AM DEBUG Monitor URL to fetch is:http://192.168.178.180/zm/api/monitors/index/Type !=:WebSite.json?
Jan 4, 2024 11:11:54:649 AM DEBUG ZMS Multiport reported: 0
Jan 4, 2024 11:11:54:649 AM INFO sending stored ZM_MIN_STREAMING_PORT 0
Jan 4, 2024 11:11:54:640 AM DEBUG obfuscate: original:6169 obfuscated:1627 scheme:lzs
Jan 4, 2024 11:11:54:637 AM DEBUG ZM State has not changed, still at default
Jan 4, 2024 11:11:54:621 AM DEBUG Cancelling eventQueryInterval
Jan 4, 2024 11:11:54:616 AM INFO getMonitors:Force reloading all monitors
Jan 4, 2024 11:11:54:615 AM DEBUG Monitor Control afterEnter
Jan 4, 2024 11:11:54:603 AM DEBUG NVR: killing Dahua live stream ck:53798
Jan 4, 2024 11:11:54:603 AM DEBUG Killing all streams in montage to save memory/nw...
Jan 4, 2024 11:11:54:581 AM INFO Cancelling event query timer
Jan 4, 2024 11:11:54:143 AM DEBUG Control: Sending http://192.168.178.180/zm/index.php?view=request&request=stream&connkey=53798&command=99
Jan 4, 2024 11:11:49:633 AM DEBUG Control: Sending http://192.168.178.180/zm/index.php?view=request&request=stream&connkey=53798&command=14&offset=4
Jan 4, 2024 11:11:49:632 AM DEBUG Sending CMD:14 for monitor Dahua
Jan 4, 2024 11:11:49:631 AM DEBUG Slider called with mid=2 progress=4
Jan 4, 2024 11:11:49:143 AM DEBUG Control: Sending http://192.168.178.180/zm/index.php?view=request&request=stream&connkey=53798&command=99
Jan 4, 2024 11:11:47:416 AM DEBUG Control: Sending http://192.168.178.180/zm/index.php?view=request&request=stream&connkey=53798&command=14&offset=0
Jan 4, 2024 11:11:47:416 AM DEBUG Sending CMD:14 for monitor Dahua
Jan 4, 2024 11:11:47:412 AM DEBUG Slider called with mid=2 progress=0
Jan 4, 2024 11:11:45:157 AM INFO Force calling resize
Jan 4, 2024 11:11:44:156 AM DEBUG All images loaded
Jan 4, 2024 11:11:44:140 AM DEBUG Re-creating packery and draggy
Jan 4, 2024 11:11:44:095 AM DEBUG Monitor 3:Monitor-3 does not have events, trying http://192.168.178.180/zm/api/events/index/MonitorId:3/StartTime >=:2024-01-04 00:00/AlarmFrames >=:1.json?
Jan 4, 2024 11:11:44:093 AM DEBUG Monitor 1:Monitor-1 does not have events, trying http://192.168.178.180/zm/api/events/index/MonitorId:1/StartTime >=:2024-01-04 00:00/AlarmFrames >=:1.json?
Jan 4, 2024 11:11:44:092 AM INFO Making sure all monitors have a fair chance...
Jan 4, 2024 11:11:44:092 AM DEBUG Got 8new history events...
Jan 4, 2024 11:11:44:064 AM INFO Grabbing history using: http://192.168.178.180/zm/api/events/index/StartTime >=:2024-01-04 00:00/AlarmFrames >=:1.json?sort=StartTime&direction=asc
Jan 4, 2024 11:11:44:061 AM DEBUG >>Initializing monitor array with history specific stuff...
Jan 4, 2024 11:11:44:061 AM DEBUG Killing existing streams, if alive...
Jan 4, 2024 11:11:44:058 AM INFO Converted From: 2024-01-04 00:00 Converted To: 2024-01-04 11:11
Jan 4, 2024 11:11:44:058 AM INFO Original From: 2024-01-04 00:00 Original To: 2024-01-04 11:11
Jan 4, 2024 11:11:44:057 AM INFO Local timezone conversion is on, converting from Europe/Berlin to Europe/Berlin
Jan 4, 2024 11:11:44:057 AM DEBUG Inside footerCollapse
Jan 4, 2024 11:11:44:056 AM DEBUG Calling footerCollapse from doInit
Jan 4, 2024 11:11:43:851 AM DEBUG fake call to footerCollapse - ignoring
Jan 4, 2024 11:11:43:849 AM DEBUG Inside footerCollapse
Jan 4, 2024 11:11:43:585 AM DEBUG query timer started
Jan 4, 2024 11:11:43:584 AM DEBUG **VIEW ** MontageHistory Ctrl Entered
Jan 4, 2024 11:11:43:554 AM INFO Limiting montage to 5, thanks to max connection  per domain limit
Jan 4, 2024 11:11:43:554 AM INFO Inside MontageHistoryCtrl:We found 3 monitors
Jan 4, 2024 11:11:43:553 AM DEBUG >>Initializing connkeys and images...
Jan 4, 2024 11:11:43:553 AM DEBUG getMonitorsNow: returning 3 monitors
Jan 4, 2024 11:11:43:553 AM DEBUG NVR: Regenerating connkeys for all monitors at 1704363103553
Jan 4, 2024 11:11:43:521 AM DEBUG obfuscate: original:6169 obfuscated:1627 scheme:lzs
Jan 4, 2024 11:11:43:518 AM DEBUG ZM State has not changed, still at default
Jan 4, 2024 11:11:43:478 AM INFO Returning pre-loaded list of 3 monitors
Jan 4, 2024 11:11:42:380 AM DEBUG Modal is closed, so toggling or exiting
Jan 4, 2024 11:11:41:006 AM DEBUG Forcing stream to regular quality, imageLoaded() was never called
Jan 4, 2024 11:11:35:051 AM DEBUG Deregistering handlers for multi-window
Jan 4, 2024 11:11:32:882 AM DEBUG NVR: killing  live stream ck:741552
Jan 4, 2024 11:11:32:882 AM DEBUG Single monitor exited killing stream
Jan 4, 2024 11:11:32:879 AM DEBUG Deregistering handlers for multi-window
Jan 4, 2024 11:11:32:869 AM INFO Restarting montage timers...
Jan 4, 2024 11:11:32:868 AM DEBUG Modal is open, closing it
Jan 4, 2024 11:11:31:156 AM DEBUG window resized
Jan 4, 2024 11:11:31:145 AM DEBUG resize/orient: 407(w) * 822(h)
Jan 4, 2024 11:11:31:084 AM INFO configurePTZ 2 is not PTZ controllable
Jan 4, 2024 11:11:31:046 AM DEBUG configurePTZ: called with mid=2
Jan 4, 2024 11:11:31:044 AM DEBUG MonitorModal: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Jan 4, 2024 11:11:31:005 AM DEBUG Setting streamQuery timer to 10000
Jan 4, 2024 11:11:31:005 AM DEBUG MonitorModalCtrl called from app.montage
Jan 4, 2024 11:11:31:005 AM INFO Using stream mode single
Jan 4, 2024 11:11:30:988 AM INFO Cancelling montage timer, opening Modal
Jan 4, 2024 11:11:30:986 AM DEBUG MontageCtrl: Open Monitor Modal with monitor Id=2 and Controllable:0 with control ID:null
Jan 4, 2024 11:11:30:059 AM DEBUG obfuscate: original:6169 obfuscated:1627 scheme:lzs
Jan 4, 2024 11:11:30:055 AM DEBUG Updating monitor:2 event check time (server tz) to 2024-01-04 10:07:10
Jan 4, 2024 11:11:29:252 AM DEBUG saved new positions: [{"attr":"1","size":"50","display":"show","x":0.5,"y":0},{"attr":"2","size":"50","display":"show","x":0,"y":0},{"attr":"3","size":"50","display":"show","x":0.5,"y":0}]
Jan 4, 2024 11:11:29:252 AM DEBUG obfuscate: original:6169 obfuscated:1626 scheme:lzs
Jan 4, 2024 11:11:29:246 AM DEBUG inside drag items:doing the jiggle and dance...
Jan 4, 2024 11:11:28:628 AM DEBUG All images loaded, doing image layout
Jan 4, 2024 11:11:28:628 AM INFO Arranging as per packery grid
Jan 4, 2024 11:11:28:626 AM DEBUG All images loaded, switching to snapshot...
Jan 4, 2024 11:11:28:623 AM DEBUG Calling initPackery() with layout as:undefined
Jan 4, 2024 11:11:28:623 AM DEBUG You manually messed with the profile, so skipping all matches
Jan 4, 2024 11:11:28:622 AM DEBUG You manually messed with the profile, so skipping all matches
Jan 4, 2024 11:11:28:305 AM INFO --------->Setting up global key handler...
Jan 4, 2024 11:11:28:305 AM INFO --------->Setting up network state handlers....
Jan 4, 2024 11:11:28:120 AM DEBUG MontageCtrl: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Jan 4, 2024 11:11:28:119 AM INFO Inside Montage Ctrl:We found 3 monitors
Jan 4, 2024 11:11:28:119 AM DEBUG skipping image refresh, packery is still loading
Jan 4, 2024 11:11:28:109 AM DEBUG Setting up cycle interval of:10000
Jan 4, 2024 11:11:28:108 AM DEBUG bandwidth: highbw montage refresh set to: 2
Jan 4, 2024 11:11:28:073 AM DEBUG Multiport=0
Jan 4, 2024 11:11:28:070 AM INFO sending stored ZM_MIN_STREAMING_PORT 0
Jan 4, 2024 11:11:28:070 AM DEBUG Montage beforeEnter: copying monitors to montage monitors
Jan 4, 2024 11:11:28:070 AM DEBUG You manually messed with the profile, so skipping all matches
Jan 4, 2024 11:11:28:069 AM DEBUG Montage beforeEnter: got 3 monitors
Jan 4, 2024 11:11:28:067 AM DEBUG Setting streamQuery timer to 10000
Jan 4, 2024 11:11:28:055 AM DEBUG CACHE: storing key data in cache now, with expiry of 3600
Jan 4, 2024 11:11:28:055 AM DEBUG HTTP function in cache returned:object
Jan 4, 2024 11:11:28:038 AM DEBUG CACHE: NOT found for:cached_zmgroups reverting to HTTP
Jan 4, 2024 11:11:28:037 AM DEBUG Loading hidden/unhidden status for profile:__reorder__
Jan 4, 2024 11:11:28:037 AM DEBUG Storing streaming=http://192.168.178.180/zm/cgi-bin recording=http://192.168.178.180/zm
Jan 4, 2024 11:11:28:037 AM DEBUG No servers matched, filling defaults...
Jan 4, 2024 11:11:28:037 AM DEBUG Storing streaming=http://192.168.178.180/zm/cgi-bin recording=http://192.168.178.180/zm
Jan 4, 2024 11:11:28:037 AM DEBUG No servers matched, filling defaults...
Jan 4, 2024 11:11:28:036 AM DEBUG Storing streaming=http://192.168.178.180/zm/cgi-bin recording=http://192.168.178.180/zm
Jan 4, 2024 11:11:28:036 AM DEBUG No servers matched, filling defaults...
Jan 4, 2024 11:11:28:036 AM DEBUG default multi-server protocol will be:http://
Jan 4, 2024 11:11:28:036 AM INFO multi server list loaded
Jan 4, 2024 11:11:28:029 AM DEBUG obfuscate: original:23 obfuscated:20 scheme:lzs
Jan 4, 2024 11:11:28:029 AM DEBUG CACHE: encrypting request
Jan 4, 2024 11:11:28:029 AM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 4, 2024 11:11:28:029 AM DEBUG HTTP function in cache returned:object
Jan 4, 2024 11:11:28:012 AM DEBUG CACHE: NOT found for:cached_multi_servers reverting to HTTP
Jan 4, 2024 11:11:28:009 AM INFO Monitor load was successful, loaded 3 monitors
Jan 4, 2024 11:11:28:009 AM DEBUG Now trying to get multi-server data, if present
Jan 4, 2024 11:11:28:009 AM DEBUG Inside getMonitors, will also regen connkeys
Jan 4, 2024 11:11:28:009 AM DEBUG Loading hidden/unhidden status for profile:__reorder__
Jan 4, 2024 11:11:28:009 AM INFO Now that we have monitors, lets get AuthKey...
Jan 4, 2024 11:11:28:009 AM DEBUG After duplicate processing, we have: 3 monitors
Jan 4, 2024 11:11:28:009 AM DEBUG Before duplicate processing, we have: 3 monitors
Jan 4, 2024 11:11:28:008 AM DEBUG CACHE: cached monitor data type is:object
Jan 4, 2024 11:11:27:996 AM DEBUG obfuscate: original:7280 obfuscated:1959 scheme:lzs
Jan 4, 2024 11:11:27:994 AM DEBUG CACHE: encrypting request
Jan 4, 2024 11:11:27:994 AM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 4, 2024 11:11:27:993 AM DEBUG HTTP function in cache returned:object
Jan 4, 2024 11:11:27:974 AM DEBUG CACHE: NOT found for:cached_monitors reverting to HTTP
Jan 4, 2024 11:11:27:973 AM DEBUG Monitor URL to fetch is:http://192.168.178.180/zm/api/monitors/index/Type !=:WebSite.json?
Jan 4, 2024 11:11:27:973 AM DEBUG ZMS Multiport reported: 0
Jan 4, 2024 11:11:27:973 AM DEBUG ZM_MIN_STREAMING_PORT not configured, disabling
Jan 4, 2024 11:11:27:973 AM DEBUG Setting multi-port to:false
Jan 4, 2024 11:11:27:968 AM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 4, 2024 11:11:27:967 AM DEBUG HTTP function in cache returned:object
Jan 4, 2024 11:11:27:950 AM DEBUG CACHE: NOT found for:cached_multi_port reverting to HTTP
Jan 4, 2024 11:11:27:949 AM DEBUG Checking value of ZM_MIN_STREAMING_PORT for the first time
Jan 4, 2024 11:11:27:929 AM DEBUG obfuscate: original:6169 obfuscated:1626 scheme:lzs
Jan 4, 2024 11:11:27:925 AM DEBUG ZM State has not changed, still at default
Jan 4, 2024 11:11:27:890 AM INFO getMonitors:Loading all monitors
Jan 4, 2024 11:11:27:889 AM DEBUG NVR: Regenerating connkeys for all monitors at 1704363087889
Jan 4, 2024 11:11:25:761 AM INFO ZM has recaptcha disabled - good
Jan 4, 2024 11:11:25:614 AM DEBUG Timezone API response is:Europe/Berlin
Jan 4, 2024 11:11:25:608 AM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 4, 2024 11:11:25:608 AM DEBUG HTTP function in cache returned:object
Jan 4, 2024 11:11:25:596 AM DEBUG Real value of PRIVACY is:0
Jan 4, 2024 11:11:25:592 AM DEBUG current version: 1.7.002 & available version 1.7.003
Jan 4, 2024 11:11:25:582 AM DEBUG CACHE: NOT found for:cached_timezone reverting to HTTP
Jan 4, 2024 11:11:25:556 AM DEBUG Transitioning state to: app.log with param {}
Jan 4, 2024 11:11:25:554 AM INFO EventServer: No Event Server present. Not initializing
Jan 4, 2024 11:11:25:554 AM INFO First invocation of TimeZone, asking server
Jan 4, 2024 11:11:25:553 AM INFO Got API version: 1.36.33
Jan 4, 2024 11:11:25:552 AM DEBUG getAPI version succeeded with 1.36.33
Jan 4, 2024 11:11:25:552 AM DEBUG Setting server version to:1.36.33
Jan 4, 2024 11:11:25:552 AM DEBUG obfuscate: original:6169 obfuscated:1626 scheme:lzs
Jan 4, 2024 11:11:25:547 AM DEBUG snapshot  supported in image.php
Jan 4, 2024 11:11:25:543 AM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 4, 2024 11:11:25:543 AM DEBUG HTTP function in cache returned:object
Jan 4, 2024 11:11:25:506 AM DEBUG CACHE: NOT found for:cached_api_version reverting to HTTP
Jan 4, 2024 11:11:25:493 AM DEBUG getAPIversion called with http://192.168.178.180/zm/api/host/getVersion.json?
Jan 4, 2024 11:11:25:492 AM DEBUG PortalLogin: auth success
Jan 4, 2024 11:11:25:491 AM DEBUG auth not being used, not creating banner
Jan 4, 2024 11:11:25:490 AM INFO Auth is disabled, setting authSession to empty
Jan 4, 2024 11:11:25:489 AM DEBUG Resetting zmCookie...
Jan 4, 2024 11:11:25:486 AM INFO Checking if reCaptcha is enabled in ZM...
Jan 4, 2024 11:11:25:485 AM DEBUG Inside _doLogin()
Jan 4, 2024 11:11:25:484 AM INFO No need for logout!
Jan 4, 2024 11:11:25:481 AM INFO No need to do a reachability test, as there are no fallbacks
Jan 4, 2024 11:11:25:481 AM INFO reached end of chain loop
Jan 4, 2024 11:11:25:481 AM INFO Fallback of 192.168.178.180 is 
Jan 4, 2024 11:11:25:480 AM INFO Adding to chain stack: 192.168.178.180>http://192.168.178.180/zm
Jan 4, 2024 11:11:25:480 AM DEBUG _doLogoutAndLogin: Clearing cookies
Jan 4, 2024 11:11:25:480 AM DEBUG We will relogin every 1800 seconds, token supported=false
Jan 4, 2024 11:11:25:480 AM INFO Cancelling zmAutologin timer
Jan 4, 2024 11:11:25:479 AM DEBUG PIN code entered is correct, or there is no PIN set
Jan 4, 2024 11:11:25:479 AM DEBUG unlock called with check PIN=true
Jan 4, 2024 11:11:25:479 AM INFO not checking for touchID
Jan 4, 2024 11:11:25:479 AM INFO User credentials are provided
Jan 4, 2024 11:11:25:478 AM DEBUG Inside Portal login Enter handler
Jan 4, 2024 11:11:25:428 AM INFO Entering Portal Main
Jan 4, 2024 11:11:25:410 AM DEBUG resize/orient: 407(w) * 822(h)
Jan 4, 2024 11:11:25:405 AM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Jan 4, 2024 11:11:25:403 AM INFO Inside init-complete in app.js: All init over, going to portal login
Jan 4, 2024 11:11:25:403 AM INFO >>> Android: enabling inline image view for self signed certs
Jan 4, 2024 11:11:25:402 AM INFO >>>> Disabling strict SSL checking (turn off  in Dev Options if you can't connect)
Jan 4, 2024 11:11:25:402 AM DEBUG Setting cordova header X-ZmNinja to zmNinja_1.7.002
Jan 4, 2024 11:11:25:402 AM INFO NVR init retrieved store loginData, marking init as complete
Jan 4, 2024 11:11:25:402 AM INFO Setting NVR init bandwidth to: highbw
Jan 4, 2024 11:11:25:401 AM INFO Invalid onTap setting found, resetting. I got Übersicht
Jan 4, 2024 11:11:25:396 AM DEBUG deobfuscate: before:1626 after:6169 scheme:lzs
Jan 4, 2024 11:11:25:394 AM INFO user profile encrypted, decoding...
Jan 4, 2024 11:11:25:386 AM DEBUG Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Jan 4, 2024 11:11:25:386 AM INFO Setting up pause and resume handler AFTER language is loaded...
Jan 4, 2024 11:11:25:367 AM INFO Checking for new version updates...
Jan 4, 2024 11:11:25:363 AM INFO ZMData init: checking for stored variables & setting up log file
Jan 4, 2024 11:11:25:363 AM INFO Language file loaded, continuing with rest
Jan 4, 2024 11:11:25:362 AM DEBUG last state=app.log param=[object Object]
Jan 4, 2024 11:11:25:362 AM DEBUG isFirstUse returned: false
Jan 4, 2024 11:11:25:360 AM INFO >>>>Language to be used:undefined
Jan 4, 2024 11:11:25:359 AM INFO Device Language is:de
Jan 4, 2024 11:11:25:341 AM INFO Language stored as:de
Jan 4, 2024 11:11:25:341 AM INFO App Version: 1.7.002
Jan 4, 2024 11:11:25:339 AM INFO Retrieving language before init is called...
Jan 4, 2024 11:11:25:334 AM INFO Updating statusbar
Jan 4, 2024 11:11:25:334 AM INFO >>>>No data to import....
Jan 4, 2024 11:11:25:333 AM INFO Cloudsync operation complete, continuing...
Jan 4, 2024 11:11:25:333 AM INFO Cloud sync is disabled, exiting...
Jan 4, 2024 11:11:25:332 AM DEBUG deobfuscate: before:1626 after:6169 scheme:lzs
Jan 4, 2024 11:11:25:330 AM INFO user profile encrypted, decoding...
Jan 4, 2024 11:11:25:330 AM INFO CloudSync: Syncing with cloud if enabled...
Jan 4, 2024 11:11:25:329 AM INFO localforage driver:asyncStorage
Jan 4, 2024 11:11:25:329 AM DEBUG configureStorageDB:test get/set worked, this driver is ok...
Jan 4, 2024 11:11:25:327 AM DEBUG resize/orient: 407(w) * 822(h)
Jan 4, 2024 11:11:25:317 AM INFO Got permission to post notifications
Jan 4, 2024 11:11:25:314 AM INFO No permission to post notifications
Jan 4, 2024 11:11:25:309 AM DEBUG configureStorageDB:Making sure this storage driver works...
Jan 4, 2024 11:11:25:309 AM INFO configureStorageDB:localforage driver for storage:asyncStorage
Jan 4, 2024 11:11:25:297 AM DEBUG configureStorageDB: trying order:["asyncStorage","localStorageWrapper"]
Jan 4, 2024 11:11:25:297 AM DEBUG Inside configureStorageDB
Jan 4, 2024 11:11:25:297 AM INFO You are running on android
Jan 4, 2024 11:11:25:297 AM DEBUG UA is mozilla/5.0 (linux; android 13; 23078pnd5g build/tp1a.220624.014; wv) applewebkit/537.36 (khtml, like gecko) version/4.0 chrome/120.0.6099.144 mobile safari/537.36
Jan 4, 2024 11:11:25:296 AM INFO setting size
Jan 4, 2024 11:11:25:296 AM INFO Device is ready
Jan 4, 2024 11:11:25:295 AM INFO ******* app .run device ready
Jan 4, 2024 11:11:17:739 AM DEBUG obfuscate: original:6169 obfuscated:1626 scheme:lzs
Jan 4, 2024 11:11:17:719 AM DEBUG CACHE: Flushing all network API caches...
Jan 4, 2024 11:11:17:714 AM DEBUG CACHE: Clearing all unsupported flags
Jan 4, 2024 11:11:15:346 AM INFO --------->Setting up global key handler...
Jan 4, 2024 11:11:15:346 AM INFO --------->Setting up network state handlers....
Jan 4, 2024 11:11:12:789 AM DEBUG current version: 1.7.002 & available version 1.7.003
Jan 4, 2024 11:11:12:777 AM INFO ZM has recaptcha disabled - good
Jan 4, 2024 11:11:12:559 AM DEBUG Timezone API response is:Europe/Berlin
Jan 4, 2024 11:11:12:558 AM DEBUG CACHE: cached value for key:cached_timezone is good as 310 <86400
Jan 4, 2024 11:11:12:558 AM DEBUG CACHE: found for key: cached_timezone with expiry of:86400s
Jan 4, 2024 11:11:12:550 AM DEBUG Real value of PRIVACY is:0
Jan 4, 2024 11:11:12:509 AM DEBUG Transitioning state to: app.log with param {}
Jan 4, 2024 11:11:12:506 AM INFO EventServer: No Event Server present. Not initializing
Jan 4, 2024 11:11:12:506 AM INFO First invocation of TimeZone, asking server
Jan 4, 2024 11:11:12:505 AM INFO Got API version: 1.36.33
Jan 4, 2024 11:11:12:503 AM DEBUG getAPI version succeeded with 1.36.33
Jan 4, 2024 11:11:12:503 AM DEBUG Setting server version to:1.36.33
Jan 4, 2024 11:11:12:503 AM DEBUG obfuscate: original:6169 obfuscated:1626 scheme:lzs
Jan 4, 2024 11:11:12:499 AM DEBUG snapshot  supported in image.php
Jan 4, 2024 11:11:12:498 AM DEBUG CACHE: cached value for key:cached_api_version is good as 310 <86400
Jan 4, 2024 11:11:12:495 AM DEBUG CACHE: found for key: cached_api_version with expiry of:86400s
Jan 4, 2024 11:11:12:488 AM DEBUG getAPIversion called with http://192.168.178.180/zm/api/host/getVersion.json?
Jan 4, 2024 11:11:12:487 AM DEBUG PortalLogin: auth success
Jan 4, 2024 11:11:12:486 AM DEBUG auth not being used, not creating banner
Jan 4, 2024 11:11:12:486 AM INFO Auth is disabled, setting authSession to empty
Jan 4, 2024 11:11:12:486 AM DEBUG Resetting zmCookie...
Jan 4, 2024 11:11:12:480 AM INFO Checking if reCaptcha is enabled in ZM...
Jan 4, 2024 11:11:12:480 AM DEBUG Inside _doLogin()
Jan 4, 2024 11:11:12:479 AM INFO No need for logout!
Jan 4, 2024 11:11:12:471 AM INFO No need to do a reachability test, as there are no fallbacks
Jan 4, 2024 11:11:12:471 AM INFO reached end of chain loop
Jan 4, 2024 11:11:12:471 AM INFO Fallback of 192.168.178.180 is 
Jan 4, 2024 11:11:12:471 AM INFO Adding to chain stack: 192.168.178.180>http://192.168.178.180/zm
Jan 4, 2024 11:11:12:470 AM DEBUG _doLogoutAndLogin: Clearing cookies
Jan 4, 2024 11:11:12:470 AM DEBUG We will relogin every 1800 seconds, token supported=false
Jan 4, 2024 11:11:12:470 AM INFO Cancelling zmAutologin timer
Jan 4, 2024 11:11:12:470 AM DEBUG PIN code entered is correct, or there is no PIN set
Jan 4, 2024 11:11:12:470 AM DEBUG unlock called with check PIN=true
Jan 4, 2024 11:11:12:470 AM INFO not checking for touchID
Jan 4, 2024 11:11:12:470 AM INFO User credentials are provided
Jan 4, 2024 11:11:12:470 AM DEBUG Inside Portal login Enter handler
Jan 4, 2024 11:11:12:444 AM INFO Entering Portal Main
Jan 4, 2024 11:11:12:425 AM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Jan 4, 2024 11:11:12:422 AM INFO Inside init-complete in app.js: All init over, going to portal login
Jan 4, 2024 11:11:12:421 AM INFO >>> Android: enabling inline image view for self signed certs
Jan 4, 2024 11:11:12:418 AM INFO >>>> Disabling strict SSL checking (turn off  in Dev Options if you can't connect)
Jan 4, 2024 11:11:12:418 AM DEBUG Setting cordova header X-ZmNinja to zmNinja_1.7.002
Jan 4, 2024 11:11:12:418 AM INFO NVR init retrieved store loginData, marking init as complete
Jan 4, 2024 11:11:12:417 AM INFO Setting NVR init bandwidth to: highbw
Jan 4, 2024 11:11:12:417 AM INFO Invalid onTap setting found, resetting. I got Übersicht
Jan 4, 2024 11:11:12:416 AM DEBUG deobfuscate: before:1626 after:6169 scheme:lzs
Jan 4, 2024 11:11:12:414 AM INFO user profile encrypted, decoding...
Jan 4, 2024 11:11:12:407 AM DEBUG Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Jan 4, 2024 11:11:12:407 AM INFO Setting up pause and resume handler AFTER language is loaded...
Jan 4, 2024 11:11:12:384 AM INFO Checking for new version updates...
Jan 4, 2024 11:11:12:382 AM INFO ZMData init: checking for stored variables & setting up log file
Jan 4, 2024 11:11:12:381 AM INFO Language file loaded, continuing with rest
Jan 4, 2024 11:11:12:380 AM DEBUG last state=app.log param=[object Object]
Jan 4, 2024 11:11:12:379 AM DEBUG isFirstUse returned: false
Jan 4, 2024 11:11:12:379 AM INFO >>>>Language to be used:undefined
Jan 4, 2024 11:11:12:378 AM INFO Device Language is:de
Jan 4, 2024 11:11:12:363 AM INFO Language stored as:de
Jan 4, 2024 11:11:12:363 AM INFO App Version: 1.7.002
Jan 4, 2024 11:11:12:361 AM INFO Retrieving language before init is called...
Jan 4, 2024 11:11:12:358 AM INFO Updating statusbar
Jan 4, 2024 11:11:12:358 AM INFO >>>>No data to import....
Jan 4, 2024 11:11:12:357 AM INFO Cloudsync operation complete, continuing...
Jan 4, 2024 11:11:12:356 AM INFO Cloud sync is disabled, exiting...
Jan 4, 2024 11:11:12:356 AM DEBUG deobfuscate: before:1626 after:6169 scheme:lzs
Jan 4, 2024 11:11:12:354 AM INFO user profile encrypted, decoding...
Jan 4, 2024 11:11:12:353 AM INFO CloudSync: Syncing with cloud if enabled...
Jan 4, 2024 11:11:12:352 AM INFO localforage driver:asyncStorage
Jan 4, 2024 11:11:12:352 AM DEBUG configureStorageDB:test get/set worked, this driver is ok...
Jan 4, 2024 11:11:12:345 AM DEBUG resize/orient: 407(w) * 822(h)
Jan 4, 2024 11:11:12:335 AM INFO Got permission to post notifications
Jan 4, 2024 11:11:12:333 AM INFO No permission to post notifications
Jan 4, 2024 11:11:12:330 AM DEBUG configureStorageDB:Making sure this storage driver works...
Jan 4, 2024 11:11:12:330 AM INFO configureStorageDB:localforage driver for storage:asyncStorage
Jan 4, 2024 11:11:12:319 AM DEBUG configureStorageDB: trying order:["asyncStorage","localStorageWrapper"]
Jan 4, 2024 11:11:12:319 AM DEBUG Inside configureStorageDB
Jan 4, 2024 11:11:12:315 AM INFO You are running on android
Jan 4, 2024 11:11:12:315 AM DEBUG UA is mozilla/5.0 (linux; android 13; 23078pnd5g build/tp1a.220624.014; wv) applewebkit/537.36 (khtml, like gecko) version/4.0 chrome/120.0.6099.144 mobile safari/537.36
Jan 4, 2024 11:11:12:315 AM INFO setting size
Jan 4, 2024 11:11:12:315 AM INFO Device is ready
Jan 4, 2024 11:11:12:305 AM INFO ******* app .run device ready
Jan 4, 2024 11:10:20:502 AM DEBUG Forcing stream to regular quality, imageLoaded() was never called
Jan 4, 2024 11:10:15:324 AM DEBUG Deregistering handlers for multi-window
Jan 4, 2024 11:10:13:521 AM DEBUG Modal is closed, so toggling or exiting
Jan 4, 2024 11:10:12:615 AM DEBUG NVR: killing  live stream ck:462375
Jan 4, 2024 11:10:12:614 AM DEBUG Single monitor exited killing stream
Jan 4, 2024 11:10:12:610 AM DEBUG Deregistering handlers for multi-window
Jan 4, 2024 11:10:12:592 AM INFO Restarting montage timers...
Jan 4, 2024 11:10:12:589 AM DEBUG Modal is open, closing it
Jan 4, 2024 11:10:10:665 AM DEBUG window resized
Jan 4, 2024 11:10:10:655 AM DEBUG resize/orient: 407(w) * 822(h)
Jan 4, 2024 11:10:10:588 AM INFO configurePTZ 1 is not PTZ controllable
Jan 4, 2024 11:10:10:555 AM DEBUG configurePTZ: called with mid=1
Jan 4, 2024 11:10:10:550 AM DEBUG MonitorModal: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Jan 4, 2024 11:10:10:496 AM DEBUG Setting streamQuery timer to 10000
Jan 4, 2024 11:10:10:496 AM DEBUG MonitorModalCtrl called from app.montage
Jan 4, 2024 11:10:10:496 AM INFO Using stream mode single
Jan 4, 2024 11:10:10:476 AM INFO Cancelling montage timer, opening Modal
Jan 4, 2024 11:10:10:472 AM DEBUG MontageCtrl: Open Monitor Modal with monitor Id=1 and Controllable:0 with control ID:null
Jan 4, 2024 11:10:10:135 AM DEBUG saved new positions: [{"attr":"1","size":"50","display":"show","x":0.5,"y":0},{"attr":"2","size":"50","display":"show","x":0,"y":0},{"attr":"3","size":"50","display":"show","x":0.5,"y":0}]
Jan 4, 2024 11:10:10:135 AM DEBUG obfuscate: original:6169 obfuscated:1626 scheme:lzs
Jan 4, 2024 11:10:10:127 AM DEBUG inside drag items:doing the jiggle and dance...
Jan 4, 2024 11:10:09:508 AM DEBUG All images loaded, doing image layout
Jan 4, 2024 11:10:09:508 AM INFO Arranging as per packery grid
Jan 4, 2024 11:10:09:505 AM DEBUG All images loaded, switching to snapshot...
Jan 4, 2024 11:10:09:493 AM DEBUG Calling initPackery() with layout as:undefined
Jan 4, 2024 11:10:09:493 AM DEBUG You manually messed with the profile, so skipping all matches
Jan 4, 2024 11:10:09:488 AM DEBUG You manually messed with the profile, so skipping all matches
Jan 4, 2024 11:10:08:986 AM DEBUG MontageCtrl: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Jan 4, 2024 11:10:08:986 AM INFO Inside Montage Ctrl:We found 3 monitors
Jan 4, 2024 11:10:08:985 AM DEBUG skipping image refresh, packery is still loading
Jan 4, 2024 11:10:08:969 AM DEBUG Setting up cycle interval of:10000
Jan 4, 2024 11:10:08:968 AM DEBUG bandwidth: highbw montage refresh set to: 2
Jan 4, 2024 11:10:08:934 AM DEBUG Multiport=0
Jan 4, 2024 11:10:08:932 AM INFO sending stored ZM_MIN_STREAMING_PORT 0
Jan 4, 2024 11:10:08:932 AM DEBUG Montage beforeEnter: copying monitors to montage monitors
Jan 4, 2024 11:10:08:932 AM DEBUG You manually messed with the profile, so skipping all matches
Jan 4, 2024 11:10:08:931 AM DEBUG Montage beforeEnter: got 3 monitors
Jan 4, 2024 11:10:08:929 AM DEBUG Setting streamQuery timer to 10000
Jan 4, 2024 11:10:08:900 AM DEBUG obfuscate: original:6169 obfuscated:1626 scheme:lzs
Jan 4, 2024 11:10:08:893 AM DEBUG ZM State has not changed, still at default
Jan 4, 2024 11:10:08:781 AM INFO Returning pre-loaded list of 3 monitors
Jan 4, 2024 11:10:08:778 AM DEBUG NVR: Regenerating connkeys for all monitors at 1704363008778
Jan 4, 2024 11:10:07:496 AM DEBUG Modal is closed, so toggling or exiting```

**Screenshots**

![Screenshot_2024-01-04-10-04-14-196_com zoneminder zmNinja](https://github.com/ZoneMinder/zmNinja/assets/19016821/79b3ac16-1af7-4304-a093-382b231ae1a5)
![Screenshot_2024-01-04-10-05-39-747_com zoneminder zmNinja](https://github.com/ZoneMinder/zmNinja/assets/19016821/3057dd9e-35a6-49a5-9984-f2ce1b1a62ae)
![Screenshot_2024-01-04-10-04-25-496_com zoneminder zmNinja](https://github.com/ZoneMinder/zmNinja/assets/19016821/01fa35d6-fdad-45da-8be3-498ba7cf9c7c)
![Screenshot_2024-01-04-10-03-11-953_com zoneminder zmNinja](https://github.com/ZoneMinder/zmNinja/assets/19016821/4a682eed-8692-4806-a74d-e1e9fca8034c)
![Screenshot_2024-01-04-10-03-08-748_com zoneminder zmNinja](https://github.com/ZoneMinder/zmNinja/assets/19016821/cba8193d-587e-41ae-a392-f7f174c17925)




**Additional context**

 API Working.

http://192.168.178.180/zm/api/host/getVersion.json:
{"version":"1.36.33","apiversion":"2.0"}

http://192.168.178.180/zm/api/monitors/index/Type%20!=:WebSite.json
{"monitors":[{"Monitor":{"Id":1,"Name":"Monitor-1","Notes":"","ServerId":0,"StorageId":0,"Type":"Remote","Function":"Modect","Enabled":1,"DecodingEnabled":1,"LinkedMonitors":null,"Triggers":"","ONVIF_URL":"192.168.178.167:8080","ONVIF_Username":"admin","ONVIF_Password":..........

What we are seeing is that since SDK v 28, android will not load an image over http. It must have https. There are various settings that are supposed to work around this, but none have worked so far.

We recommend setting up SSL certificates.

Okay thx, working now.