I had already created a custom domain, my issue was a mis-configured speech config
Unable to connect to speech services private endpoint from vm
STT: SDK.SpeechConfig.fromEndpoint(new URL('https://xxxxxx.privatelink.cognitiveservices.azure.com/stt/speech/recognition/conversation/cognitiveservices/v1?language=en-GB'), 'MS_SUBSCRIPTION_KEY') TTS: SDK.SpeechConfig.fromEndpoint(new URL('https://xxxxxx.privatelink.cognitiveservices.azure.com/tts/cognitiveservices/websocket/v1'), 'MS_SUBSCRIPTION_KEY')
Am I using the correct URLs?
When I use SDK.SpeechConfig.fromSubsciption outside the vnet the TTS and STT work ok so I know the speech services are working.
Thanks in advance
@Nick Taylor Did you follow the steps mentioned in this document to create a custom domain name for your speech resource and then enabling the private endpoint?
I see you are using the speech URL for the SDK setup with
wss, Please see this section on usage of private endpoint with custom domain name with the SDK. I think the following should work for endpoints:
@Nick Taylor Did you get a chance to review the below suggestion to create a custom domain name?
Sign in to comment
Sort by: Most helpful