UNPKG

@bililive-tools/douyin-recorder

Version:
38 lines (37 loc) 861 B
export declare const getCookie: () => Promise<string>; export declare function getRoomInfo(webRoomId: string, retryOnSpecialCode?: boolean): Promise<{ living: boolean; roomId: string; owner: string; title: string; streams: StreamProfile[]; sources: SourceProfile[]; avatar: string; cover: string; liveId: string; }>; export interface StreamProfile { desc: string; key: string; bitRate: number; } export interface SourceProfile { name: string; streamMap: StreamData["data"]; } interface StreamData { common: unknown; data: Record<string, { main: { flv: string; hls: string; cmaf: string; dash: string; lls: string; tsl: string; tile: string; sdk_params: string; }; }>; } export {};