How to set a sessionId in Azure speech SDK Synthesizer

Ananth Hegde (anahegde) 20 Reputation points
2025-01-19T17:24:19.63+00:00

Hi Team,

We are currently utilizing the Azure Speech SDK for Text-to-Speech (TTS) in our Java application. However, unlike Speech-to-Text (STT), we haven't identified a way to access the session ID generated by the SDK. Is there a method available for retrieving the session ID for a TTS request? Alternatively, can we set a custom session ID when making a TTS request through the Java SDK?

Regards,

Ananth

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,881 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.