Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.94k stars 1.86k forks source link

Java SDK always send SSML even using StartSpeakingText #2471

Closed jackfengji closed 4 months ago

jackfengji commented 4 months ago

To Reproduce Steps to reproduce the behavior:

  1. Integrate java sdk 1.38.0
  2. Use "StartSpeakingTextAsync" to speak the text
  3. From log, it's still using SSML.

Expected behavior

It should send the text only without SSML

Version of the Cognitive Services Speech SDK

com.microsoft.cognitiveservices.speech:client-sdk:1.38.0

Platform, Operating System, and Programming Language

yulin-li commented 4 months ago

Plain text is not supported by the service, so SDK constructs the SSML based on voice name, text etc.