@bililive-tools/huya-recorder
Version:
bililive-tools huya recorder implemention
26 lines (25 loc) • 546 B
TypeScript
export declare function getRoomInfo(roomIdOrShortId: string, formatName?: "auto" | "flv" | "hls"): Promise<{
living: boolean;
id: number;
owner: string;
title: string;
roomId: number;
avatar: string;
cover: string;
streams: StreamProfile[];
sources: {
name: string;
url: string;
}[];
startTime: Date;
liveId: string;
gid: number;
}>;
export interface StreamProfile {
desc: string;
bitRate: number;
}
export interface SourceProfile {
name: string;
url: string;
}