Skip to content

Commit 442e20f

Browse files
authored
Merge pull request #100811 from jhakulin/jhakulin-pr/update-speech-docs
[Cog svcs] Add new page for OpenSSL configuration and update CTS how to guide
2 parents 5a7c21c + c84178b commit 442e20f

File tree

3 files changed

+35
-4
lines changed

3 files changed

+35
-4
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: How to configure OpenSSL for Linux
3+
titleSuffix: Azure Cognitive Services
4+
description: Learn how to configure OpenSSL for Linux.
5+
services: cognitive-services
6+
author: jhakulin
7+
manager: nitinme
8+
ms.service: cognitive-services
9+
ms.subservice: speech-service
10+
ms.topic: conceptual
11+
ms.date: 01/15/2020
12+
ms.author: jhakulin
13+
---
14+
15+
# Configure OpenSSL for Linux
16+
17+
OpenSSL is dynamically configured to the host-system version when using any Speech SDK release version prior to 1.9.0.
18+
19+
Starting at the Speech SDK version 1.9.0 and onwards, OpenSSL (version 1.1.1b) is statically linked to the Speech SDK core library.
20+
21+
## Troubleshoot connectivity
22+
23+
In case of connection failures with 1.9.0 release, please check that OpenSSL `ssl/certs` directory exists in `/usr/lib` directory under the Linux system. If `ssl/certs` does not exist, please check where OpenSSL is installed in your system (using `which openssl` command), and locate openssl `certs`directory and copy the content of that directory into `/usr/lib/ssl/certs` directory.
24+
25+
## Next steps
26+
27+
> [!div class="nextstepaction"]
28+
> [Check the general overview about the Speech SDK capabilities and supported platforms](speech-sdk.md)

articles/cognitive-services/Speech-Service/how-to-use-conversation-transcription.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Program
6666
// Edit with your desired region for `{region}`
6767
var response = await client.PostAsync($"https://signature.{region}.cts.speech.microsoft.com/api/v1/Signature/GenerateVoiceSignatureFromFormData", form);
6868
// A voice signature contains Version, Tag and Data key values from the Signature json structure from the Response body.
69-
// Voice signature format example: { "Version": <Numeric value>, "Tag": "string", "Data": "string" }
69+
// Voice signature format example: { "Version": <Numeric string or integer value>, "Tag": "string", "Data": "string" }
7070
var jsonData = await response.Content.ReadAsStringAsync();
7171
}
7272

@@ -85,7 +85,7 @@ class Program
8585
// Edit with your desired region for `{region}`
8686
var response = await client.PostAsync($"https://signature.{region}.cts.speech.microsoft.com/api/v1/Signature/GenerateVoiceSignatureFromByteArray", content);
8787
// A voice signature contains Version, Tag and Data key values from the Signature json structure from the Response body.
88-
// Voice signature format example: { "Version": <Numeric value>, "Tag": "string", "Data": "string" }
88+
// Voice signature format example: { "Version": <Numeric string or integer value>, "Tag": "string", "Data": "string" }
8989
var jsonData = await response.Content.ReadAsStringAsync();
9090
}
9191

@@ -108,6 +108,7 @@ Sample code highlights include:
108108
- Registering the events of interest
109109
- Adding or removing participants to the conversation using the Conversation object
110110
- Streaming the audio
111+
- In Speech SDK version 1.9.0 and onwards both `int` and `string` value types are supported in the voice signature version field.
111112

112113
The transcription and speaker identifier come back in the registered events.
113114

@@ -184,7 +185,7 @@ public class MyConversationTranscriber
184185
// Add participants to the conversation.
185186
// Create voice signatures using REST API described in the earlier section in this document.
186187
// Voice signature needs to be in the following format:
187-
// { "Version": <Numeric value>, "Tag": "string", "Data": "string" }
188+
// { "Version": <Numeric string or integer value>, "Tag": "string", "Data": "string" }
188189
189190
var speakerA = Participant.From("Speaker_A", "en-us", signatureA);
190191
var speakerB = Participant.From("Speaker_B", "en-us", signatureB);

articles/cognitive-services/Speech-Service/toc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,9 @@
452452
href: how-to-use-logging.md
453453
- name: How to track memory usage
454454
href: how-to-track-speech-sdk-memory-usage.md
455-
displayName: "memory usage, memory consumption, object logging, object tracking, memory"
455+
- name: How to configure OpenSSL for Linux
456+
href: how-to-configure-openssl-linux.md
457+
displayName: "memory usage, memory consumption, object logging, object tracking, memory, openssl"
456458
- name: Samples
457459
items:
458460
- name: Speech SDK Samples (GitHub)

0 commit comments

Comments
 (0)