SushiBtw / discord-music-player

Complete framework to facilitate music commands using discord.js v14 & v13.
https://discord-music-player.js.org/
MIT License
158 stars 65 forks source link

[BUG] Youtube Livestreams stops after 5-10 seconds #270

Closed iLazlow closed 2 years ago

iLazlow commented 2 years ago

Bug Description It seems that Livestreams of Youtube dont work as correctly. After 5-10 seconds the bot stops and the queue is finished. I did some digging and it seems like it is a problem of yt-dl (https://github.com/fent/node-ytdl-core/issues/1015). It is not really a problem within yt-dl itself, more a problem of youtube. There is like a solution (https://github.com/fent/node-ytdl-core/issues/925#issue-899618391). Can anybody confirm if i am correct?

Reproduction Steps Steps to reproduce the behavior: Play a YouTube Livestream link

Expected Result Livestream should work continually

Versioning:

warior456 commented 2 years ago

after a bit of digging there is a setting somewhere where you should change the livebuffer to 4900 for livestreams to work