Skip to content

Commit 22dfeda

Browse files
authored
Merge pull request #200630 from BrianMouncer/BrianMouncer-pr/1.22.0_updates
Brian mouncer pr/1.22.0 updates
2 parents a476bc7 + 0567166 commit 22dfeda

File tree

6 files changed

+34
-15
lines changed

6 files changed

+34
-15
lines changed

articles/cognitive-services/Speech-Service/includes/get-speech-sdk-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To consume the package from your Android Studio project, make the following chan
2727
2828
1. In the module-level *build.gradle* file, add the following to the `dependencies` section:
2929
```gradle
30-
implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.21.0'
30+
implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.22.0'
3131
```
3232
3333
#### Additional resources

articles/cognitive-services/Speech-Service/includes/get-speech-sdk-linux.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: eur
88

99
:::row:::
1010
:::column span="3":::
11-
The Speech SDK only supports **Ubuntu 18.04/20.04**, **Debian 9/10**, **Red Hat Enterprise Linux (RHEL) 7/8**, and **CentOS 7/8** on the following target architectures when used with Linux:
11+
The Speech SDK only supports **Ubuntu 18.04/20.04/22.04**, **Debian 9/10/11**, **Red Hat Enterprise Linux (RHEL) 7/8**, and **CentOS 7/8** on the following target architectures when used with Linux:
1212
:::column-end:::
1313
:::column:::
1414
<br>
@@ -18,32 +18,41 @@ ms.author: eur
1818
:::column-end:::
1919
:::row-end:::
2020

21-
- x86 (Debian/Ubuntu), x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for C++ development
22-
- x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for Java
23-
- x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for .NET Core
24-
- x64 for Python
25-
26-
> [!IMPORTANT]
27-
> For C# on Linux ARM64, the .NET Core 3.x (dotnet-sdk-3.x package) is required.
21+
- x86 (Debian/Ubuntu), x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for **C++** development
22+
- x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for **Java**
23+
- x64, ARM32 (Debian/Ubuntu), and ARM64 (Debian/Ubuntu) for **.NET Core**
24+
- x64 (not RHEL/CentOS 7) for **Python**
2825

2926
To use the Speech SDK in Alpine Linux, create a Debian chroot environment as documented in the Alpine Linux Wiki on [running glibc programs](https://wiki.alpinelinux.org/wiki/Running_glibc_programs). Then follow the Debian instructions here.
3027

3128
### System requirements
3229

30+
> [!IMPORTANT]
31+
> Use the latest point release of the Linux distribution. For example, CentOS 7.9.2009 (or newer if available) for CentOS 7; Ubuntu 18.04.6 (or newer if available) for Ubuntu 18.04 LTS.
32+
3333
For a native application, the Speech SDK relies on `libMicrosoft.CognitiveServices.Speech.core.so`. Make sure the target architecture (x86, x64) matches the application. Depending on the Linux version, more dependencies might be required:
3434

3535
- The shared libraries of the GNU C library, including the POSIX Threads Programming library, `libpthreads`
36-
- The OpenSSL library (`libssl`)
36+
- The OpenSSL library (`libssl`) version 1.x
3737
- The shared library for ALSA applications (`libasound`)
3838

39-
# [Ubuntu 18.04/20.04](#tab/ubuntu)
39+
# [Ubuntu 18.04/20.04/22.04](#tab/ubuntu)
4040

4141
```Bash
4242
sudo apt-get update
4343
sudo apt-get install build-essential libssl-dev libasound2 wget
4444
```
4545

46-
# [Debian 9/10](#tab/debian)
46+
> [!IMPORTANT]
47+
> On Ubuntu 22.04, install `libssl1.1` either as a binary package from http://security.ubuntu.com/ubuntu/pool/main/o/openssl/ (e.g. `libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb` or newer for x64) or by compiling it from sources. The Speech SDK does not support OpenSSL 3.0 (the default in Ubuntu 22.04) at the moment.
48+
49+
Example of installing `libssl1.1` on Ubuntu 22.04:
50+
```Bash
51+
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb
52+
sudo dpkg -i libssl1.1_1.1.1l-1ubuntu1.3_amd64.deb
53+
```
54+
55+
# [Debian 9/10/11](#tab/debian)
4756

4857
```Bash
4958
sudo apt-get update

articles/cognitive-services/Speech-Service/includes/get-speech-sdk-macos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ platform :osx, 10.14
3636
use_frameworks!
3737
3838
target 'MyApp' do
39-
pod 'MicrosoftCognitiveServicesSpeech', '~> 1.21.0'
39+
pod 'MicrosoftCognitiveServicesSpeech', '~> 1.22.0'
4040
end
4141
```
4242

articles/cognitive-services/Speech-Service/includes/quickstarts/captioning/java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Before you can do anything, you need to install the Speech SDK. The sample in th
5353
<dependency>
5454
<groupId>com.microsoft.cognitiveservices.speech</groupId>
5555
<artifactId>client-sdk</artifactId>
56-
<version>1.21.0</version>
56+
<version>1.22.0</version>
5757
</dependency>
5858
</dependencies>
5959
</project>

articles/cognitive-services/Speech-Service/includes/quickstarts/platform/java-jre.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ repositories {
4949
}
5050
5151
dependencies {
52-
implementation group: 'com.microsoft.cognitiveservices.speech', name: 'client-sdk', version: "1.21.0", ext: "jar"
52+
implementation group: 'com.microsoft.cognitiveservices.speech', name: 'client-sdk', version: "1.22.0", ext: "jar"
5353
}
5454
```
5555

articles/cognitive-services/Speech-Service/includes/spx-setup.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Follow these steps to install the Speech CLI in a Docker container:
7575
```console
7676
docker pull msftspeech/spx
7777
```
78+
7879
Enter this command to display help information for the Speech CLI:
7980

8081
```console
@@ -132,6 +133,15 @@ For more extended interaction with the command-line tool, you can start a contai
132133
docker run -it --entrypoint=/bin/bash -v c:\spx-data:/data --rm msftspeech/spx
133134
```
134135

136+
You can combine that with AZ Login and have SPX Init guide you through creating the speech keys and selecting a matching data region without having to use the Azure web portal. The keys will automatically be stored for later use.
137+
138+
```
139+
docker run -it --rm --entrypoint /bin/bash -v c:\spx-data:/data msftspeech/spx
140+
141+
az login
142+
spx init
143+
```
144+
135145
<!-- Need to troubleshoot issues with docker pull image
136146
137147
### Optional: Create a command-line shortcut

0 commit comments

Comments
 (0)