@remotion/media 4.0.437 → 4.0.438

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1625,7 +1625,7 @@ class MediaPlayer {
1625
1625
  const timeInSeconds = globalTime - this.sequenceOffset;
1626
1626
  const localTime = this.getTrimmedTime(timeInSeconds);
1627
1627
  if (localTime === null) {
1628
- throw new Error("hmm, should not render!");
1628
+ return { type: "not-started" };
1629
1629
  }
1630
1630
  const targetTime = (mediaTimestamp - localTime) / (this.playbackRate * this.globalPlaybackRate);
1631
1631
  return this.sharedAudioContext.scheduleAudioNode({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/media",
3
- "version": "4.0.437",
3
+ "version": "4.0.438",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/esm/index.mjs",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "mediabunny": "1.39.2",
26
- "remotion": "4.0.437",
26
+ "remotion": "4.0.438",
27
27
  "zod": "4.3.6"
28
28
  },
29
29
  "peerDependencies": {
@@ -31,7 +31,7 @@
31
31
  "react-dom": ">=16.8.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@remotion/eslint-config-internal": "4.0.437",
34
+ "@remotion/eslint-config-internal": "4.0.438",
35
35
  "@vitest/browser-webdriverio": "4.0.9",
36
36
  "eslint": "9.19.0",
37
37
  "react": "19.2.3",