fent/node-m3u8stream

Unable to play more than a few seconds from a Youtube live stream

Opened this issue · 0 comments

Hi all, I am unable to play more than 2-3 seconds of any live video (such as https://www.youtube.com/watch?v=5qap5aO4i9A) via the ytdl-core package. The stream ends without any errors. Normal videos are fine.

Modifying the liveBuffer option to values between 1 and 4999 allows live video to play. The liveBuffer option in the ytdl-core package is a direct pass-through to m3u8stream, hence the issue raised here (thanks @TimeForANinja).

The issue has been raised over at ytdl-core #1015.

I'm using Node.js v16.9.1, Discord.js v13.1.0, @discordjs/voice v0.6.0, ytdl-core v4.9.1 & m3u8stream v0.8.4.