Skip to content

🎥 Make videos programmatically with React

do not retry for retrieving metadata

Igor Samokhovetsd1702603e826
diff --git a/packages/template-music-visualization/src/Root.tsx b/packages/template-music-visualization/src/Root.tsx
index eb53298ee1..2715513c3f 100644
--- a/packages/template-music-visualization/src/Root.tsx
+++ b/packages/template-music-visualization/src/Root.tsx
@@ -36,7 +36,9 @@ export const RemotionRoot: React.FC = () => {
// Determine the length of the video based on the duration of the audio file
calculateMetadata={async ({ props }) => {
const input = new Input({
- source: new UrlSource(props.audioFileUrl),
+ source: new UrlSource(props.audioFileUrl, {
+ getRetryDelay: () => null,
+ }),
formats: ALL_FORMATS,
});