Commit Graph

88 Commits (openbsd)

Author SHA1 Message Date
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 8ae4783a33 If monitor is assigned to a server, use that server for janus url. 2023-05-11 10:13:20 -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 74a0790c56 Use const instead of var, code comment fix 2023-02-19 17:29:32 -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 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
Jonathan Bennett c35bbc8c30 Adds the Janus_pin to shared_memory, and a -j to zmu to fetch it 2022-09-07 15:49:47 -05:00
Isaac Connor 48377334fe Gracefully handle when FrameRate is empty 2022-08-26 14:12:51 -04:00
Isaac Connor 071147fba7 Remove no longer used code to protect percentage widths 2022-08-15 13:04:50 -04:00
Isaac Connor de5b8bd893 Handle width=100% and remove code that worked around montage layouts with width=%. 2022-08-15 13:01:49 -04:00
Isaac Connor 4ab58f5f22 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2022-06-16 09:58:49 -04:00
Isaac Connor 58fedd8c35 Fix streamQuery => streamCmdQuery. Fixes #3507 2022-06-16 09:58:26 -04:00
Isaac Connor 17562671c1 fix eslint 2022-06-15 13:18:11 -04:00
Isaac Connor a5cbe65d70 watchdog is not available everywhere yet. comment out its use 2022-06-15 13:08:38 -04:00
Isaac Connor 5188346086 Institute a status timer to be used when not streaming from zms. 2022-06-15 12:34:55 -04:00
Isaac Connor ba2b18f8a9 Fix eslint 2022-06-03 15:00:23 -04:00
Isaac Connor edfaffb88f Only set onclick if a new function is given 2022-06-02 15:11:59 -04:00
Isaac Connor c68f9f5fe8 Include connKey is debug line 2022-06-01 08:58:58 -04:00
Isaac Connor 516967e054 Don't set width if it already has a value. Fix state setting on state label. 2022-05-30 13:37:27 -04:00
Isaac Connor 331aca149b If the response contained a message, alert it 2022-05-30 10:34:08 -04:00
Isaac Connor e1c80a710b Use global config vale for ZM_WEB_POPUP_ON_ALARM 2022-05-30 10:17:20 -04:00
Isaac Connor 544c1a248c Only set monitor_frame width if it is auto 2022-05-26 13:00:13 -04:00
Isaac Connor 53025e1572 set src='' before new value. Firefox needs it. set scale to 100 when 0, just for consistency. Remove stream_frame which is unused, fixup parenthesis 2022-05-26 12:37:36 -04:00
Isaac Connor 57bd502bb9 test for 0 before setting width and height 2022-05-26 12:32:26 -04:00
Isaac Connor 082fff850f Re-instate setting the class of the monitor div on alarm 2022-05-26 12:28:12 -04:00
Isaac Connor a7f586a46d fix eslint 2022-05-13 11:02:12 -04:00
Isaac Connor 0ede5cec85 remove duplication of onload, onerror. Introduce a kill function to be called when we browse away to stop all the ajax. 2022-05-13 10:33:35 -04:00
Isaac Connor 59898caf59 Start the query status timer on img.load 2022-05-12 11:00:50 -04:00
Isaac Connor eb3806f482 Don't close initial stream. The QUIT gets lost. Add onload debugging 2022-05-07 11:39:17 -04:00
Isaac Connor 085da5c1fb fix eslint 2022-05-02 10:01:14 -04:00
Isaac Connor 01a5ab2621 Replace msieVer with something more modern. Don't change monitor_=frame.style.width when auto-scaling and no bottom element. We do not want to change the css, just calculate a scale 2022-04-29 18:13:25 -04:00
Isaac Connor dd95ebb34a ZM_SOUND_ON_ALARM is actually ZM_WEB_SOUND_ON_ALARM 2022-04-29 17:52:51 -04:00