UNPKG

ytmusic_api_unofficial

Version:

A simple API to get music from YouTube Music

33 lines 687 B
import Player from "./Player"; export default class StreamPlayer { /** * The array of the music files streamable */ audios: Array<Player>; /** * The array of the video files streamable */ videos: Array<Player>; /** * If it's available */ available: boolean; /** * Show unplayable reason */ unplayable_reason: string; /** * The max bitrate of the music */ maxBitrate: number; constructor(data: any); /** * Get the best audio quality */ bestAudio(): Player; /** * Get the best video quality */ bestVideo(): Player; } //# sourceMappingURL=StreamPlayer.d.ts.map