@stacksjs/stx
Version:
A performant UI Framework. Powered by Bun.
19 lines • 812 B
TypeScript
import type { HLSResult, DASHResult, StreamingQualityLevel, } from '../../types';
/**
* Generate HLS (HTTP Live Streaming) manifest and segments
*/
export declare function generateHLSManifest(src: string, qualities: StreamingQualityLevel[], outputDir: string, baseUrl: string, options?: {
segmentDuration?: number
playlistType?: 'vod' | 'event'
}): Promise<HLSResult | null>;
/**
* Generate DASH (Dynamic Adaptive Streaming over HTTP) manifest
*/
export declare function generateDASHManifest(src: string, qualities: StreamingQualityLevel[], outputDir: string, baseUrl: string, options?: {
segmentDuration?: number
minBufferTime?: number
}): Promise<DASHResult | null>;
/**
* Default streaming quality levels
*/
export declare const DEFAULT_STREAMING_QUALITIES: StreamingQualityLevel[];