@bililive-tools/douyin-recorder
Version:
@bililive-tools douyin recorder implemention
31 lines (30 loc) • 827 B
TypeScript
import type { Recorder } from "@bililive-tools/manager";
export declare function getInfo(channelId: string): Promise<{
living: boolean;
owner: string;
title: string;
roomId: string;
avatar: string;
cover: string;
startTime: Date;
liveId: string;
}>;
export declare function getStream(opts: Pick<Recorder, "channelId" | "quality" | "streamPriorities" | "sourcePriorities"> & {
rejectCache?: boolean;
strictQuality?: boolean;
}): Promise<{
currentStream: {
name: string;
source: string;
url: string;
};
living: boolean;
roomId: string;
owner: string;
title: string;
streams: import("./douyin_api.js").StreamProfile[];
sources: import("./douyin_api.js").SourceProfile[];
avatar: string;
cover: string;
liveId: string;
}>;