frameflow
Version:
Audio/Video stream processing library for JavaScript world
10 lines (9 loc) • 372 B
TypeScript
import { BufferData } from "./types/graph";
export declare function isHLSStream(url: string): Promise<boolean>;
export declare function getStaticHLSMetadata(url: string): Promise<{
segmentCount: number;
totalDuration: number;
}>;
export declare function createHLSStream(url: string, options?: {
maxBufferSize?: number;
}): Promise<ReadableStream<BufferData>>;