Commit Graph

26278 Commits

Author SHA1 Message Date
Isaac Connor
bbb08fcbb3 Improve STD getting/setting code so as to not log errors when the device just doesn't support that. Fix PrimeCapture being called twice and so failing to queue the same buffers twice. Use mIsPrimed in addition to static primed 2025-12-03 13:32:22 -05:00
Isaac Connor
6d55e889cb standard and palette are actually unsigned in v4l2, so let's use that instead of int. Fixes some build warnings 2025-12-03 08:45:12 -05:00
Isaac Connor
7da3eecc2c Move setting input STD before format and don't set input. It will be set in Prime 2025-12-02 18:55:10 -05:00
Isaac Connor
3cb9539405 If we fail to get events, set healthy=false so that we reconnect. HikVision cam reports soap_fault_string=the parameter value is illegal detail=<env:Text>No pullmsg manager</env:Text> but a restart fixes it. 2025-12-02 18:49:06 -05:00
Isaac Connor
0e688c55cb Only call S_FMT if we will actually be changing anything. Make Failed to set input an error instead of fatal. For webcams there likely is only 1 input so we can likely just continue. 2025-12-02 18:00:05 -05:00
Isaac Connor
7c42215f2c Alter event_update_trigger to only update summary tables if there is a diskspace diff 2025-12-02 15:08:06 -05:00
Isaac Connor
988bab6dcb Handle when there are no frame records 2025-12-02 13:58:00 -05:00
Isaac Connor
2cfed3d8f1 headers must be an array ref aparently. 2025-11-25 09:01:32 -05:00
Isaac Connor
2e3faf4a01 Add fix for nginx api rewriting 2025-11-24 17:46:51 -05:00
Isaac Connor
847b791f58 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2025-11-24 16:23:54 -05:00
Isaac Connor
5bb4caab8f Fixup taking content as a hash. Use URI to convert it to a string. Add headers support in post. 2025-11-24 16:23:28 -05:00
Isaac Connor
7f054f651f Merge pull request #4469 from ZoneMinder/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 5 to 6
2025-11-24 13:12:10 -05:00
dependabot[bot]
44206f8f49 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 17:40:27 +00:00
Isaac Connor
19a6d920e8 Add debugging for monitorsSetScale setting height=0. Kill resizeInterval on unload, speeding up navigation away/reload 2025-11-21 22:35:01 -05:00
Isaac Connor
f796fa913f Fix audio auto-starting on montage. AUdio should never auto-start... Or maybe we need to track it in cookies, but by default should start muted 2025-11-21 22:33:22 -05:00
Isaac Connor
04a508500f store and clear the resize interval on formSubmit. Add some debugging. Use monitorsStream.pause instead of stop on visibility change 2025-11-20 15:57:12 -05:00
Isaac Connor
cbd343b8e2 Only update img.src if we are started. 2025-11-20 15:54:44 -05:00
Isaac Connor
7ce9cdef25 Set muted attribute of go2rtc streams 2025-11-19 22:18:32 -05:00
Isaac Connor
2af31b2b7c Remove unused PopupScale 2025-11-19 21:53:52 -05:00
Isaac Connor
83fbb6db3f Remove unused stuff from console. The calls to rescale take integer pixel values and we are passing a whole mess of non-integer stuff. But we don't seem to even be using that stuff anymore. 2025-11-19 21:50:08 -05:00
Isaac Connor
dff38af8af Filter out certain querystring parameters that are for pagination not filtering. Fixes all events not listing in zmNinja 2025-11-19 11:07:19 -05:00
Isaac Connor
9351835815 Update use of allowedmonitors 2025-11-19 09:24:46 -05:00
Isaac Connor
24bcd01952 Use a better divisor than /4 to get a closer initial scale 2025-11-18 17:38:12 -05:00
Isaac Connor
3bfaf3e9ae Provide backtrace in setScale. Only start streamCmdTimer if stream is started (a status update can be in flight while we stop. 2025-11-18 17:37:36 -05:00
Isaac Connor
e8545e0b6f Move setting packetqueue pre_event down to AFTER we load the db value. 2025-11-17 11:58:58 -05:00
Isaac Connor
28e4fa4d7f Replace Function=>Capturing 2025-11-17 11:55:58 -05:00
Isaac Connor
46343903c0 Fixup starting with muted=trute on montage 2025-11-13 21:53:39 -05:00
Isaac Connor
384d6d5463 Merge firefly:sandbox/ZoneMinder 2025-11-13 19:34:08 -05:00
Isaac Connor
3cbdeaf142 Don't nee dcreate-packages anymore 2025-11-13 19:34:04 -05:00
Isaac Connor
09983c9545 FIx typo getAudioStraem => getAudioStream. Add this.muted 2025-11-13 19:33:09 -05:00
Isaac Connor
25297e440c Put locking around updating server records 2025-11-13 15:45:51 -05:00
Isaac Connor
0687b72a6c Use stop instead of kill on AreYouStillWatching 2025-11-13 14:34:50 -05:00
Isaac Connor
06b34dd1c4 Put a scale lower limit of 10. 2025-11-13 13:59:47 -05:00
Isaac Connor
ac0c42f660 Use stop instead of kill when we switch away from the tab 2025-11-13 13:59:15 -05:00
Isaac Connor
247452e0b1 Update ip of apt-cache 2025-11-13 13:20:55 -05:00
Isaac Connor
09f997fa8b Fix eslint 2025-11-13 12:36:14 -05:00
Isaac Connor
3779eae2f4 Build packages on every master commit 2025-11-13 12:23:24 -05:00
Isaac Connor
7482d80f32 Improve detail in error message Fail to get ONVIF messages 2025-11-13 12:21:41 -05:00
Isaac Connor
8e97d579ff We want to stop, not kill the stream while away. We want status updates to continue and if an alarm happens, sounds can be played. 2025-11-12 16:07:34 -05:00
Isaac Connor
788e65886f Add genConnKey and when reloading a failed stream, generate a new connKey. Even tho the stream failed, zms may still be running , locked on the old connKey. Any new attempt to stream with the old will hang. 2025-11-12 16:06:49 -05:00
Isaac Connor
12515ddcff Bump RtspServer to master 2025-11-12 09:29:54 -05:00
Isaac Connor
7adb2f5b73 Allow 0 instead of false to end events 2025-11-12 09:09:44 -05:00
Isaac Connor
f28146e3ac Improve auto mode for RTSP2Web. Default to webrtc. Fix streaminfo mode display. 2025-11-11 18:48:34 -05:00
Isaac Connor
0a7277a7e0 Merge firefly:sandbox/ZoneMinder 2025-11-11 18:13:22 -05:00
Isaac Connor
277c14308b Remove unused toGrid function 2025-11-11 18:13:17 -05:00
Isaac Connor
2ffbdbe9e3 Add a test to prevent height=0px 2025-11-11 18:12:45 -05:00
Isaac Connor
984beccd99 Add call to controlMute to turn off audio at startup 2025-11-11 18:11:31 -05:00
Isaac Connor
aad533d800 Improve debug 2025-11-11 18:06:42 -05:00
Isaac Connor
aaffd5822a Move assigning ua up because it gets used in guess_crednetials 2025-11-11 15:54:49 -05:00
Isaac Connor
bf13d1e7ff Always call canPlayCodec just for the fun of it 2025-11-11 14:25:10 -05:00