@bililive-tools/huya-recorder
Version:
bililive-tools huya recorder implemention
35 lines (34 loc) • 871 B
TypeScript
import { Recorder } from "@bililive-tools/manager";
export declare function getInfo(channelId: string): Promise<{
living: boolean;
owner: string;
title: string;
roomId: number;
avatar: string;
cover: string;
startTime: Date;
liveId: string;
}>;
export declare function getStream(opts: Pick<Recorder, "channelId" | "quality" | "streamPriorities" | "sourcePriorities" | "api" | "formatName"> & {
strictQuality?: boolean;
}): Promise<{
currentStream: {
name: string;
source: string;
url: string;
};
living: boolean;
id: number;
owner: string;
title: string;
roomId: number;
avatar: string;
cover: string;
streams: import("./huya_mobile_api.js").StreamProfile[];
sources: {
name: string;
url: string;
}[];
startTime: Date;
liveId: string;
}>;