iOS: fix camera clip clamp regression test

This commit is contained in:
Peter Steinberger committed 2025-12-19 00:53:06 +01:00
1 parent 0e3e4f269d
commit 8f0b5d2d97
2 files changed
+3 -3

No files matched your search

@@ -214,7 +214,7 @@ actor CameraController {
nonisolated static func clampDurationMs(_ ms: Int?) -> Int {
let v = ms ?? 3000
// Keep clips short by default; avoid huge base64 payloads on the bridge.
return min(60_000, max(250, v))
return min(60000, max(250, v))
}
private nonisolated static func exportToMP4(inputURL: URL, outputURL: URL) async throws {