compatibility readme added

This commit is contained in:
killer069
2022-01-20 16:52:48 +05:30
parent 2242c64a8c
commit 4611ab5b40
2 changed files with 13 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ async function stream(url: string, options?: StreamOptions): Promise<YouTubeStre
* - `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 ]
* - `boolean` discordPlayerCompatibility : Conversion of Webm to Opus [ Defaults to true ]
* - `boolean` discordPlayerCompatibility : Conversion of Webm to Opus [ Defaults to false ]
* @returns A {@link YouTubeStream} or {@link SoundCloudStream} Stream to play
*/
async function stream(url: string, options: StreamOptions = {}): Promise<YouTubeStream | SoundCloudStream> {
@@ -240,7 +240,7 @@ async function stream_from_info(info: InfoData, options?: StreamOptions): Promis
* - `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 ]
* - `boolean` discordPlayerCompatibility : Conversion of Webm to Opus[ Defaults to true ]
* - `boolean` discordPlayerCompatibility : Conversion of Webm to Opus[ Defaults to false ]
* @returns A {@link YouTubeStream} or {@link SoundCloudStream} Stream to play
*/
async function stream_from_info(