iOS: fix camera clip clamp regression test

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

View File

@@ -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 {