Peter Keresztes Schmidt
403061a39c
Fix warnings reported by -Wmissing-field-initializers
2021-02-26 22:46:09 +01:00
Peter Keresztes Schmidt
f43507dce0
Use the power of smart pointers to manage Monitor instances
2021-02-07 21:20:45 +01:00
Peter Keresztes Schmidt
0dbc39ee25
Cleanup and reorganize includes
...
With this commit a unified structure for includes is introduced.
The general rules:
* Only include what you need
* Include wherever possible in the cpp and forward-declare in the header
The includes are sorted in a local to global fashion. This means for the include order:
0. If cpp file: The corresponding h file and an empty line
1. Includes from the project sorted alphabetically
2. System/library includes sorted alphabetically
3. Conditional includes
2021-02-04 18:02:01 +01:00
Isaac Connor
23305be8bf
break lone lines. Move sendTextFrame to public so that we can use it to send error message in image form.
2021-01-15 14:43:07 -05:00
Isaac Connor
fdf9975deb
break long line
2021-01-11 13:46:50 -05:00
Isaac Connor
cb38242917
use nullptr when appropriate
2020-10-08 16:46:47 -04:00
Isaac Connor
4126f96b40
clean up sendFrame a bit introducing send_file and send_buffer utility functions
2020-09-07 11:19:47 -04:00
Isaac Connor
ea3fcb16a6
Changes to not just die if not connected to monitor. Instead wait around spitting out an error image.
2020-09-02 16:36:05 -04:00
Isaac Connor
f4a0f91d7f
nothing
2020-07-24 15:27:05 -04:00
Isaac Connor
c6c8a23c02
sun_path is defined to be 108 bytes. No need for 4095. Quiets compiler warnings
2020-04-24 18:03:00 -04:00
Isaac Connor
76d88621ac
clean up Stream and EventStream Object initializers
2020-04-21 08:28:44 -04:00
Isaac Connor
17356a7b3a
Use a BOUNDARY define to construct boundary strings. Get rid of code that kills zms when the frame rate drops too low, as dying doesn't help, and some cameras just have a really low frame rate.
2020-04-14 17:01:12 -04:00
Isaac Connor
492be7cc33
make last_zoom last_scale last_x and last_y members of the StreamBase object instead of static vars so that we can access them in monitorStream
2019-09-26 13:51:49 -04:00
Isaac Connor
efa264e0c7
Fix playing in reverse. Fix not sending first frame. Fix sql problem with backticks. Not being able to open a frame image is now non-fatal.
2019-08-16 10:24:51 -04:00
Isaac Connor
95567e07a4
Merge branch 'storageareas' of github.com:/ConnorTechnology/ZoneMinder into storageareas
2019-02-26 11:43:07 -05:00
Isaac Connor
c8549e41da
touch the zms lock file every hour so that we can determine which ones are stale
2018-09-21 15:58:14 -04:00
Isaac Connor
23a2f1e609
quiet coverity by initialising last_frame_timestamp
2017-12-12 13:01:57 -05:00
Isaac Connor
0318fb54a6
add missing initializers
2017-11-16 18:23:02 -05:00
Isaac Connor
fece06c9e3
google code style
2017-10-19 17:12:36 -04:00
Isaac Connor
9fa48954db
more work
2017-07-18 22:30:22 -04:00
Isaac Connor
8569c7523a
fix braces
2017-07-05 14:11:58 -04:00
Isaac Connor
2bc679e65e
if a 0 scale is given, default to 100%
2017-07-05 14:11:17 -04:00
Andy Bauer
254fcbcef7
update gpl 2 mailing address in source files
2016-12-26 09:23:16 -06:00
Isaac Connor
03b1ced568
tabs to spaces and use 2space indenting
2016-04-04 10:11:48 -04:00
arjunrc
904f584fcb
CMD_QUIT definition
2016-01-29 10:00:02 -05:00
Isaac Connor
e637915823
add a lock around the socket creating/deleting.
2015-12-04 15:39:37 -05:00
POKKAHOH
33b6e5cd03
Now can recive RTSP stream.
...
Decode fragmented NAL
Understand sprop-parametr-sets
Don't check unsetted video format (zm_remote_camera_rtsp.cpp)
2013-09-27 15:08:11 +04:00
stan
72f908c4e7
Changed streaming to dynamically reduce frame rates if streams are sent too slowly. Made low bandwidth montage more resilient.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2844 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-04-03 12:10:54 +00:00
stan
bb872feab4
Added result error checking to frame streaming.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2718 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-01-21 17:37:39 +00:00
stan
6d78b17d90
Added CMD_VARPLAY to stream commands
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2687 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-11-03 13:16:47 +00:00
stan
e6041e24a7
Uppdated copyright headers
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2611 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-07-25 09:33:23 +00:00
stan
963c8372a3
Bug 486 - Modified stream structs to also be 32 bit wide.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2594 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-07-23 09:27:07 +00:00
stan
50cc4d980f
Bug 411 - Merged in DVR functionality.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2175 e3e1d417-86f3-4887-817a-d78f3d33393f
2007-08-29 18:11:09 +00:00