From bbcd07634d0f6027b266a05a3dc3feba92acaad0 Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Mon, 11 May 2026 00:46:20 +0300 Subject: [PATCH] For now, we'll only search for "mp4" files (download_functions.php) In the future, we'll need to add analysis of all files for merging and use that to decide on the output file format. --- web/includes/download_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/download_functions.php b/web/includes/download_functions.php index 80e01116d..acb4b16be 100644 --- a/web/includes/download_functions.php +++ b/web/includes/download_functions.php @@ -105,7 +105,7 @@ function downloadEvents( $maxTimeSecs = -1; $maxTime = ''; foreach ($events_by_monitor_id[$mid] as $event) { - $filePath = findVideoEventFile($event); + $filePath = findVideoEventFile($event, "mp4"); if ($filePath ==='') { ZM\Warning('The file path for event '.$event->Id().' was not found.'); continue;