Skip to content

transcribeYoutubeRealtime ​

Import from: @xbbg/xnews, @xbbg/xnews/asr

transcribeYoutubeRealtime(video, options): AsyncGenerator<RealtimeAsrEvent>

Defined in: src/asr/youtube.ts (declaration: asr/youtube.d.ts:20)

Resolves and decodes YouTube audio, then yields realtime ASR events from the explicitly selected backend. Requires caller-installed yt-dlp and FFmpeg.

Parameters ​

video ​

string

options ​

YoutubeRealtimeTranscriptOptions

Returns ​

AsyncGenerator<RealtimeAsrEvent>

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.