remotion
Version:
Make videos programmatically
11 lines (10 loc) • 398 B
TypeScript
import type React from 'react';
import type { LogLevel } from './log';
export declare const useMediaBuffering: ({ element, shouldBuffer, isPremounting, logLevel, mountTime, src, }: {
element: React.RefObject<HTMLVideoElement | HTMLAudioElement | null>;
shouldBuffer: boolean;
isPremounting: boolean;
logLevel: LogLevel;
mountTime: number;
src: string | null;
}) => boolean;