You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the new method ttsClient.streamingSynthesize but unsuccessfully. The error I'm getting is:
"Malordered Data Received. Expected streaming_config but received input. Send exactly one config, followed by text input"
After checking the documentation, the PR and the unit test of the version "@google-cloud/text-to-speech": "5.4.0" I couldn't find any example of the StreamingSynthesizeRequest populated. Also could not find any tts stream sample here.
Thanks for your question. Since these libraries are mostly autogenerated, this documentation request is not something we can fulfill (it needs to be done either by the API, or it needs a handwritten sample).
If this is a question, please submit your question to text-to-speech here). You can also submit it as a question to our Discussions tab to engage our community.
If this is a request for handwritten documentation, please submit it to googleapis/nodejs-docs-samples.
Although this isn't quite the same, there is an example for streaming with text-to-speech that seems fairly similar
Please make sure you have searched for information in the following guides.
Documentation Request
Hello,
I'm trying to use the new method
ttsClient.streamingSynthesize
but unsuccessfully. The error I'm getting is:"Malordered Data Received. Expected streaming_config but received input. Send exactly one config, followed by text input"
After checking the documentation, the PR and the unit test of the version
"@google-cloud/text-to-speech": "5.4.0"
I couldn't find any example of theStreamingSynthesizeRequest
populated. Also could not find any tts stream sample here.Here is part of my code:
The text was updated successfully, but these errors were encountered: