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

Add code to handle disconnects #1

Closed
philburk opened this issue Oct 23, 2017 · 0 comments
Closed

Add code to handle disconnects #1

philburk opened this issue Oct 23, 2017 · 0 comments

Comments

@philburk
Copy link
Collaborator

The stream can become disconnected when, for example, plugging or unplugging headphones.
By default, always stop and close the stream.
Let developer override method that will reopen a new stream or whatever the app needs.

philburk pushed a commit that referenced this issue Nov 23, 2017
WARNING: API change
Modifies OboeStreamCallback onError methods.

Adds protection against stopping or closing a stream at the same time
that the error callback is being processed.

Fix issue #1
@dturner dturner closed this as completed Nov 27, 2017
dturner pushed a commit that referenced this issue Feb 12, 2018
WARNING: API change
Modifies OboeStreamCallback onError methods.

Adds protection against stopping or closing a stream at the same time
that the error callback is being processed.

Fix issue #1
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