Files
YouTube.js/docs/api/namespaces/FormatUtils/functions/toDash.md
Luan 74659fd03f chore: add proper documentation (#763)
* chore: generate API ref using `typedoc`

* chore: declutter readme and add links to ytjs.dev

* chore: clean up
2024-09-23 17:32:50 -03:00

1.2 KiB

youtubei.js / FormatUtils / toDash

Function: toDash()

toDash(streaming_data?, is_post_live_dvr?, url_transformer?, format_filter?, cpn?, player?, actions?, storyboards?, caption_tracks?, options?): Promise<string>

Parameters

streaming_data?: IStreamingData

is_post_live_dvr?: boolean = false

url_transformer?: URLTransformer = ...

format_filter?: FormatFilter

cpn?: string

player?: Player

actions?: Actions

storyboards?: PlayerLiveStoryboardSpec | PlayerStoryboardSpec

caption_tracks?: CaptionTrackData[]

options?: StreamingInfoOptions

Returns

Promise<string>

Defined in

src/utils/DashManifest.tsx:269