@remotion/media 4.0.458 → 4.0.459

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.
@@ -0,0 +1,21 @@
1
+ import type { EffectDefinitionAndStack, LoopDisplay, SequenceControls } from 'remotion';
2
+ import { type VolumeProp } from 'remotion';
3
+ export declare const useMediaInTimeline: ({ volume, mediaVolume, src, mediaType, playbackRate, displayName, stack, showInTimeline, premountDisplay, postmountDisplay, loopDisplay, trimBefore, trimAfter, controls, _experimentalEffects, }: {
4
+ volume: VolumeProp | undefined;
5
+ mediaVolume: number;
6
+ src: string | undefined;
7
+ mediaType: "audio" | "video";
8
+ playbackRate: number;
9
+ displayName: string | null;
10
+ stack: string | null;
11
+ showInTimeline: boolean;
12
+ premountDisplay: number | null;
13
+ postmountDisplay: number | null;
14
+ loopDisplay: LoopDisplay | undefined;
15
+ trimBefore: number | undefined;
16
+ trimAfter: number | undefined;
17
+ controls: SequenceControls | undefined;
18
+ _experimentalEffects: EffectDefinitionAndStack<unknown>[];
19
+ }) => {
20
+ id: string;
21
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/media",
3
- "version": "4.0.458",
3
+ "version": "4.0.459",
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.42.0",
26
- "remotion": "4.0.458",
26
+ "remotion": "4.0.459",
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.458",
34
+ "@remotion/eslint-config-internal": "4.0.459",
35
35
  "@vitest/browser-webdriverio": "4.0.9",
36
36
  "eslint": "9.19.0",
37
37
  "react": "19.2.3",
@@ -1,37 +0,0 @@
1
- import type { InputAudioTrack, InputVideoTrack } from 'mediabunny';
2
- import { AudioBufferSink, CanvasSink, Input } from 'mediabunny';
3
- type VideoSinkBundle = {
4
- videoTrack: InputVideoTrack;
5
- canvasSink: CanvasSink;
6
- };
7
- type AudioSinkBundle = {
8
- audioTrack: InputAudioTrack;
9
- audioSink: AudioBufferSink;
10
- };
11
- export declare const acquireInput: ({ src, credentials, }: {
12
- src: string;
13
- credentials: RequestCredentials | undefined;
14
- }) => Input<import("mediabunny").Source>;
15
- export declare const releaseInput: ({ src, credentials, }: {
16
- src: string;
17
- credentials: RequestCredentials | undefined;
18
- }) => void;
19
- export declare const acquireVideoSink: ({ src, credentials, }: {
20
- src: string;
21
- credentials: RequestCredentials | undefined;
22
- }) => Promise<VideoSinkBundle | null>;
23
- export declare const releaseVideoSink: ({ src, credentials, }: {
24
- src: string;
25
- credentials: RequestCredentials | undefined;
26
- }) => void;
27
- export declare const acquireAudioSink: ({ src, credentials, audioStreamIndex, }: {
28
- src: string;
29
- credentials: RequestCredentials | undefined;
30
- audioStreamIndex: number | null;
31
- }) => Promise<AudioSinkBundle | null>;
32
- export declare const releaseAudioSink: ({ src, credentials, audioStreamIndex, }: {
33
- src: string;
34
- credentials: RequestCredentials | undefined;
35
- audioStreamIndex: number | null;
36
- }) => void;
37
- export {};