UNPKG

@bililive-tools/douyu-recorder

Version:
28 lines (27 loc) 740 B
import { Recorder } from "@bililive-tools/manager"; export declare function getInfo(channelId: string): Promise<{ living: boolean; owner: string; title: string; startTime: Date; avatar: string; cover: string; liveId: string; }>; export declare function getStream(opts: Pick<Recorder, "channelId" | "quality"> & { rejectCache?: boolean; strictQuality?: boolean; source?: string; }): Promise<{ living: true; sources: import("./dy_api.js").SourceProfile[]; streams: import("./dy_api.js").StreamProfile[]; isSupportRateSwitch: boolean; isOriginalStream: boolean; currentStream: { source: string; name: string; rate: number; url: string; }; }>;