Commit Graph

  • 50bb40938c Adjust max recording period checks in HandleRecordStream for improved timing accuracy cedricve 2025-07-05 14:32:05 +00:00
  • 1977d98ad9 Add CurrentTime field to Packet struct and update HandleRecordStream to use it cedricve 2025-07-05 14:24:52 +00:00
  • 448d4a946d Merge pull request #198 from kerberos-io/feature/fix-prerecording-duraiton v3.4.2 Cédric Verstraeten 2025-07-04 16:57:01 +02:00
  • 61ac314bb7 Fix pre-recording time calculation logic in HandleRecordStream to handle initial recording case correctly Cédric Verstraeten 2025-07-04 14:44:13 +00:00
  • c1b144ca28 Fix pre-recording time calculation by adjusting queued packets handling in HandleRecordStream Cédric Verstraeten 2025-07-04 14:37:22 +00:00
  • e16987bf9d Refactor HandleRecordStream to improve pre-recording time calculation and adjust display time logic based on available queued packets. Cédric Verstraeten 2025-07-04 11:18:46 +00:00
  • 9991597984 Merge pull request #197 from kerberos-io/feature/add-duration-to-recordings v3.4.1 Cédric Verstraeten 2025-07-04 09:18:07 +02:00
  • 2c0314cea4 Refactor HandleRecordStream to improve file renaming logic and enhance motion detection handling cedricve 2025-07-04 06:23:09 +00:00
  • 0584e52b98 Refactor HandleRecordStream to optimize pre-recording time calculation and streamline video stream handling cedricve 2025-07-03 20:34:18 +00:00
  • 1fc90eaee2 Refactor pre-recording time calculation and improve display time logic for better recording accuracy cedricve 2025-07-03 20:04:00 +00:00
  • aef3eacbc9 Enhance pre-recording time calculation by incorporating GOP size and FPS; adjust display time and recording conditions based on pre-recording delta. cedricve 2025-07-03 17:51:46 +00:00
  • 2843568473 Refactor GOP size handling and enhance queue management for improved recording performance cedricve 2025-07-03 17:31:37 +00:00
  • 53ffc8cae0 Add GOP size configuration and enhance pre-recording handling for improved stream management Cédric Verstraeten 2025-07-02 13:28:02 +00:00
  • 86e654fe19 Add GOP size tracking and keyframe interval management for improved video processing Cédric Verstraeten 2025-07-02 10:51:23 +00:00
  • 46d57f7664 Enhance FPS calculation by adding timestamp-based averaging and improved SPS handling; implement debug logging for SPS information. Cédric Verstraeten 2025-07-02 09:53:47 +00:00
  • 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. Cédric Verstraeten 2025-07-02 08:54:34 +00:00
  • 9b7a62816a Update mp4.go Cédric Verstraeten 2025-07-02 09:54:12 +02:00
  • 237134fe0e Update recording filename generation to include duration and motion rectangle for improved clarity Cédric Verstraeten 2025-07-01 15:03:01 +00:00
  • c8730e8f26 Enhance recording filename generation to include motion rectangle and duration for improved clarity and uniqueness Cédric Verstraeten 2025-07-01 12:54:52 +00:00
  • acbbe8b444 Enhance recording filename generation to include milliseconds and its length for improved uniqueness Cédric Verstraeten 2025-07-01 12:48:34 +00:00
  • f690016aa5 Refactor motion detection to include motion rectangle and update logging levels for sample addition in MP4 track Cédric Verstraeten 2025-07-01 12:37:44 +00:00
  • 396cfe5d8b Merge pull request #191 from kerberos-io/feature/migrate-to--mp4ff v3.4.0 Cédric Verstraeten 2025-06-24 13:39:56 +02:00
  • 39fe640ccf Refactor logging in AddSampleToTrack method to use structured logging Cédric Verstraeten 2025-06-23 10:21:02 +00:00
  • d389c9b0b6 Add logging for sample addition in MP4 track Cédric Verstraeten 2025-06-23 10:07:30 +00:00
  • b149686db8 Remove Bento4 build steps and clean up Dockerfile structure Cédric Verstraeten 2025-06-23 09:57:04 +00:00
  • c4358cbfad Fix typo in IPCamera struct: update VPSNALUs field JSON tag from "pps_nalus" to "vps_nalus" Cédric Verstraeten 2025-06-23 09:03:00 +00:00
  • cfc5bd3dfe Remove unused audio stream retrieval in HandleRecordStream function Cédric Verstraeten 2025-06-23 07:58:39 +00:00
  • c29c1b6a92 Merge branch 'master' into feature/migrate-to--mp4ff Cédric Verstraeten 2025-06-23 09:55:31 +02:00
  • 0f45a2a4b4 Merge branch 'feature/migrate-to--mp4ff' of github.com:kerberos-io/agent into feature/migrate-to--mp4ff Cédric Verstraeten 2025-06-23 09:54:41 +02:00
  • 92edcc13c0 Refactor OpenTelemetry tracing integration in RTSP client and components for improved context handling Cédric Verstraeten 2025-06-23 07:54:34 +00:00
  • 5392e2ba90 Update Dockerfile to remove incorrect source path and add Bento4 build process cedricve 2025-06-22 19:46:03 +00:00
  • 79e1f659c7 Update mongo-driver dependency from v1.17.4 to v1.17.3 to maintain compatibility cedricve 2025-06-21 20:13:38 +00:00
  • bf35e5efb6 Implement OpenTelemetry tracing in the agent cedricve 2025-06-20 09:35:13 +00:00
  • c50137f255 Comment out OpenTelemetry tracing initialization in main.go to simplify the codebase and remove unused functionality. Cédric Verstraeten 2025-06-16 10:30:02 +00:00
  • f12da749b2 Remove OpenTelemetry tracing code from main.go and Kerberos.go files to simplify the codebase and eliminate unused dependencies. Cédric Verstraeten 2025-06-16 10:08:55 +00:00
  • a166083423 Update machinery/src/packets/stream.go Cédric VerstraetenandCopilot 2025-06-16 10:20:43 +02:00
  • b400d4e773 Refactor Dockerfile build commands to streamline Go build process and improve clarity Cédric Verstraeten 2025-06-16 06:42:08 +00:00
  • 120054d3e5 Add SampleRate and Channels fields to IPCamera configuration and update audio stream handling Cédric Verstraeten 2025-06-16 06:37:19 +00:00
  • 620117c31b Refactor WriteToTrack to use updated PacketTimestamp for video and audio samples, improving synchronization accuracy. cedricve 2025-06-07 22:12:15 +00:00
  • 4e371488c1 Remove unnecessary copy of mp4fragment in Dockerfile, streamlining the agent setup process. cedricve 2025-06-07 21:22:49 +00:00
  • b154b56308 Refactor Dockerfile to remove CGO_ENABLED=0 from build command, simplifying the build process for the agent. cedricve 2025-06-07 21:17:25 +00:00
  • 6d92817237 Refactor HandleRecordStream to adjust maxRecordingPeriod calculation for improved timing accuracy. Simplify mp4 segment encoding logic to ensure it always attempts to encode the last segment, enhancing error handling. cedricve 2025-06-07 12:30:42 +00:00
  • b8c1855830 Refactor HandleRecordStream to use milliseconds for timing calculations, improving accuracy in recording periods and motion detection logic. Update mp4 encoding to ensure segment encoding only occurs if a segment exists, preventing potential panics. cedricve 2025-06-07 11:53:03 +00:00
  • a9f7ff4b72 Refactor HandleRecordStream to remove unused mp4.Movmuxer and streamline video sample handling with mp4Video, enhancing recording process and error logging. cedricve 2025-06-07 06:26:23 +00:00
  • b3cd080e14 Refactor Dockerfile and main.go to enhance build process and streamline video handling Cédric Verstraeten 2025-06-06 15:14:45 +00:00
  • bfde87f888 Refactor WriteToTrack to improve sample handling by using last processed audio and video samples, enhancing buffer duration calculation and streamlining packet processing. Cédric Verstraeten 2025-06-06 14:36:19 +00:00
  • c4453bb8b3 Fix packet handling in WriteToTrack to ensure proper processing of next packets on timeout and empty data Cédric Verstraeten 2025-06-06 13:36:30 +00:00
  • 40f65a30b3 Clarify audio transcoding process in WriteToTrack with detailed comments on AAC to PCM_MULAW conversion Cédric Verstraeten 2025-06-06 13:33:28 +00:00
  • 5361de63e0 Refactor packet handling in WriteToTrack to improve buffer duration calculation and streamline packet reading Cédric Verstraeten 2025-06-06 13:23:09 +00:00
  • 3a8552d362 Enhance MP4 handling by updating track IDs in fragment creation, improving H264 and H265 NAL unit conversion, and adding support for HVC1 compatible brands in the ftyp box Cédric Verstraeten 2025-06-05 14:48:19 +00:00
  • d3840103fc Add VPS NALUs support in IPCamera configuration and MP4 handling for improved video processing Cédric Verstraeten 2025-06-05 13:28:10 +00:00
  • d12a9f0612 Refactor MP4 handling by simplifying Close method and adding last sample DTS tracking for better audio and video sample management Cédric Verstraeten 2025-06-05 10:59:44 +00:00
  • c0d74f7e09 Remove placeholder comments from AddSampleToTrack and Close methods for cleaner code cedricve 2025-06-04 19:23:48 +00:00
  • 8ebea9e4c5 Refactor MP4 struct by removing unused video and audio fragment fields, and enhance track handling in Close method for better audio and subtitle track management cedricve 2025-06-04 19:03:58 +00:00
  • 89269caf92 Refactor AddSampleToTrack and SplitAACFrame methods to enhance audio sample handling and improve error logging cedricve 2025-06-04 18:36:00 +00:00
  • 0c83170f51 Fix AAC descriptor index in Close method to ensure correct audio track setup Cédric Verstraeten 2025-06-04 13:15:08 +00:00
  • 6081cb4be9 Update mp4.go Cédric Verstraeten 2025-06-04 14:39:44 +02:00
  • ea1dbb3087 Refactor AddSampleToTrack method to improve AAC frame handling by splitting frames and updating duration calculations for audio samples Cédric Verstraeten 2025-06-04 09:49:29 +00:00
  • 0523208d36 Update mp4.go Cédric Verstraeten 2025-06-04 11:28:16 +02:00
  • 919f21b48b Refactor AddSampleToTrack method to create separate video and audio fragments, enhancing sample handling and improving error logging for AAC frames Cédric Verstraeten 2025-06-04 08:45:54 +00:00
  • 2c1c10a2ac Refactor AddSampleToTrack and Close methods to improve sample handling and track management for video and audio cedricve 2025-06-03 20:33:00 +00:00
  • 7e3320b252 Refactor AddSampleToTrack method to remove duration parameter and enhance fragment handling for video and audio tracks cedricve 2025-06-03 19:18:16 +00:00
  • 35ccac8b65 Refactor MP4 fragment handling in AddSampleToTrack method to separate video and audio fragments for improved track management Cédric Verstraeten 2025-06-03 13:29:36 +00:00
  • dad8165d11 Enhance sample handling in AddSampleToTrack method to support multiple packets and improve error logging Cédric Verstraeten 2025-06-03 12:30:03 +00:00
  • ba54188de2 Refactor video and audio track handling in MP4 structure to store track names and return track IDs for better management Cédric Verstraeten 2025-06-03 10:23:14 +00:00
  • 3b440c9905 Add audio and video codec detection in HandleRecordStream function cedricve 2025-06-03 06:27:25 +00:00
  • 42b98b7f20 Update mp4.go cedricve 2025-06-03 08:25:51 +02:00
  • ba3312b57c Refactor AddSampleToTrack method to return error instead of panicking for better error handling cedricve 2025-06-03 05:55:23 +00:00
  • 223ba255e9 Fix signature handling in MP4 closing logic to ensure valid signatures are used for fingerprint cedricve 2025-06-02 17:45:05 +00:00
  • a1df2be207 Implement signing feature with default private key configuration and update MP4 closing logic to include fingerprint signing Cédric Verstraeten 2025-06-02 16:02:06 +00:00
  • d7f225ca73 Add signing configuration placeholder to the agent's config Cédric Verstraeten 2025-06-02 14:08:47 +00:00
  • b3cfabb5df Update signing configuration to use private key for recording validation Cédric Verstraeten 2025-06-02 14:06:16 +00:00
  • 5310dd4550 Add signing configuration options to the agent Cédric Verstraeten 2025-06-02 13:50:48 +00:00
  • cde7dbb58a Add configuration options for signing recordings and public key usage Cédric Verstraeten 2025-06-02 13:41:15 +00:00
  • 65e68231c7 Refactor MP4 handling in capture and video modules Cédric Verstraeten 2025-06-02 12:27:22 +00:00
  • 5502555869 Integrate OpenTelemetry tracing in main and components, enhancing observability Cédric Verstraeten 2025-06-02 07:30:49 +00:00
  • ad6e7e752f Refactor MP4 handling to remove commented-out track additions and enhance moov box management cedricve 2025-06-02 07:15:24 +00:00
  • 63af4660ef Refactor MP4 initialization and closing logic to improve segment handling and add custom UUID support cedricve 2025-06-01 20:07:36 +00:00
  • 24fc340001 Refactor MP4 initialization and sample addition logic to enhance duration handling and segment management cedricve 2025-05-30 19:06:56 +00:00
  • 78d786b69d Add custom UUID box and enhance MP4 file closing logic cedricve 2025-05-29 10:14:43 +00:00
  • 756aeaa0eb Refactor MP4 handling to improve sample addition and duration calculation cedricve 2025-05-28 18:36:34 +00:00
  • 055fb67d7a Update mp4.go cedricve 2025-05-26 21:59:23 +02:00
  • bee522a6bf Refactor MP4 handling to improve sample addition and segment management cedricve 2025-05-26 06:00:17 +00:00
  • 3fbf59c622 Merge pull request #192 from kerberos-io/fix/do-not-add-aac-track v3.3.21 v3.3.20 Cédric Verstraeten 2025-05-22 21:07:28 +02:00
  • abd8b8b605 Add audio codec handling in HandleRecordStream function cedricve 2025-05-22 18:33:13 +00:00
  • abdad47bf3 Add MP4 video handling and update IPCamera configuration cedricve 2025-05-22 05:53:33 +00:00
  • d2c24edf5d Merge pull request #190 from kerberos-io/feature/update-workflow-do-not-push-to-latest v3.3.19-onvif-v0.0.14 Cédric Verstraeten 2025-05-20 16:05:04 +02:00
  • 22f4a7f119 Update Docker build workflow to use input tag for image naming Cédric Verstraeten 2025-05-20 14:03:44 +00:00
  • a25d3d32e4 Merge pull request #189 from kerberos-io/feature/allow-release-workflow-to-triggered-manually Cédric Verstraeten 2025-05-20 14:46:26 +02:00
  • ed68c32e04 Enhance release workflow to include tag input for Docker image Cédric Verstraeten 2025-05-20 12:45:52 +00:00
  • 4114b3839a Merge pull request #187 from kerberos-io/upgrade/base-image v3.3.19 Cédric Verstraeten 2025-05-19 15:22:36 +02:00
  • 3f73c009fd Update Dockerfile Cédric VerstraetenandCopilot 2025-05-19 15:15:33 +02:00
  • 02fb70c76e Update base image version in Dockerfile Cédric Verstraeten 2025-05-19 14:52:28 +02:00
  • aaddcb854d Merge pull request #185 from kerberos-io/feature/retry-windows-secondary-vault Cédric Verstraeten 2025-05-17 21:40:58 +02:00
  • e73c7a6ecc Remove kstorageRetryPolicy from configuration cedricve 2025-05-17 19:37:07 +00:00
  • 1dc2202f37 Enhance logging for secondary Kerberos Vault upload process cedricve 2025-05-17 19:29:35 +00:00
  • ac710ae1f5 Fix typo in Kerberos Vault max retries translation key cedricve 2025-05-17 19:16:27 +00:00
  • f5ea82ff03 Add Kerberos Vault settings for max retries and timeout configuration cedricve 2025-05-17 19:14:02 +00:00
  • ef52325240 Update Kerberos Vault configuration for max retries and timeout; adjust upload delay cedricve 2025-05-17 08:37:40 +00:00
  • 354855feb1 Refactor Kerberos Vault configuration for retry policy consistency cedricve 2025-05-17 08:23:32 +00:00