zoneminder/src
Isaac Connor 595bb2f565 Open/CLose RTSP with analysis thread when opening and closing monitor. We have to have successfully PrimeCapture before adding streams to RTSP Server and need to shut it down when closing the monitor because the packetqueue goes away 2021-01-07 09:47:53 -05:00
..
jwt-cpp Merge pull request #2874 from hax0kartik/2810-libjwt 2020-03-06 14:48:45 -05:00
libbcrypt fix compiler warnings 2020-10-16 20:04:26 -04:00
CMakeLists.txt Add rtsp_server files to CMakeLists.txt 2021-01-06 10:48:52 -05:00
jinclude.h
zm.cpp Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm.h Make zm_terminate available to anyone who includes zm.h 2020-10-16 20:06:53 -04:00
zm_analysis_thread.cpp Don't need to get_ref_image anymore. It will block waiting for a capture packet and the ref image will be set by capture thread 2021-01-07 09:36:18 -05:00
zm_analysis_thread.h spacing code style 2020-12-09 12:21:41 -05:00
zm_box.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_box.h Allow altering polygon coordinates 2020-12-15 16:32:41 -05:00
zm_buffer.cpp fix cast 2020-11-21 16:58:22 -05:00
zm_buffer.h Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm_camera.cpp Merge branch 'master' into zma_to_thread 2020-09-29 11:02:40 -04:00
zm_camera.h NULL=>nullptr 2021-01-07 09:36:33 -05:00
zm_comms.cpp googe code style 2020-11-21 09:25:10 -05:00
zm_comms.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_config.cpp Merge branch 'master' into zma_to_thread 2020-12-07 16:26:26 -05:00
zm_config.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_config_data.h.in Extract generated part of zm_config.h into zm_config_data.h 2020-08-25 23:33:56 +02:00
zm_coord.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_coord.h Merge branch 'fix_zone_instead_of_ignore' 2020-12-15 16:33:58 -05:00
zm_crypt.cpp Merge pull request #2874 from hax0kartik/2810-libjwt 2020-03-06 14:48:45 -05:00
zm_crypt.h initial plumbing to introduce token expiry and API bans per user 2019-05-11 13:39:40 -04:00
zm_curl_camera.cpp Merge branch 'master' into zma_to_thread 2020-09-29 11:02:40 -04:00
zm_curl_camera.h Fix stuff 2020-04-08 12:52:09 -04:00
zm_db.cpp spacing, code style. Set row=nullptr to quiet valgrind 2020-11-18 13:15:52 -05:00
zm_db.h spacing, code style. Set row=nullptr to quiet valgrind 2020-11-18 13:15:52 -05:00
zm_event.cpp Use proper c++ initializers 2020-12-30 21:21:59 -05:00
zm_event.h include std::string don't include zm_video.h. Remove old videoWriter references 2020-12-30 21:22:33 -05:00
zm_eventstream.cpp Rename H264PASSTHROUGH to just PASSTHROUGH 2021-01-06 11:30:42 -05:00
zm_eventstream.h cppcheck fixes. Make curr_frame_id signed as we may subtract from it and go < 0 2020-11-02 12:45:19 -05:00
zm_exception.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_exception.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_ffmpeg.cpp Return avcodec errors codes instead of 0/1 2020-12-30 21:22:55 -05:00
zm_ffmpeg.h Merge branch 'master' into zma_to_thread 2020-09-29 11:02:40 -04:00
zm_ffmpeg_camera.cpp Set codec_type in ffmpeg_camera instead of in monitor 2020-12-27 11:56:44 -05:00
zm_ffmpeg_camera.h NULL->nullptr 2020-12-27 11:56:59 -05:00
zm_ffmpeg_input.cpp Merge branch 'master' into rtsp_server 2020-12-17 10:16:54 -05:00
zm_ffmpeg_input.h Merge branch 'master' into zma_to_thread 2020-11-12 12:53:55 -05:00
zm_ffmpeg_output.cpp add rouhged in output 2017-10-25 13:27:34 -07:00
zm_ffmpeg_output.h add rouhged in output 2017-10-25 13:27:34 -07:00
zm_fifo.cpp Only log an error if we haven't been given sigpipe. 2020-11-22 17:28:53 -05:00
zm_fifo.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_file_camera.cpp Merge branch 'master' into zma_to_thread 2020-09-29 11:02:40 -04:00
zm_file_camera.h Merge branch 'storageareas' into zma_to_thread 2018-05-05 12:25:11 -04:00
zm_font.cpp Improve code readability. Use a define for header size 2020-12-03 16:21:18 -05:00
zm_font.h Improve code readability. Use a define for header size 2020-12-03 16:21:18 -05:00
zm_frame.cpp create a simple Frame class. Add a queue of Frames to the Event. When we get 10 of them write them out to the db. 2018-12-05 13:18:21 -05:00
zm_frame.h create a simple Frame class. Add a queue of Frames to the Event. When we get 10 of them write them out to the db. 2018-12-05 13:18:21 -05:00
zm_group.cpp Put backticks around all columns and tables in sql to deal with mysql 8 2019-08-14 16:18:21 -04:00
zm_group.h add groups 2018-05-02 12:20:36 -07:00
zm_image.cpp Add some debug 2020-12-23 18:18:16 -05:00
zm_image.h Merge branch 'master' into zma_to_thread 2020-12-29 12:18:26 -05:00
zm_image_analyser.cpp tabs to spaces and use 2space indenting 2016-04-04 10:11:48 -04:00
zm_image_analyser.h tabs to spaces and use 2space indenting 2016-04-04 10:11:48 -04:00
zm_jpeg.cpp Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm_jpeg.h FIFO support for zoneminder zone debugging (#2594) 2019-05-16 15:37:03 -04:00
zm_libvlc_camera.cpp Merge branch 'master' into zma_to_thread 2020-09-29 11:02:40 -04:00
zm_libvlc_camera.h Merge branch 'storageareas' into zma_to_thread 2019-02-13 12:24:38 -05:00
zm_libvnc_camera.cpp fix compiler warning 2020-12-27 11:57:23 -05:00
zm_libvnc_camera.h Merge branch 'master' into zma_to_thread 2020-12-07 16:26:26 -05:00
zm_local_camera.cpp spacing and NULL=>nullptr 2021-01-07 09:36:54 -05:00
zm_local_camera.h Merge branch 'master' into zma_to_thread 2020-11-12 12:53:55 -05:00
zm_logger.cpp small cleanup in logging 2020-12-31 09:14:03 -05:00
zm_logger.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_mem_utils.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_monitor.cpp move code from Load for purpose==ANALYSIS because it will never run. Analysis is a thread now and must assume that PrimeCapture has already succeeded. 2021-01-07 09:40:24 -05:00
zm_monitor.h Rename H264PASSTHROUGH to just PASSTHROUGH. Add an analysis_it to the Monitor object as it will no longer exist in the packetqueue 2021-01-06 11:32:09 -05:00
zm_monitorstream.cpp Remove unused variables 2020-12-23 18:50:52 -05:00
zm_monitorstream.h cppcheck improvements. Add const and override where we can 2020-11-01 17:15:17 -05:00
zm_mpeg.cpp Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm_mpeg.h coverity scan fixes/cleanups 2018-04-12 11:29:35 -04:00
zm_packet.cpp add missing and mix order of Packet initializers 2021-01-07 09:41:02 -05:00
zm_packet.h add missing and mix order of Packet initializers 2021-01-07 09:41:08 -05:00
zm_packetqueue.cpp remove analysis_it and correctly manage external iterators. Fix testing for ability to remove packets from packetqueue. Fix some cases where the order of testing zm_terminate and packet locking is important 2021-01-07 09:43:53 -05:00
zm_packetqueue.h remove analysis_it and correctly manage external iterators. Fix testing for ability to remove packets from packetqueue. Fix some cases where the order of testing zm_terminate and packet locking is important 2021-01-07 09:43:53 -05:00
zm_poly.cpp google code style 2020-05-01 18:06:27 -04:00
zm_poly.h Merge branch 'fix_zone_instead_of_ignore' 2020-12-15 16:33:58 -05:00
zm_regexp.cpp Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm_regexp.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_remote_camera.cpp Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm_remote_camera.h reorder variables to match init order in constructor 2018-03-09 07:24:53 -05:00
zm_remote_camera_http.cpp Merge branch 'master' into zma_to_thread 2020-09-29 11:02:40 -04:00
zm_remote_camera_http.h Merge branch 'master' into zma_to_thread 2020-09-29 11:02:40 -04:00
zm_remote_camera_nvsocket.cpp Merge branch 'storageareas' into zma_to_thread 2018-05-05 12:25:11 -04:00
zm_remote_camera_nvsocket.h Merge branch 'storageareas' into zma_to_thread 2018-05-05 12:25:11 -04:00
zm_remote_camera_rtsp.cpp set packet codec_type 2020-12-27 12:36:33 -05:00
zm_remote_camera_rtsp.h frames are allocated in zm_packet now, so remove them 2020-12-27 12:24:34 -05:00
zm_rgb.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_rtp.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_rtp.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_rtp_ctrl.cpp Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm_rtp_ctrl.h Fix Remote RTSP Method on newer ffmpeg 2019-04-28 12:05:32 -04:00
zm_rtp_data.cpp code style, merge Debug lines and consult zm_terminate in the main while loop 2020-05-07 13:41:09 -04:00
zm_rtp_data.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_rtp_source.cpp spacing and code stylez 2020-12-27 12:03:44 -05:00
zm_rtp_source.h code style, merge Debug lines and consult zm_terminate in the main while loop 2020-05-07 13:41:39 -04:00
zm_rtsp.cpp spacing and code stylez 2020-12-27 12:03:44 -05:00
zm_rtsp.h moer cppcheck fixes 2017-11-17 07:52:26 -05:00
zm_rtsp_auth.cpp Code style/spacing 2020-05-07 13:43:35 -04:00
zm_rtsp_auth.h Merge pull request #2874 from hax0kartik/2810-libjwt 2020-03-06 14:48:45 -05:00
zm_rtsp_server_device_source.cpp change outputFd which is unused to stream_id which is the stream_id to concern ourselves with when getting packets from the packetqueue. Add more tests for zm_terminate. Add testing for AV_CODEC_ID instead of v4l2 PIX_FMT to determine stream type 2021-01-07 09:46:06 -05:00
zm_rtsp_server_device_source.h change outputFd which is unused to stream_id which is the stream_id to concern ourselves with when getting packets from the packetqueue. Add more tests for zm_terminate. Add testing for AV_CODEC_ID instead of v4l2 PIX_FMT to determine stream type 2021-01-07 09:46:06 -05:00
zm_rtsp_server_frame.h Add AVPacket parsing queue and other files for rtsp_server 2021-01-06 11:26:08 -05:00
zm_rtsp_server_h264_device_source.cpp Add AVPacket parsing queue and other files for rtsp_server 2021-01-06 11:26:08 -05:00
zm_rtsp_server_h264_device_source.h Add AVPacket parsing queue and other files for rtsp_server 2021-01-06 11:26:08 -05:00
zm_rtsp_server_server_media_subsession.cpp Add AVPacket parsing queue and other files for rtsp_server 2021-01-06 11:26:08 -05:00
zm_rtsp_server_server_media_subsession.h Add AVPacket parsing queue and other files for rtsp_server 2021-01-06 11:26:08 -05:00
zm_rtsp_server_thread.cpp change outputFd which is unused to stream_id which is the stream_id to concern ourselves with when getting packets from the packetqueue. Add more tests for zm_terminate. Add testing for AV_CODEC_ID instead of v4l2 PIX_FMT to determine stream type 2021-01-07 09:46:06 -05:00
zm_rtsp_server_thread.h change outputFd which is unused to stream_id which is the stream_id to concern ourselves with when getting packets from the packetqueue. Add more tests for zm_terminate. Add testing for AV_CODEC_ID instead of v4l2 PIX_FMT to determine stream type 2021-01-07 09:46:06 -05:00
zm_rtsp_server_unicast_server_media_subsession.cpp Add AVPacket parsing queue and other files for rtsp_server 2021-01-06 11:26:08 -05:00
zm_rtsp_server_unicast_server_media_subsession.h Add AVPacket parsing queue and other files for rtsp_server 2021-01-06 11:26:08 -05:00
zm_sdp.cpp need to copy parameters to codecpar 2020-12-27 12:04:17 -05:00
zm_sdp.h Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm_sendfile.h spacing 2020-09-07 13:28:45 -04:00
zm_signal.cpp code style 2020-10-30 11:50:16 -04:00
zm_signal.h update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_storage.cpp Minor code style update 2020-11-27 13:27:51 -05:00
zm_storage.h add StorageScheme to Storage and Events. Deprecate ZM_USE_DEEP_STORAGE 2017-12-18 12:52:26 -05:00
zm_stream.cpp Reduce error level of warnings about monitors having Function==NONE 2020-11-25 09:53:06 -05:00
zm_stream.h use nullptr when appropriate 2020-10-08 16:46:47 -04:00
zm_swscale.cpp Merge branch 'master' into zma_to_thread 2020-12-29 12:18:26 -05:00
zm_swscale.h Merge branch 'master' into zma_to_thread 2020-07-21 17:38:32 -04:00
zm_thread.cpp Merge branch 'master' into rtsp_server 2020-12-17 10:16:54 -05:00
zm_thread.h Spacing 2020-05-07 13:44:32 -04:00
zm_threaddata.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_time.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_time.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_timer.cpp update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
zm_timer.h coverity scan fixes/cleanups 2018-04-12 11:29:35 -04:00
zm_user.cpp Merge branch 'master' into zma_to_thread 2020-09-29 11:02:40 -04:00
zm_user.h improvements reported by cppcheck 2020-11-01 16:11:19 -05:00
zm_utils.cpp Merge branch 'master' into zma_to_thread 2020-10-20 16:20:29 -04:00
zm_utils.h rename sseversion to sse_version 2020-07-19 17:50:47 -04:00
zm_video.cpp Merge branch 'master' into rtsp_server 2020-12-15 10:14:19 -05:00
zm_video.h Convert NULL/0 to nullptr 2020-08-26 22:03:40 +02:00
zm_videostore.cpp Update codec opening to properly handle passthrough 2021-01-07 09:46:35 -05:00
zm_videostore.h clean up cruft. NULL=>nullptr. Fix some codec_context allocation. Try to solve h264_encoder_close crash. 2020-12-30 21:25:12 -05:00
zm_zone.cpp Merge branch 'master' into rtsp_server 2020-12-17 10:16:54 -05:00
zm_zone.h cleanup code a bit. Move BlobStats to the Zone Object so that it isn't constantly being allocated/freed from the heap. Improve ParsePolygon. 2020-04-20 11:19:33 -04:00
zma.cpp Implement a Monitor::disconnect function. Fix Fatals during connect and cleanup Analysis Monitor code to wait around for zmc. Handle zmc going away gracefully. Fixes a slow zma startup due to zmc not being setup yet. 2020-11-13 12:27:51 -05:00
zmc.cpp Open/CLose RTSP with analysis thread when opening and closing monitor. We have to have successfully PrimeCapture before adding streams to RTSP Server and need to shut it down when closing the monitor because the packetqueue goes away 2021-01-07 09:47:53 -05:00
zms.cpp There is no need to copy query. We do not modify it. 2020-11-21 16:59:21 -05:00
zmu.cpp Add R and W short form options 2020-12-15 16:57:27 -05:00