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 Stream EOFs in the middle of stream #8

Closed
RinDoesJava opened this issue Feb 7, 2019 · 1 comment
Closed

Youtube Stream EOFs in the middle of stream #8

RinDoesJava opened this issue Feb 7, 2019 · 1 comment

Comments

@RinDoesJava
Copy link

So this is a weird issue that I kind of understand. From what I know, Google times out because it expects everything to be buffered, when in reality FFMPEG buffers slowly as it goes on. I don't know how easy this is to fix, but it's rather annoying to get an EOF in the middle of a song that's longer than a minute.

@jogramming
Copy link
Owner

Add a bufio.Reader or something, that's outside the scope of what this package is responsible for. (the caller is responsible for the input, if dca consumes it too slow, then just put a buffer in)

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

No branches or pull requests

2 participants