Commit Graph

5465 Commits (ee0776c9708f9088b2fdb22f65d30de9b72f8ad4)

Author SHA1 Message Date
Isaac Connor 88d0056b57 Add null test for Topic and a debug when we can't parse the gsoap message 2023-05-30 09:41:02 -04:00
Isaac Connor a7c8762c5e Don't exit on segfault, perhaps allowing graceful shutdown 2023-05-30 09:40:37 -04:00
Isaac Connor b16cc47586 Init Janus earlier, as we may get ONVIF triggered before it gets instantiated. Add some more debug to figure out crashing 2023-05-28 17:29:10 -04:00
Isaac Connor 38988ff5c0 Include result in error message 2023-05-25 14:09:28 -04:00
Isaac Connor 8676da6ead If monitor has been deleted, we won't be able to connect to it. Show an instructive jpeg and exit. 2023-05-10 13:06:09 -04:00
Isaac Connor 6a258dff22 Add Deleted() to Monitor object 2023-05-10 13:04:57 -04:00
Isaac Connor ecb541bd04 Fix the comparison 2023-05-08 10:26:29 -04:00
Isaac Connor 5b903d8f20 Add a detection for when keyframe interval backlog causes large time gap between first and second frames added to event. 2023-05-08 10:21:46 -04:00
Isaac Connor ffa9d139a8 Add parenthesis to make logic definite 2023-04-26 07:23:19 -04:00
Isaac Connor 3f3d9cb421 Don't crash when doing single image of a monitor that isn't running 2023-04-25 10:18:37 -04:00
Isaac Connor c61d5ce341 Implement ZOOMSTOP for live monitor view 2023-04-13 12:25:08 -04:00
Isaac Connor e45e798c3f Merge branch 'master' of github.com:ZoneMinder/zoneminder 2023-04-06 19:03:45 -04:00
Isaac Connor 87f4f9afbd Add scale to status for monitorStream 2023-04-06 19:02:50 -04:00
Isaac Connor 2773385262 Remove redundanct frame_mod=1 2023-04-06 19:02:24 -04:00
Isaac Connor 01b886ef49 Add scale to status and fix cast on elapsed 2023-04-06 15:15:36 -04:00
Isaac Connor 9a4376adcc Add reason for error setting up device 2023-02-26 16:31:32 -05:00
Isaac Connor 47e4b7cf37 Add DecoderName to Monitors 2023-02-26 16:31:14 -05:00
Isaac Connor 6d942dacb0 Add DecoderName to Monitors 2023-02-26 16:31:07 -05:00
Isaac Connor ab9298cbf0 Add DecoderName to Monitors, and use it in ffmpeg_camera instead of just trying all options 2023-02-26 16:30:56 -05:00
Isaac Connor af6d2c6ca3 The sw pix format for qsv should be YUV420P 2023-02-26 11:00:50 -05:00
Isaac Connor f2c2b869ad
Merge pull request #3544 from dougnazar/fix_backtrace
Fix backtrace addr2line command.
2023-02-26 10:12:56 -05:00
Isaac Connor 6505bba826 Add qsv codec options 2023-02-25 19:00:31 -05:00
Isaac Connor c1c25aeb76 Add sqv hwaccel types 2023-02-25 18:07:54 -05:00
Isaac Connor 84383a0498 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2023-02-25 13:17:53 -05:00
Isaac Connor 12409e624e Support username and password as auth query params. These happen when using auth_relay=plain. 2023-02-25 13:12:40 -05:00
Isaac Connor 24313b1a59 uint16 should be plenty for width and height, so width*height will not overflow an int32. Might fix a codeQL warning. 2023-02-23 17:16:28 -05:00
Isaac Connor a62f4b2e77 Use snprintf instead of sprintf to quieten codeql 2023-02-23 16:52:19 -05:00
Isaac Connor a7b1379502 Add AVPixelFormat to shm for each image, disable analysis image viewing. The cp to shm is too expensive. Need something better. 2023-02-22 05:59:16 -05:00
Isaac Connor decf3e307b Use dbEscapeString on username retrieved from jwt to prevent SQL injection 2023-02-20 12:10:49 -05:00
Isaac Connor 9a996cb423 image may have been deleted, but analysis image may still be there. Correct logic so that analysis frame get saved again. 2023-02-19 14:47:43 -05:00
Isaac Connor 4889358f38 Add the actual packet, not the first packet over and over and over. Fixes #3656 2023-02-13 14:46:56 -05:00
Isaac Connor 1d51f1b146 Fix missing c_str() 2023-02-02 12:16:43 -05:00
Isaac Connor a0b23388b8 Handle failure to insert into Events table. 2023-02-02 10:03:18 -05:00
Isaac Connor 9a999d1465 replace const char * with std::string and save filename in the object when created by filename. Long term, we may represent an image by filename and load the image on demand. For potential use with sendfile. 2023-02-01 14:31:59 -05:00
Isaac Connor 88be2e1865 Merge branch 'master' of ../otherbranch 2023-01-31 16:06:01 -05:00
Cloudmule 20dc0d02fc Handle failure to subscribe gracefully, de-initing soap instead of crashing. 2023-01-31 16:05:30 -05:00
Isaac Connor 7a1066c534 Disable multi-threaded decoding as a test 2023-01-26 18:46:38 -05:00
Isaac Connor 08f02ecd09 Queue packets instead of packet locks in event thread. Since we are using std::shared_ptr and not modifying the packet, should not need locking. Also, locking in one thread and unlocking in another is apparentlyundefined behaviour and doesn't work infreebsd. 2023-01-24 10:28:38 -05:00
Isaac Connor 9c52ae7856 Increase infomation in packet lock debugging 2023-01-24 10:26:46 -05:00
Isaac Connor 6eceda0267 Fix complaint 2023-01-18 16:01:42 -05:00
Isaac Connor 388f1c6e1b Add const to MonitorId 2023-01-18 16:01:32 -05:00
Isaac Connor 8300a7b40d Upgrade sendfile7 to not mash size on stack. offset is a nullptr most of the time, don't dereference it. When falling back to read/write, just read in chunks of 4096, because I don't know how to make llvm use c99 dynamic arrays. Check for HAVE_SENDFILE. Fixes #3505 2023-01-17 16:10:55 -05:00
Isaac Connor 8b75a2510a Change to ssize_t to fix compile on freebsd 2023-01-12 13:07:29 -05:00
Isaac Connor 95f9e0b19a Fix crash from getting packet from rend 2023-01-12 09:25:44 -05:00
Isaac Connor 32add0952c Differentiate between negative pts and AV_NOPTS_VALUE when looking for wrap around. 2023-01-10 14:19:40 -05:00
Isaac Connor ca513c0a74 Add deleting status to debug 2023-01-10 12:07:35 -05:00
baudneo 8750e0e333
Add Janus RTSP session timeout to C ⚗️
Signed-off-by: baudneo <86508179+baudneo@users.noreply.github.com>
2023-01-09 17:57:26 -07:00
Isaac Connor 693e897204 Remove excess debugging 2023-01-07 12:40:02 -05:00
Isaac Connor 0d569c26d7 fix formatting string 2023-01-07 12:35:24 -05:00
Isaac Connor f06e11a097 Add SectionLengthWarn, use it to disable warnings in logs about section length being exceeded. 2023-01-07 12:33:42 -05:00