Update index.ts

This commit is contained in:
Killer069
2022-01-04 15:26:01 +05:30
committed by GitHub
parent c5ecd43880
commit c2b70e694f

View File

@@ -108,6 +108,7 @@ async function stream(url: string, options?: StreamOptions): Promise<YouTubeStre
* - `string` language : Sets language of searched content [ YouTube search only. ], e.g. "en-US"
* - `number` quality : Quality number. [ 0 = Lowest, 1 = Medium, 2 = Highest ]
* - `boolean` htmldata : given data is html data or not
* - `number` precache : No of segments of data to store before looping [YouTube Live Stream only]. [ Defaults to 3 ]
* @returns A {@link YouTubeStream} or {@link SoundCloudStream} Stream to play
*/
async function stream(url: string, options: StreamOptions = {}): Promise<YouTubeStream | SoundCloudStream> {