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

Connectivity Test Question (Probable bug) #160

Open
Golyo88 opened this issue Jul 27, 2020 · 0 comments
Open

Connectivity Test Question (Probable bug) #160

Golyo88 opened this issue Jul 27, 2020 · 0 comments

Comments

@Golyo88
Copy link

Golyo88 commented Jul 27, 2020

if (errorHasName(error, OTErrorType.NOT_CONNECTED)) {

catches NOT_CONNECTED (error code: 1010) and UNABLE_TO_PUBLISH (error code: 1500) and every other exception as PublishToSessionError
Documentation of opentok's publish method tells us that this call can throw Connection Failed (error code: 1013) and 1500.

Based on the documentation that call will never throw 1010 which will be represented as PublishToSessionNotConnectedError but it will do a 1013 which will be represented as PublishToSessionError

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

1 participant