mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-07-04 03:51:00 +00:00
chore(docs): update
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
> **chooseFormat**(`options`, `streaming_data?`): [`Format`](../../Misc/classes/Format.md)
|
||||
|
||||
Defined in: [src/utils/FormatUtils.ts:138](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/FormatUtils.ts#L138)
|
||||
Defined in: [src/utils/FormatUtils.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/FormatUtils.ts#L138)
|
||||
|
||||
Selects the format that best matches the given options.
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
# Function: download()
|
||||
|
||||
> **download**(`options`, `actions`, `playability_status?`, `streaming_data?`, `player?`, `cpn?`): `Promise`\<`ReadableStream`\<`Uint8Array`\>\>
|
||||
> **download**(`options`, `actions`, `playability_status?`, `streaming_data?`, `player?`, `cpn?`): `Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
|
||||
|
||||
Defined in: [src/utils/FormatUtils.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/FormatUtils.ts#L10)
|
||||
Defined in: [src/utils/FormatUtils.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/FormatUtils.ts#L10)
|
||||
|
||||
## Parameters
|
||||
|
||||
@@ -34,4 +34,4 @@ Defined in: [src/utils/FormatUtils.ts:10](https://github.com/LuanRT/YouTube.js/b
|
||||
|
||||
## Returns
|
||||
|
||||
`Promise`\<`ReadableStream`\<`Uint8Array`\>\>
|
||||
`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
> **toDash**(`streaming_data?`, `is_post_live_dvr?`, `url_transformer?`, `format_filter?`, `cpn?`, `player?`, `actions?`, `storyboards?`, `caption_tracks?`, `options?`): `Promise`\<`string`\>
|
||||
|
||||
Defined in: [src/utils/DashManifest.tsx:290](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/DashManifest.tsx#L290)
|
||||
Defined in: [src/utils/DashManifest.tsx:290](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/DashManifest.tsx#L290)
|
||||
|
||||
## Parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user