Closed michalmo closed 1 month ago
Session is immediately closed with exception type socket_error and message "We could not connect to the voice. Please try again."
socket_error
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).
readyState
OPEN
The fix is available in beta 0.1.16-beta.2 and will be included in the upcoming 0.1.16 release.
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 yetOPEN
(see https://github.com/HumeAI/empathic-voice-api-js/blob/v0.1.15/packages/react/src/lib/useVoiceClient.ts#L215-L217).