ActiveMediaItem
Generated TypeScript API reference for the public mcut SDK.
mcut SDK / media/src / ActiveMediaItem
Interface: ActiveMediaItem
Defined in: packages/media/src/preview-pool.ts:18
Properties
assetId
assetId: `a-${string}`;Defined in: packages/media/src/preview-pool.ts:19
kind
kind: "video" | "audio";Defined in: packages/media/src/preview-pool.ts:20
rate
rate: number;Defined in: packages/media/src/preview-pool.ts:24
Element playback speed at the playhead (timeMap slope; 1 unmapped, 0 frozen).
reversed?
optional reversed?: boolean;Defined in: packages/media/src/preview-pool.ts:32
The element plays its source backward. Media elements reject negative rates, so the pool seek-chases these like a scrub (frames come from the scrub cache) and their preview audio is muted; export is exact.
sourceTimeMs
sourceTimeMs: number;Defined in: packages/media/src/preview-pool.ts:22
Media-local time (after trim and time remap).
volume
volume: number;Defined in: packages/media/src/preview-pool.ts:26
Effective volume (element volume × fades; 0 when element/track muted).