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
Isaac Connor
090b90565f
Add uriencoding of the password
2023-01-06 12:22:04 -05:00
Isaac Connor
62c084b225
Make the setting to default time base warning into a debug
2023-01-04 12:44:34 -05:00
Isaac Connor
65952705ac
Fix logging of situation. I think inserting at rend, changes the value of rend. So reorder the lines a bit and include the dts of the packet we are inserting after
2022-12-24 12:33:41 -05:00
Isaac Connor
48c18ca4ed
Attempt to better handle 32bit wrap around in the pts in the input stream.
2022-12-23 09:02:41 -05:00
Isaac Connor
8ded9fc83a
copy value of monitor_ids_lodaded in Copy constructor and set monitor_ids_loaded=true when actually loading them.
2022-12-22 12:40:07 -05:00
Isaac Connor
a64ec13a52
Add lots of debugging around group_permission loading and monitor finding
2022-12-22 09:54:07 -05:00
Isaac Connor
0390d0e6f4
Fix FILE Monitor type.
2022-12-08 15:33:57 -05:00
Isaac Connor
9024b57171
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-12-08 13:54:03 -05:00
Isaac Connor
047d775528
Add more debug to loaded group permission
2022-12-08 13:53:58 -05:00
Isaac Connor
64786cc103
Set Status to Connected when updating FPS
2022-12-07 20:35:56 -05:00
Isaac Connor
2ca4756958
Only update fps if capture was successful. Beacuse it now also updates status to say Conected
2022-12-07 20:35:56 -05:00
Isaac Connor
b53eed852c
Merge branch 'master' of ../cloudmule
2022-12-07 12:39:58 -05:00
Isaac Connor
9e8d2a8428
Remove extra debug
2022-12-07 12:27:02 -05:00
Isaac Connor
7e489f7fa2
When there are NO frames in the db, populate the list of frames by 1/fps.
2022-12-07 12:26:51 -05:00
Isaac Connor
46bb48e2c8
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-12-06 11:20:20 -05:00
Isaac Connor
f010356d62
Merge pull request #3638 from kholk/patch-1
...
zm_ffmpeg_camera: Add support for Jetson Nano/Xavier NVMPI
2022-12-06 04:01:51 -05:00
Oleg
83a401fc44
Fix typo fwrite -> write
2022-12-02 21:43:45 +00:00
Isaac Connor
0c41333976
remove extra braces, explicilty handle INHERIT permission and log any other values as a warning
2022-12-02 14:51:53 -05:00
Isaac Connor
b4f674ef5d
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-11-30 13:18:38 -05:00
Isaac Connor
ae66782ddb
Use 32byte aligned buffer size when allocating an image buffer to make ffmpeg happy. Fixes a crash when width = 1080. When linesizes are different, copy line by line instead of the whole buffer all at once.
2022-11-30 13:18:13 -05:00
Isaac Connor
61e5527b63
Log image size as wel
2022-11-30 13:18:13 -05:00
Isaac Connor
fbb9350c58
Remove some extra scope, log group id as well.
2022-11-30 13:00:37 -05:00
AngeloGioacchino Del Regno
7f8badc334
zm_ffmpeg_camera: Add support for Jetson Nano/Xavier NVMPI
...
Add support for the NVMPI hardware decoders (not CUDA decoders!)
of the Tegra SoCs found in the Jetson Nano/TX/TX2 and Xavier NX/AGX.
This platform supports hardware decoding of H264, HEVC, MPEG2,
MPEG4, VP8 and VP9.
2022-11-24 00:09:02 +01:00
Isaac Connor
b3a262fc9b
Fix crash due to using unrotated y-channel image. Put the y-image creation in ::Decode, stored in ZMPacket.
2022-11-22 12:38:48 -05:00
Isaac Connor
5fdf66b51c
Instead of return, set zm_terminate and continue so that we join the command processor thread and don't crash
2022-11-16 10:33:10 -05:00
Isaac Connor
4d716f26ee
Make shm is not connected a debug... otherwise we really spam the logs. Useful error messages can go at a higher level
2022-11-16 09:07:36 -05:00
Isaac Connor
a4c88cea0a
Fix warning about parentheses around assignment used as truth value
2022-11-15 13:03:55 -05:00
Isaac Connor
e59451b6da
Check for return value of openEvent. In the situation where opening the event fails we must not crash.
2022-11-15 12:49:59 -05:00
Isaac Connor
bfaf8c8b53
Fix logic inversion on testing user Monitors for camera access
2022-11-06 07:46:41 -05:00
Isaac Connor
7fda500140
Make permission values 0 based but stsarting with UNKNOWN because when doing permission+0 in SQL, we get a 1-based value
2022-11-03 18:28:23 -04:00
Isaac Connor
6265a1ca41
Move from MonitorIds to Monitor_Permissions and Group_Permissions.
2022-11-02 13:25:43 -04:00
Isaac Connor
6d2b2ae525
Implement split out username/password for remote_camera and remote_camera_http
2022-11-02 10:06:39 -04:00
Isaac Connor
30bb5d47d7
Implement split out username/password for remote_camera and remote_camera_http
2022-11-02 10:06:26 -04:00
Isaac Connor
2d9bc06170
Set a 1 second timeout one the communications socket, so that our blocking commandQueue check will check zm_terminate every now an then
2022-10-26 13:09:43 -04:00
Isaac Connor
de012de198
Add a debug to tell if we got back from joining command_processor
2022-10-25 09:22:17 -04:00
Isaac Connor
37a34a9eb9
Don't list cause:ONVIF when going back into alarm
2022-10-25 09:21:57 -04:00
Isaac Connor
c2680f7f77
Turn failure to send into a debug. When running under fpm etc we may not get SIGPIPE.
2022-10-17 17:22:23 -04:00
Isaac Connor
658ca44c32
Don't panic if no font file found. Perhaps we can continue with diminished function
2022-10-14 14:04:06 -04:00
Isaac Connor
e49876de53
Bump number of db queue entries before warning to 40. 40 is still a reasonable number and rarely hit in testing.
2022-10-13 17:36:41 -04:00
Isaac Connor
a1595c0093
Default to use faststart since we close events in a separate thread we can get away with this now
2022-10-12 19:15:04 -04:00
Isaac Connor
67a399cd1f
Include UpdatedOn when updating Monitor_Status
2022-10-12 19:13:52 -04:00
Isaac Connor
619cf1975f
Add getting the connection id from mysql and log it in zmDbDo. This is so that when mysql reports a dropped connection, we can figure out which process it was.
2022-10-06 10:28:49 -04:00