@lzwme/m3u8-dl
Version:
A free, open-source, and powerful m3u8 video batch downloader with multi-threaded downloading, play-while-downloading, WebUI management, video parsing, and more.
11 lines (10 loc) • 421 B
TypeScript
import type { TsItemInfo } from '../types/m3u8.js';
/**
* 边下边看
*/
export declare function localPlay(m3u8Info: TsItemInfo[]): Promise<{
port: number;
origin: string;
server: import("node:http").Server<typeof import("node:http").IncomingMessage, typeof import("node:http").ServerResponse>;
}>;
export declare function toLocalM3u8(m3u8Info: TsItemInfo[], m3u8FilePath?: string, host?: string): string;