microsoft/IoT-For-Beginners

Failed to convert text to speech - error -1

lesliebinbin opened this issue · 1 comments

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?

@lesliebinbin Thanks. Commenting this out fixed the issue.