Responses to Ending TTS
Function
After processing the synthesis request, the synthesis engine sends a synthesis end response. Upon receiving this response, the client closes the current WebSocket connection.
Response Parameters
Parameter |
Type |
Description |
---|---|---|
resp_type |
String |
Response type. The value is END, indicating the end of voice synthesis. |
trace_id |
String |
Internal token of the service, which can be used to trace a specific process in logs. |
reason |
String |
End cause. |
Parameter |
Description |
---|---|
NORMAL |
The response ends properly. |
ERROR |
An error occurred during synthesis. |
Example
{ "resp_type": "END", "trace_id": "567e8537-a89c-13c3-a882-826321939651", "reason": "NORMAL" }
Status Codes
See Status Codes.
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot