@remotion/webcodecs 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.
|
@@ -42,6 +42,7 @@ const getWaveAudioDecoder = ({ onFrame, config, sampleFormat, ioSynchronizer, on
|
|
|
42
42
|
: rawData;
|
|
43
43
|
const numberOfFrames = data.byteLength / bytesPerSample / config.numberOfChannels;
|
|
44
44
|
const audioData = new AudioData({
|
|
45
|
+
// @ts-expect-error
|
|
45
46
|
data,
|
|
46
47
|
format: sampleFormat === 's16' ? 's16' : 's32',
|
|
47
48
|
numberOfChannels: config.numberOfChannels,
|
package/dist/writers/web-fs.js
CHANGED
|
@@ -20,11 +20,13 @@ const createContent = async ({ filename, }) => {
|
|
|
20
20
|
let written = 0;
|
|
21
21
|
let writPromise = Promise.resolve();
|
|
22
22
|
const write = async (arr) => {
|
|
23
|
+
// @ts-expect-error
|
|
23
24
|
await writable.write(arr);
|
|
24
25
|
written += arr.byteLength;
|
|
25
26
|
};
|
|
26
27
|
const updateDataAt = async (position, data) => {
|
|
27
28
|
await writable.seek(position);
|
|
29
|
+
// @ts-expect-error
|
|
28
30
|
await writable.write(data);
|
|
29
31
|
await writable.seek(written);
|
|
30
32
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/webcodecs",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.382",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
28
28
|
"license": "Remotion License (See https://remotion.dev/docs/webcodecs#license)",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@remotion/media-parser": "4.0.
|
|
31
|
-
"@remotion/licensing": "4.0.
|
|
30
|
+
"@remotion/media-parser": "4.0.382",
|
|
31
|
+
"@remotion/licensing": "4.0.382"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/dom-webcodecs": "0.1.11",
|
|
36
|
-
"@remotion/example-videos": "4.0.
|
|
37
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
36
|
+
"@remotion/example-videos": "4.0.382",
|
|
37
|
+
"@remotion/eslint-config-internal": "4.0.382",
|
|
38
38
|
"playwright": "1.55.1",
|
|
39
39
|
"vite": "5.4.21",
|
|
40
40
|
"@playwright/test": "1.55.1",
|