Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube livestream randomly ends after playing for awhile #255

Closed
PotatoCider opened this issue Jan 6, 2018 · 2 comments
Closed

Youtube livestream randomly ends after playing for awhile #255

PotatoCider opened this issue Jan 6, 2018 · 2 comments

Comments

@PotatoCider
Copy link

Hi,

This is where I call ytdl,

stream = ytdl(
	"https://www.youtube.com/watch?v=" + vid.id, 
	vid.live ? {} : { filter: "audioonly" }
);

I think this is due to the stream lagging behind and therefore ending the stream earlier than expected.
Any way or workaround to fix this?

@fent
Copy link
Owner

fent commented Jan 6, 2018

Dupe of #231. I suppose I should adjust the naming of that issue a bit.

@fent fent closed this as completed Jan 6, 2018
@fent fent added the duplicate label Jan 6, 2018
@PotatoCider
Copy link
Author

PotatoCider commented Jan 6, 2018

No, it's not a duplicate. The lives stream would play for 10 minutes and the stream ends even though the livestream hasn't stopped. It also stops at random timings. I don't get any request path errors because I'm removing the audioonly filter when the video is a livestream using YouTube API v3
@fent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants