(rawFileKey: string)
| 125 | } |
| 126 | |
| 127 | function getInputExtension(rawFileKey: string): string { |
| 128 | const parts = rawFileKey.split("."); |
| 129 | const extension = parts.at(-1)?.toLowerCase(); |
| 130 | |
| 131 | if (!extension) { |
| 132 | return ".mp4"; |
| 133 | } |
| 134 | |
| 135 | return `.${extension}`; |
| 136 | } |
| 137 | |
| 138 | async function waitForRetry(delayMs: number): Promise<void> { |
| 139 | await new Promise((resolve) => setTimeout(resolve, delayMs)); |
no outgoing calls
no test coverage detected