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>
