Skip to content

Comments

Don't close the input stream on overflow.#39

Open
martinblech wants to merge 2 commits intoStreampunk:masterfrom
martinblech:master
Open

Don't close the input stream on overflow.#39
martinblech wants to merge 2 commits intoStreampunk:masterfrom
martinblech:master

Conversation

@martinblech
Copy link

Fixes this issue: #34 (comment)

Clients can log if they want by registering handlers, no need to flood stdout with logs.
scriptorian added a commit that referenced this pull request Jan 10, 2020
@scriptorian
Copy link

I have added a closeOnError option on stream creation that allows you to turn off the default error handling that closes the stream. This defaults to true to maintain the current behaviour.
I have removed some of the logging but left in the error handler as removing it would cause a crash in code that didn't listen for errors.

@andreamisu
Copy link

Do we have any news / workaround on this pull request?
Currently handling my microphone registration capabilities using naudiodon but facing overflow quite frequently.

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

Successfully merging this pull request may close these issues.

3 participants