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.
This commit is contained in:
IgorA100 authored and GitHub committed 2026-05-11 00:46:20 +03:00
1 parent e5d607b584
commit bbcd07634d
1 file changed
+1 -1
+1 -1
View File
@@ -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;