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

Using VoiceProvider sessionSettings prop causes connection to fail with an exception #270

Closed
michalmo opened this issue Sep 28, 2024 · 1 comment

Comments

@michalmo
Copy link

Session is immediately closed with exception type socket_error and message "We could not connect to the voice. Please try again."

The error originates here https://github.com/HumeAI/empathic-voice-api-js/blob/v0.1.15/packages/react/src/lib/VoiceProvider.tsx#L302-L305 and it appears that readyState is not yet OPEN (see https://github.com/HumeAI/empathic-voice-api-js/blob/v0.1.15/packages/react/src/lib/useVoiceClient.ts#L215-L217).

@jerhadf jerhadf closed this as completed Oct 4, 2024
@yinishi
Copy link
Contributor

yinishi commented Oct 4, 2024

The fix is available in beta 0.1.16-beta.2 and will be included in the upcoming 0.1.16 release.

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

3 participants