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

Failed to convert text to speech - error -1 #352

Open
lesliebinbin opened this issue Dec 7, 2021 · 1 comment
Open

Failed to convert text to speech - error -1 #352

lesliebinbin opened this issue Dec 7, 2021 · 1 comment

Comments

@lesliebinbin
Copy link

Regarding speech-to-text, I am using WIO Terminal, the builtin microphone, things I have done:

  1. comment out two lines:
        // _token_client.setCACert(TOKEN_CERTIFICATE);
        // _speech_client.setCACert(SPEECH_CERTIFICATE);

because setting the CACert I can not even get back the token

  1. the error code return is -1, any idea why? Is it due the the rpcWifi library itself?
@Raunak-Singh-Inventor
Copy link

@lesliebinbin Thanks. Commenting this out fixed the issue.

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

2 participants