Round down video duration for story check

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-07-24 15:06:40 +00:00
committed by GitHub
co-authored by Fedor Indutny
parent efea7196e9
commit 189308c7ae
+1 -1
View File
@@ -9,7 +9,7 @@ import {
} from '../types/AttachmentSize.std.ts';
import { explodePromise } from './explodePromise.std.ts';
const MAX_VIDEO_DURATION_IN_SEC = 30;
const MAX_VIDEO_DURATION_IN_SEC = 30.999;
type MP4ArrayBuffer = ArrayBuffer & { fileStart: number };