@remotion/media-parser
Version:
A pure JavaScript library for parsing video files
14 lines (13 loc) • 442 B
TypeScript
import type { Reader } from '../reader';
type ReturnType = {
reader: Reader;
contentLength: number | null;
needsContentRange: boolean;
};
export declare const getLengthAndReader: ({ canLiveWithoutContentLength, res, ownController, requestedWithoutRange, }: {
canLiveWithoutContentLength: boolean;
res: Response;
ownController: AbortController;
requestedWithoutRange: boolean;
}) => Promise<ReturnType>;
export {};