Commit Graph

192 Commits

Author SHA1 Message Date
Isaac Connor
bd90711aa6 Use an interval instead of calling Timeout from callback 2024-01-22 14:25:57 -05:00
Isaac Connor
6812f2efe7 Fix eslint 2024-01-16 09:56:28 -05:00
Isaac Connor
ee9e03a7c1 Fix FPS values when getting status from web instead of ZMS. 2024-01-02 16:28:49 -05:00
Isaac Connor
88db0e9854 Handle when ZM_RTSP2WEB_PATH hasn't been filled, but RTSP2Web has been turned on for a monitor. 2023-12-07 13:17:08 -05:00
Isaac Connor
07d4fb2099 Set default delay, add starting statusCmdTimer when using rtsp2web 2023-11-21 11:35:04 -05:00
Isaac Connor
ea76a03043 Rename startRTSPtoWebRTSPPaly to startRTSPtoWebPlay 2023-10-15 17:55:44 -04:00
Isaac Connor
93f5378f4e Fix undefined reference to startPlay 2023-10-15 17:55:44 -04:00
Isaac Connor
1e200abf16 Remove support for browsers not supporting TextDecoder to fix eslint 2023-08-08 13:01:42 -04:00
Jonathan Bennett
80c145dca4 Add support for HTTPS connections to RTSP2Web 2023-07-31 00:16:51 -05:00
Jonathan Bennett
af42398070 Fix ESLint issues in RTSP2Web work 2023-07-30 16:54:22 -05:00
Jonathan Bennett
5c9588c012 Adds RTSP2Web support for live view 2023-07-29 23:46:31 -05:00
Isaac Connor
e96d2a6acc No longer abort when sending a command... no streaming ajax should take any significant time. 2023-07-11 17:27:52 -04:00
Isaac Connor
14eb38a00b add timeout value to debug, only send scale command if it is > 0 2023-06-08 10:30:01 -04:00
Isaac Connor
4f416edf93 Fix missing auth_relay on alarm xhr 2023-06-05 09:57:12 -04:00
Isaac Connor
31d9342918 Assume reverse proxy setup for janus for http as well 2023-05-31 17:01:45 -04:00
Isaac Connor
9a13312e4e Fix eslint 2023-05-25 14:15:32 -04:00
Isaac Connor
d0fead5b06 Add setMaxFPS and fix streamCommand so that data doesn't pollute other commands data 2023-05-12 14:10:52 -04:00
Isaac Connor
7dd09ea55e When killing stream, stop and abort 2023-05-12 12:50:35 -04:00
Isaac Connor
81fd2dcb08 Don't pollute streamCmdParams 2023-05-12 12:48:31 -04:00
Isaac Connor
c4c3dddbe3 add in setMaxFPS 2023-05-12 12:46:16 -04:00
Isaac Connor
9fbf140fc3 fix eslint 2023-05-11 10:23:12 -04:00
Isaac Connor
a31887634a Inlcude port in url to janus 2023-05-11 10:23:04 -04:00
Isaac Connor
8ae4783a33 If monitor is assigned to a server, use that server for janus url. 2023-05-11 10:13:20 -04:00
Isaac Connor
2a2c192562 Add urlToJanus function to Server class 2023-05-11 10:13:04 -04:00
Isaac Connor
a608b18e8b Limit auto-calculated scale to 25%. Just looks bad less than that. When no bottom Element, adjust height as well. Don't need to change img.src on scale if streaming. Can just tell it to. Fix applying scale and will auto-reapply if needed. 2023-04-27 10:43:06 -04:00
Isaac Connor
1f11493266 Don't need to add auth_hash if we have auth_relay 2023-04-13 10:13:27 -04:00
Isaac Connor
b85b7e462e When testing ZM_ALARM_ON_SOUND, use string comparison as the config value is a string. Also add log if other config options are not set 2023-04-10 13:13:36 -04:00
Simpler1
0a84cd0327 fix(alarmSound): Use Audio.play() for alarm sound 2023-04-07 10:55:09 -04:00
Isaac Connor
7a254b42f5 Fix use of auth_relay when PLAIN 2023-03-21 09:52:50 -04:00
Isaac Connor
18403bf33e Move users list from options into an include. Add Email, Phone, Name fields 2023-02-28 13:59:16 -05:00
Isaac Connor
8a6f0cbe1b Add ServerStats to api 2023-02-26 17:04:05 -05:00
Isaac Connor
1cdd1325bf Fix eslint 2023-02-25 16:26:19 -05:00
iconnor@connortechnology.com
afcf55608e Move map generation into an Object so it can be reused. 2023-02-25 13:04:49 -05:00
iconnor@connortechnology.com
4979d299a6 Cleanup code style 2023-02-25 12:40:54 -05:00
iconnor@connortechnology.com
cbabf9d5ce Add getFromApi 2023-02-25 12:40:41 -05:00
Isaac Connor
74a0790c56 Use const instead of var, code comment fix 2023-02-19 17:29:32 -05:00
Isaac Connor
292f3a0cc2 Remove reference to zm.connortechnology.com 2023-01-13 12:48:26 -05:00
Isaac Connor
2e6f465055 eslint doesn't like function names that start with a capital 2023-01-12 09:38:13 -05:00
Isaac Connor
99d9d70a39 Update code, remove console.log debugging 2023-01-03 19:19:13 -05:00
Isaac Connor
50f87be9d9 Detach streams when killing the monitor stream to reduce console logging 2022-12-07 14:14:00 -05:00
Isaac Connor
0f2afdcff7 Fix eslint and use const on port 2022-11-30 13:42:17 -05:00
Isaac Connor
cdfe38cc31 Add UrltoZMS and UrltoAPI methods to Server js class 2022-11-30 13:19:02 -05:00
Isaac Connor
0c0269b2cc Fix eslint 2022-11-01 12:41:27 -04:00
Isaac Connor
2859634aaa Set xhrFields: widthCredentials: true so that we send cookies with our streaming xhr requests so that we pick up new auth hashes 2022-11-01 08:22:53 -04:00
Isaac Connor
f0cd36989b Spacing, use const and let instead of var 2022-10-21 18:11:46 -04:00
Isaac Connor
5a5a665cdf Test for definition of ZM_LOG_INJECT. We don't include the config when not logged in. So it won't be defined 2022-10-12 19:34:05 -04:00
Isaac Connor
cb3fc5907d Use canEdit['System'] and value of new ZM_LOG_INJECT to disable attempting to inject javascript errors into zm logs 2022-10-06 14:52:39 -04:00
VikingGer
11a4735082 Update MonitorLinkExpression.js
Trailing spaces lead to eslint error. Removed them
2022-09-17 10:08:07 +02:00
Isaac Connor
419a44f8ed Merge branch 'iiot' 2022-09-13 18:23:44 -04:00
Isaac Connor
d079439005 Merge branch 'reports' of http://github.com/ConnorTechnology/zoneminder into reports 2022-09-12 19:40:27 +02:00