remotion 4.0.381 → 4.0.382
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.
|
@@ -27,6 +27,10 @@ const useSingletonAudioContext = (logLevel, latencyHint) => {
|
|
|
27
27
|
}
|
|
28
28
|
return new AudioContext({
|
|
29
29
|
latencyHint,
|
|
30
|
+
// By default, this can end up being 44100Hz.
|
|
31
|
+
// Playing a 48000Hz file in a 44100Hz context, such as https://remotion.media/video.mp4 in a @remotion/media tag
|
|
32
|
+
// we observe some issues that seem to go away when we set the sample rate to 48000 with Sony LinkBuds Bluetooth headphones.
|
|
33
|
+
sampleRate: 48000,
|
|
30
34
|
});
|
|
31
35
|
}, [logLevel, latencyHint, env.isRendering]);
|
|
32
36
|
return audioContext;
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -110,7 +110,7 @@ function truthy(value) {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
// src/version.ts
|
|
113
|
-
var VERSION = "4.0.
|
|
113
|
+
var VERSION = "4.0.382";
|
|
114
114
|
|
|
115
115
|
// src/multiple-versions-warning.ts
|
|
116
116
|
var checkMultipleRemotionVersions = () => {
|
|
@@ -3116,7 +3116,8 @@ var useSingletonAudioContext = (logLevel, latencyHint) => {
|
|
|
3116
3116
|
return null;
|
|
3117
3117
|
}
|
|
3118
3118
|
return new AudioContext({
|
|
3119
|
-
latencyHint
|
|
3119
|
+
latencyHint,
|
|
3120
|
+
sampleRate: 48000
|
|
3120
3121
|
});
|
|
3121
3122
|
}, [logLevel, latencyHint, env.isRendering]);
|
|
3122
3123
|
return audioContext;
|
package/dist/esm/version.mjs
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/core"
|
|
4
4
|
},
|
|
5
5
|
"name": "remotion",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.382",
|
|
7
7
|
"description": "Make videos programmatically",
|
|
8
8
|
"main": "dist/cjs/index.js",
|
|
9
9
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"@happy-dom/global-registrator": "14.5.1",
|
|
31
31
|
"@types/dom-webcodecs": "0.1.11",
|
|
32
32
|
"happy-dom": "20.0.2",
|
|
33
|
-
"react": "19.
|
|
34
|
-
"react-dom": "19.
|
|
33
|
+
"react": "19.2.1",
|
|
34
|
+
"react-dom": "19.2.1",
|
|
35
35
|
"webpack": "5.96.1",
|
|
36
36
|
"zod": "3.22.3",
|
|
37
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
37
|
+
"@remotion/eslint-config-internal": "4.0.382",
|
|
38
38
|
"eslint": "9.19.0"
|
|
39
39
|
},
|
|
40
40
|
"keywords": [
|