Commit Graph

28 Commits (quadra)

Author SHA1 Message Date
Isaac Connor ca24b43f36 Fix typo 2024-10-16 10:23:37 -04:00
Isaac Connor f3fd03209e Fix missing auth_relay on alarm xhr 2023-06-29 11:35:16 -04:00
Isaac Connor 3406d15dbd restore fps reporting 2023-02-20 18:00:42 -05:00
Isaac Connor 1546fabfc8 Don't start the statusCmdQuery on streaming start, because it is used when doing still updates. If we start it too fast, zms may not have started yet 2023-02-16 14:48:07 -05:00
Isaac Connor 4bcfc2360d Remove stopping the statusCmdTimer, it isn't used. 2023-01-02 17:06:35 -05:00
Isaac Connor ed98fec9d3 Set xhrFields: widthCredentials: true so that we send cookies with our streaming xhr requests so that we pick up new auth hashes 2022-11-02 10:09:36 -04:00
Isaac Connor 7e5c4d4a76 Only set onclick if a new function is given 2022-06-02 13:54:48 -04:00
Isaac Connor 7def1944b6 Always force width and height on img to sane values 2022-05-31 14:18:56 -04:00
Isaac Connor cb11ce100f Include connKey is debug line 2022-05-31 13:57:41 -04:00
Isaac Connor a26042ea02 Don't change width if it is a percent 2022-05-31 12:00:17 -04:00
Isaac Connor e7e692ddbf Use global config vale for ZM_WEB_POPUP_ON_ALARM 2022-05-26 16:33:38 -04:00
Isaac Connor eacc7edf15 Re-instate setting the class of the monitor div on alarm 2022-05-25 16:06:42 -04:00
Isaac Connor f61e0b3e8f Merge in MonitorStream from master, after removing janus 2022-05-25 15:10:58 -04:00
Isaac Connor 56e121e9bb Don't clear img.src after sending QUIT. QUIT will do the job and killing the stream first might mean that it gets lost 2022-05-12 12:05:02 -04:00
Isaac Connor 0d29864d36 Start the query status timer on img.load 2022-05-12 10:51:27 -04:00
Isaac Connor 68367d8d61 MonitorStream doesn't know about MONTAGE. Hiding fields should be done in php. Use toLocaleString to format fps values with 1 decimal. 2022-04-28 10:37:29 -04:00
Isaac Connor 65c9df9fca Rough in lots of stuff from master. setStreamScale to set src of stream img's. Handle ajax errors better. Send CMD_QUIT when changing img.src. These changes reduce errors from zms. 2022-04-27 17:40:51 -04:00
Isaac Connor 614acc3757 You must close the stream first or we get leftovew zms processes 2022-04-14 18:17:34 -04:00
Isaac Connor 1c8a850acf Handle stream having something other than an img as it's display 2021-03-23 13:53:45 -04:00
Isaac Connor 478d11e6f2 Update the auth in streamCmdParams on every request. It wasn't picking up updates 2021-03-13 12:12:20 -05:00
Andrew Bauer 9968a65ee6 bind this to streamCmdQuery 2021-01-10 14:21:52 -06:00
Andrew Bauer c67c1ce6a0 replace Mootool delay with setTimeout 2021-01-08 13:06:56 -06:00
Andrew Bauer a431f08133 eslint 2021-01-06 15:57:30 -06:00
Andrew Bauer 9d7f738f61 replace mootools in MonitorStream 2021-01-06 14:19:25 -06:00
Andrew Bauer 332ec2032a replace createPopup with location.assign 2020-10-12 12:37:23 -05:00
Matthew Noorenberghe 77cca7efac eslint --fix 2020-09-04 10:02:43 -04:00
Isaac Connor a88dcfe78c During start, switch from mode=single if required. Add play/stop/pause 2020-09-02 14:37:48 -04:00
Isaac Connor 762bea0761 Bulk load monitor/Group relationships. Instead of using DESCRIBE Monitors Function, use a new function getMonitorFUnctionTypes to get this data for dropdown purposeses. Reduces db hits a lot. 2020-08-31 18:30:05 -04:00