We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcba803 commit 9b40465Copy full SHA for 9b40465
articles/cognitive-services/Speech-Service/includes/how-to/translate-speech/csharp.md
@@ -327,7 +327,7 @@ public static async Task MultiLingualTranslation()
327
var endpointString = $"wss://{region}.stt.speech.microsoft.com/speech/universal/v2";
328
var endpointUrl = new Uri(endpointString);
329
330
- var config = SpeechConfig.FromEndpoint(endpointUrl, "<paste-your-subscription-key>");
+ var config = SpeechTranslationConfig.FromEndpoint(endpointUrl, "<paste-your-subscription-key>");
331
332
// Source language is required, but is currently NoOp
333
string fromLanguage = "en-US";
0 commit comments