UNPKG

remotion

Version:

Make videos programmatically

11 lines (10 loc) 428 B
import type { RefObject } from 'react'; export declare const useRequestVideoCallbackTime: ({ mediaRef, mediaType, lastSeek, onVariableFpsVideoDetected, }: { mediaRef: RefObject<HTMLVideoElement | HTMLAudioElement | null>; mediaType: "video" | "audio"; lastSeek: React.MutableRefObject<number | null>; onVariableFpsVideoDetected: () => void; }) => RefObject<{ time: number; lastUpdate: number; } | null>;