WebSocket Connection Closes Unexpectedly When Using SpeakWithText
with Text Containing Quotation Marks
#355
Labels
help wanted
Extra attention is needed
What is the current behavior?
When calling
speakClient!.SpeakWithText(text);
, the WebSocket connection closes unexpectedly if the text contains quotation marks, such asDid you mean "Male"?
.Reproducible with any special symbols as well such as new line (\n) etc.
Code base to use C# tab of
Deepgram code
Steps to reproduce
speakClient
.speakClient!.SpeakWithText(text);
with a string containing quotation marks, e.g.,Did you mean "Male"?
.Expected behavior
The WebSocket connection should remain open, and the text containing quotation marks should be processed without issues.
Please tell us about your environment
Deepgram
v4.4.0)Other information
PolicyViolation
DATA-0000
The text was updated successfully, but these errors were encountered: