-
Notifications
You must be signed in to change notification settings - Fork 82
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
Input Overflow Error when stream is not read from #34
Comments
I have a similar problem when recording audio but only on macOS (tried Ubuntu and I don't have the problem there). System Information
In order to replicate, you can run the following code:
After getting a few data (buffer) logs, I get:
Finally, this is what
|
Fixes this issue: Streampunk#34
I have the same problem on Ubuntu 20.04. I'm trying to use PortAudio to record and stream audio. I can see that a few overflows are reported and handled, but then one is reported after about 7 hours and the stream stops. The program doesn't stop running or trigger any kind of error/EOS, but the Icecast server will close and all recordings will be empty. I had already had this problem when trying to use |
Is there a way to ignore the input overflow error thrown by a stream such that the stream is not closed, and continues to work?
My application records system audio and broadcasts it over a network; sometimes due to network issues or no clients listening in, the stream is not emptied quickly enough, and it overflows and closes, necessitating a server restart for it to work again.
Can the exception be ignored? I remember older versions of naudiodon not closing the stream when an input overflow error occurred, allowing the program to continue running
The text was updated successfully, but these errors were encountered: