Cédric Verstraeten
39aaf5ad6c
Merge branch 'feature/minimize-sd-view-image' of github.com:kerberos-io/agent into feature/minimize-sd-view-image
2025-08-11 10:25:31 +00:00
Cédric Verstraeten
6fba2ff05d
Refactor logging in gortsplib and mp4 modules to use Debug and Error levels; update free box size in MP4 initialization
2025-08-11 10:20:37 +00:00
Cédric Verstraeten
d78e682759
Update config.json
2025-08-11 11:39:45 +02:00
Cédric Verstraeten
ed582a9d57
Resize polygon coordinates based on IPCamera BaseWidth and BaseHeight configuration
2025-08-11 09:38:24 +00:00
Cédric Verstraeten
aa925d5c9b
Add BaseWidth and BaseHeight configuration options for IPCamera; update resizing logic in RunAgent and websocket handlers
2025-08-11 09:23:11 +00:00
Cédric Verstraeten
08d191e542
Update image resizing to support dynamic height; modify related functions and configurations
2025-08-11 08:08:39 +00:00
Cédric Verstraeten
cc075d7237
Refactor IPCamera configuration to include BaseWidth and BaseHeight; update image resizing logic to use dynamic width based on configuration
2025-08-06 14:42:23 +00:00
Cédric Verstraeten
12cb88e1c1
Replace fmt.Println with log.Log.Debug for buffer size in ImageToBytes function
2025-07-30 13:34:14 +00:00
Cédric Verstraeten
c054526998
Add image resizing functionality and update dependencies
...
- Introduced ResizeImage function to resize images before encoding.
- Updated ImageToBytes function to accept pointer to image.
- Added nfnt/resize library for image resizing.
- Updated go.mod and go.sum to include new dependencies.
- Updated image processing in HandleLiveStreamSD, GetSnapshotRaw, and other functions to use resized images.
- Updated yarn.lock for ui package version change.
2025-07-30 12:06:12 +00:00
Cédric Verstraeten
ffa97598b8
Merge pull request #208 from kerberos-io/feature/increase-chunk-size
...
feature/increase-chunk-size
v3.5.2
2025-07-14 10:07:43 +02:00
cedricve
f5afbf3a63
Add sleep intervals in HandleLiveStreamSD to prevent MQTT flooding
2025-07-14 08:01:35 +00:00
cedricve
e666695c96
Disable live view chunking in configuration and adjust HandleLiveStreamSD function accordingly
2025-07-14 07:59:04 +00:00
Cédric Verstraeten
55816e4b7b
Merge pull request #207 from kerberos-io/feature/increase-chunk-size
...
feature/increase-chunk-size
2025-07-13 22:34:20 +02:00
cedricve
016fb51951
Increase chunk size for live stream handling from 2KB to 25KB
2025-07-13 20:28:32 +00:00
Cédric Verstraeten
550a444650
Merge pull request #206 from kerberos-io/feature/configurable-chunking
...
feature/configurable-chunking
v3.5.1
2025-07-13 22:15:55 +02:00
Cédric Verstraeten
4332e43f27
Update machinery/src/cloud/Cloud.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-13 22:11:49 +02:00
cedricve
fdc3bfb4a4
Add live view chunking configuration to capture settings
2025-07-13 19:47:07 +00:00
cedricve
c17d6b7117
Implement live view chunking configuration for HandleLiveStreamSD function
2025-07-13 19:34:00 +00:00
cedricve
5d7a8103c0
Add Liveview chunking configuration and update WebRTC SDP handling
2025-07-13 19:33:13 +00:00
Cédric Verstraeten
5d7cb98b8f
Merge pull request #205 from kerberos-io/feature/upgrade-version
...
Update main.go
v3.5.0
2025-07-13 20:48:58 +02:00
Cédric Verstraeten
f6046c6a6c
Update main.go
2025-07-13 20:48:45 +02:00
Cédric Verstraeten
f59f9d71a9
Merge pull request #204 from kerberos-io/feature/jpeg-resolution-chunking
...
feature/jpeg-resolution-chunking
2025-07-13 20:46:03 +02:00
cedricve
ff72f9647d
Update chunk size definition in HandleLiveStreamSD for clarity
2025-07-13 18:21:22 +00:00
cedricve
fa604b16cf
Enhance MQTT message structure and logging: add version field to Payload and improve chunked image handling in HandleLiveStreamSD
2025-07-13 16:35:06 +00:00
Cédric Verstraeten
0342869733
Merge pull request #200 from kerberos-io/fix/continue-on-wrong-start-time
...
fix/continue-on-wrong-start-time
v3.4.4
2025-07-05 20:34:31 +02:00
cedricve
8685ce31a2
Add logging for zero startRecording state in HandleRecordStream
2025-07-05 18:31:35 +00:00
Cédric Verstraeten
0e259f0e7a
Merge pull request #199 from kerberos-io/feature/new-method-to-calc-pre-recording-start-time
...
Feature/new method to calc pre recording start time
v3.4.3
2025-07-05 17:08:38 +02:00
cedricve
5823abed95
Remove unused DTS extraction code and video stream handling in HandleRecordStream
2025-07-05 15:05:22 +00:00
cedricve
86acff58f0
Refactor HandleRecordStream to improve recording timestamp management and ensure accurate handling of startRecording and motion detection logic
2025-07-05 14:56:24 +00:00
cedricve
d3fc5d4c29
Enhance max recording period calculation in HandleRecordStream to ensure it accommodates preRecording and postRecording values correctly
2025-07-05 14:39:48 +00:00
cedricve
50bb40938c
Adjust max recording period checks in HandleRecordStream for improved timing accuracy
2025-07-05 14:32:05 +00:00
cedricve
1977d98ad9
Add CurrentTime field to Packet struct and update HandleRecordStream to use it
2025-07-05 14:24:52 +00:00
Cédric Verstraeten
448d4a946d
Merge pull request #198 from kerberos-io/feature/fix-prerecording-duraiton
...
feature/fix-prerecording-duration
v3.4.2
2025-07-04 16:57:01 +02:00
Cédric Verstraeten
61ac314bb7
Fix pre-recording time calculation logic in HandleRecordStream to handle initial recording case correctly
2025-07-04 14:44:13 +00:00
Cédric Verstraeten
c1b144ca28
Fix pre-recording time calculation by adjusting queued packets handling in HandleRecordStream
2025-07-04 14:37:22 +00:00
Cédric Verstraeten
e16987bf9d
Refactor HandleRecordStream to improve pre-recording time calculation and adjust display time logic based on available queued packets.
2025-07-04 11:18:46 +00:00
Cédric Verstraeten
9991597984
Merge pull request #197 from kerberos-io/feature/add-duration-to-recordings
...
feature/add-duration-to-recordings
v3.4.1
2025-07-04 09:18:07 +02:00
cedricve
2c0314cea4
Refactor HandleRecordStream to improve file renaming logic and enhance motion detection handling
2025-07-04 06:23:09 +00:00
cedricve
0584e52b98
Refactor HandleRecordStream to optimize pre-recording time calculation and streamline video stream handling
2025-07-03 20:34:18 +00:00
cedricve
1fc90eaee2
Refactor pre-recording time calculation and improve display time logic for better recording accuracy
2025-07-03 20:04:00 +00:00
cedricve
aef3eacbc9
Enhance pre-recording time calculation by incorporating GOP size and FPS; adjust display time and recording conditions based on pre-recording delta.
2025-07-03 17:51:46 +00:00
cedricve
2843568473
Refactor GOP size handling and enhance queue management for improved recording performance
2025-07-03 17:31:37 +00:00
Cédric Verstraeten
53ffc8cae0
Add GOP size configuration and enhance pre-recording handling for improved stream management
2025-07-02 13:28:02 +00:00
Cédric Verstraeten
86e654fe19
Add GOP size tracking and keyframe interval management for improved video processing
2025-07-02 10:51:23 +00:00
Cédric Verstraeten
46d57f7664
Enhance FPS calculation by adding timestamp-based averaging and improved SPS handling; implement debug logging for SPS information.
2025-07-02 09:53:47 +00:00
Cédric Verstraeten
963d8672eb
Enhance recording process by adding display time calculation and logging for better tracking; add error handling for MP4 file creation when no samples are present.
2025-07-02 08:54:34 +00:00
Cédric Verstraeten
9b7a62816a
Update mp4.go
2025-07-02 09:54:12 +02:00
Cédric Verstraeten
237134fe0e
Update recording filename generation to include duration and motion rectangle for improved clarity
2025-07-01 15:03:01 +00:00
Cédric Verstraeten
c8730e8f26
Enhance recording filename generation to include motion rectangle and duration for improved clarity and uniqueness
2025-07-01 12:54:52 +00:00
Cédric Verstraeten
acbbe8b444
Enhance recording filename generation to include milliseconds and its length for improved uniqueness
2025-07-01 12:48:34 +00:00