Azure-Samples / cognitive-services-speech-sdk

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

set text_stream_sample.py timeout but it did not work. #2488

Open 11642509 opened 3 months ago

11642509 commented 3 months ago
  1. Due to a delay in text input, voice generation was cancelled. A timeout parameter was set according to the example, but it did not take effect properties["SpeechSynthesis_FrameTimeoutInterval"] properties["SpeechSynthesis_RtfTimeoutThreshold"]
  2. The output error is timeout exceeding 3000ms, cancel voice generation. So I want to know how to make the speech generation exceed 3 seconds, or how to modify the timeout parameter
jychoudh commented 3 months ago

Hi, where are you setting these properties?

11642509 commented 3 months ago

这是来自QQ邮箱的自动回复邮件。   您好,感谢您的来信,邮件已经收到,我将尽快给您回复。

11642509 commented 3 months ago

Hi, where are you setting these properties?

Hi, where are you setting these properties?

properties = dict() properties["SpeechSynthesis_FrameTimeoutInterval"]="3" properties["SpeechSynthesis_RtfTimeoutThreshold"]="1" speech_config.set_properties_by_name(properties). but doesn't work

github-actions[bot] commented 3 months ago

This item has been open without activity for 19 days. Provide a comment on status and remove "update needed" label.

11642509 commented 3 months ago

这是来自QQ邮箱的自动回复邮件。   您好,感谢您的来信,邮件已经收到,我将尽快给您回复。

github-actions[bot] commented 2 months ago

This item has been open without activity for 19 days. Provide a comment on status and remove "update needed" label.

11642509 commented 2 months ago

这是来自QQ邮箱的自动回复邮件。   您好,感谢您的来信,邮件已经收到,我将尽快给您回复。