Isaac Connor
bf2cb5fb1f
Add PrimeCapture to zm_remote_camera_http. PrimeCapture is used to determine if we can connect and so by not implementing it, monitors like this say capturing even though they are not.
2020-08-08 10:21:06 -04:00
Isaac Connor
a19990f4d7
Merge branch 'release-1.34'
2020-08-06 11:57:35 -04:00
Isaac Connor
d8cd4386cf
rename GetOptEncoderParams to GetOptEncoderParams to GetOptEncoderParamsVec so that we can get at the std::string if we want to.
...
Use EncoderParams when setting movflags in VideoStore.
Move the content of this option to a help popup so that we can remove the comments from it. av_dict_parse doesn't handle the hash tag as a comment.
2020-07-30 15:06:05 -04:00
Isaac Connor
c488756eb8
Merge branch 'master' into fix_remote_http
2020-02-19 14:42:24 -05:00
Isaac Connor
0afcbe626c
remove redundant logging line. Connect() will do the logging
2020-01-13 12:51:30 -05:00
Isaac Connor
ce37fce99c
spacing
2019-09-20 08:19:57 -04:00
Isaac Connor
af501128f2
fix invalid use of %s. Pass the buffer as the format string instead of a ... param
2018-11-29 10:54:01 -05:00
Isaac Connor
be0767b4cd
Merge branch 'storageareas' of github.com:/connortechnology/ZoneMinder into storageareas
2018-11-06 15:27:17 -05:00
Isaac Connor
5a933a93c2
clean up static vars and google code style
2018-11-06 15:27:10 -05:00
Isaac Connor
17c091f9f9
Google code style and add a debug showing the # of addresses in hp
2018-11-02 10:26:39 -04:00
Isaac Connor
315b1bc11e
Implement a GetData function and use it to simplify the code everywhere we want to get more data.
2018-07-10 11:48:08 -04:00
Isaac Connor
8bdc68dc65
include zm_signal.h so that we have access to zm_terminate. Use zm_terminate to break out of endless loops. Add incoming bytes counts
2018-04-25 10:49:35 -04:00
Isaac Connor
af67e3b686
whitespace
2018-02-04 11:54:25 -08:00
Isaac Connor
159c0a7165
moer cppcheck fixes
2017-11-17 07:52:26 -05:00
Isaac Connor
cab8c4cd5e
cleanup Monitor::Capture. Cleanup the return values from Capture and CaptureAndRecord. <0 is error, 0 is things ok, but no video frame. > 0 means we have a frame. Plus google code style
2017-11-03 13:49:42 -04:00
Isaac Connor
1dbf599f10
add a cast to get rid of build warning
2017-04-05 10:36:44 -04:00
Isaac Connor
7b8ff44163
Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas
2017-03-20 15:04:54 -04:00
Isaac Connor
816b0a9e01
add getsockopt test
2017-03-20 15:04:05 -04:00
Isaac Connor
d135216ac7
Merge branch 'master' into storageareas
2017-02-15 09:30:35 -05:00
Isaac Connor
d5bb6f3210
remove line that causes endless reading when doing single image mode
2017-02-11 09:57:36 -05:00
Isaac Connor
5d03e9f50e
Merge branch 'fix_1743_Edimax' into storageareas
2017-01-11 10:34:08 -05:00
Isaac Connor
c0e929f136
change regexp to handle quotes in the content-type line. This is needed for edimax cameras
2017-01-11 09:11:27 -05:00
Isaac Connor
5ae34a7561
Merge branch 'master' into storageareas
2017-01-02 09:39:10 -05:00
Andy Bauer
254fcbcef7
update gpl 2 mailing address in source files
2016-12-26 09:23:16 -06:00
Isaac Connor
727d4b9714
add tests when select returns true, but no bytes available, in single image mode
2016-12-23 11:27:50 -05:00
Isaac Connor
61d3ecf9c1
when a socket times out, use getsockopt to see if there are any errors
2016-12-22 13:31:42 -05:00
Matt Durant
350352d956
Added check for SINGLE_IMAGE if ReadData() detects the socket closed by remote side to return 0 instead of -1.
2016-08-31 20:56:30 -05:00
Isaac Connor
eb30a9079e
code style, commenting
2016-09-29 14:04:32 -04:00
Isaac Connor
8f33ed6ca6
introduce another sharedmem variable called startup_time, which is set by zmc indicating when the process started.
2016-09-15 11:16:05 -04:00
Isaac Connor
2b4bad86cb
Merge branch 'master' into storageareas
2016-09-13 10:21:10 -04:00
Isaac Connor
62a2ce56fb
Merge Rotation/Orientation work, rename id to monitor_id in cameras and also make it an unsigned int since logically that is what it is. Also some fixups for bad rtsp h264 streams.
2016-08-10 12:19:53 -04:00
Isaac Connor
1383e0b774
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-06-22 09:41:47 -04:00
Isaac Connor
e29a0ebe71
Merge branch 'feature-h264-videostorage' into storageareas
2016-06-21 13:48:32 -04:00
Isaac Connor
6a8db582ff
whitespacing updates
2016-06-21 12:21:18 -04:00
Steve Gilvarry
da157f5a1a
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2016-04-30 22:27:10 +10:00
Isaac Connor
9a795432cf
merge all the commits from the messed up iconnor_video branch
2016-04-05 17:14:46 -04:00
Isaac Connor
03b1ced568
tabs to spaces and use 2space indenting
2016-04-04 10:11:48 -04:00
Isaac Connor
56d95bb949
Merge branch 'iconnor_video' into storageareas
2016-03-31 14:02:56 -04:00
Isaac Connor
c26dbb9028
rough in record_audio, and do lots of whitespace cleanups
2016-03-31 12:54:56 -04:00
Isaac Connor
58f19f14e1
print ip and hostname when can't connect
2016-03-29 11:51:58 -04:00
Isaac Connor
96ff5ec619
include netinet/in.h for FreeBSD so that we can do ipv6 ip lookups
2016-03-28 05:39:26 -04:00
Dmitry Smirnov
5bcc414038
codespell: misc. spelling corrections
...
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2016-02-08 20:41:36 +11:00
SteveGilvarry
af76d19646
Add a constrained namespace implementation around Authenticator class to prevent conflict with libvlc live555.
2015-12-18 01:47:10 +11:00
Isaac Connor
994de4ae0a
Introduce a read_into function in the Buffer. Use it when reading over http from a camera to remove an extra mem copy. Limit reads to 1 network buffer instead of reading everything that is available.
2015-07-06 15:57:06 -04:00
Isaac Connor
95d7a3ff94
alter the logic of ReadData. New behaviour is documented. This solves unneccessary disconnects for me.
2015-06-04 11:33:03 -04:00
Rick Sayre
12516da3dc
Patched in changes to 1.28.1 to allow OmniOS/Illumos to build and work
...
haven't attempted to build yet, there are some changes
2015-05-17 17:18:54 -07:00
Isaac Connor
4c7e8592d0
fix content-type parsing when there are options on it
2015-02-04 13:53:42 -05:00
Isaac Connor
1abe35c576
change Debug level of this line to something higher
2015-02-03 14:33:23 -05:00
Isaac Connor
e6d47781d3
add Digest Authentication handling for simple http method.
2014-11-28 15:56:58 -05:00
Isaac Connor
9eda71570a
merge the rest of my Digest-AUth fixes: This should solve #399
2014-11-20 10:44:31 -05:00