Skip to content

Commit 51ec5c2

Browse files
Merge pull request #105662 from BrianMouncer/BrianMouncer-pr/1.10.0_updates
[Cog Svcs] Brian mouncer pr/1.10.0 updates
2 parents 6939294 + 8108b93 commit 51ec5c2

23 files changed

+157
-40
lines changed

articles/cognitive-services/Speech-Service/how-to-configure-openssl-linux.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ Check whether there is `certs` subdirectory under OPENSSLDIR. In the example abo
3737
- OPENSSLDIR is `/opt/ssl`. There is `certs` subdirectory with many `.crt` or `.pem` files.
3838
Set environment variable `SSL_CERT_DIR` to point at `/opt/ssl/certs` before running a program that uses the Speech SDK. For example:
3939
```bash
40-
SSL_CERT_DIR=/opt/ssl/certs ./helloworld
40+
export SSL_CERT_DIR=/opt/ssl/certs
4141
```
4242

43-
- OPENSSLDIR is `/etc/pki/tls`. There is a certificate bundle file, for example `ca-bundle.pem` or `ca-bundle.crt`.
44-
Set environment variable `SSL_CERT_FILE` to point at `/etc/pki/tls/ca-bundle.pem` before running a program that uses the Speech SDK. For example:
43+
- OPENSSLDIR is `/etc/pki/tls` (like on RHEL/CentOS based systems). There is `certs` subdirectory with a certificate bundle file, for example `ca-bundle.crt`.
44+
Set environment variable `SSL_CERT_FILE` to point at that file before running a program that uses the Speech SDK. For example:
4545
```bash
46-
SSL_CERT_FILE=/etc/pki/tls/ca-bundle.pem ./helloworld
46+
export SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt
4747
```
4848

4949
## Next steps

articles/cognitive-services/Speech-Service/how-to-use-codec-compressed-audio-input-streams-android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.author: amishu
1818
The Speech SDK's **Compressed Audio Input Stream** API provides a way to stream compressed audio to the Speech service using PullStream or PushStream.
1919

2020
> [!IMPORTANT]
21-
> Streaming compressed input audio is currently supported for [C++, C#, and Java on Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9)](how-to-use-codec-compressed-audio-input-streams.md). It is also supported for Java in Android and [Objective-C in iOS](how-to-use-codec-compressed-audio-input-streams-ios.md) platform.
21+
> Streaming compressed input audio is currently supported for [C++, C#, and Java on Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8)](how-to-use-codec-compressed-audio-input-streams.md). It is also supported for Java in Android and [Objective-C in iOS](how-to-use-codec-compressed-audio-input-streams-ios.md) platform.
2222
> Speech SDK version 1.7.0 or higher is required.
2323
2424
For wav/PCM see the mainline speech documentation. Outside of wav/PCM, the following codec compressed input formats are supported:

articles/cognitive-services/Speech-Service/how-to-use-codec-compressed-audio-input-streams-ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.author: chlandsi
1818
The Speech SDK's **Compressed Audio Input Stream** API provides a way to stream compressed audio to the Speech service using a pull or push stream.
1919

2020
> [!IMPORTANT]
21-
> Speech SDK version 1.7.0 or higher is required for streaming compressed audio on iOS. It is also supported for [C++, C#, and Java on Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9)](how-to-use-codec-compressed-audio-input-streams.md) and [Java in Android.](how-to-use-codec-compressed-audio-input-streams-android.md)
21+
> Speech SDK version 1.7.0 or higher is required for streaming compressed audio on iOS. It is also supported for [C++, C#, and Java on Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8)](how-to-use-codec-compressed-audio-input-streams.md) and [Java in Android.](how-to-use-codec-compressed-audio-input-streams-android.md)
2222
2323
For wav/PCM see the mainline speech documentation. Outside of wav/PCM, the following codec compressed input formats are supported:
2424

articles/cognitive-services/Speech-Service/how-to-use-codec-compressed-audio-input-streams.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ ms.author: amishu
1717
The Speech SDK's **Compressed Audio Input Stream** API provides a way to stream compressed audio to the Speech service using PullStream or PushStream.
1818

1919
> [!IMPORTANT]
20-
> Streaming compressed input audio is currently supported for C++, C#, and Java on Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9). It is also supported for [Java in Android](how-to-use-codec-compressed-audio-input-streams-android.md) and [Objective-C in iOS](how-to-use-codec-compressed-audio-input-streams-ios.md) platform.
21-
> Speech SDK version 1.7.0 or higher is required.
20+
> Streaming compressed input audio is currently supported for C++, C#, and Java on Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8). It is also supported for [Java in Android](how-to-use-codec-compressed-audio-input-streams-android.md) and [Objective-C in iOS](how-to-use-codec-compressed-audio-input-streams-ios.md) platform.
21+
> Speech SDK version 1.7.0 or higher is required (version 1.10.0 or higher for RHEL 8, CentOS 8).
2222
2323
For wav/PCM see the mainline speech documentation. Outside of wav/PCM, the following codec compressed input formats are supported:
2424

@@ -36,6 +36,15 @@ Handling compressed audio is implemented using [GStreamer](https://gstreamer.fre
3636
sudo apt install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
3737
```
3838

39+
On RHEL/CentOS 8:
40+
41+
```sh
42+
sudo yum install gstreamer1 gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-bad-free gstreamer1-plugins-ugly-free
43+
```
44+
45+
> [!NOTE]
46+
> On RHEL/CentOS 8, follow the instructions on [how to configure OpenSSL for Linux](~/articles/cognitive-services/speech-service/how-to-configure-openssl-linux.md).
47+
3948
## Example code using codec compressed audio input
4049

4150
To stream in a compressed audio format to the Speech service, create `PullAudioInputStream` or `PushAudioInputStream`. Then, create an `AudioConfig` from an instance of your stream class, specifying the compression format of the stream.

articles/cognitive-services/Speech-Service/includes/quickstarts/from-file/python/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ elif result.reason == speechsdk.ResultReason.Canceled:
8888

8989
### Install and use the Speech SDK with Visual Studio Code
9090

91-
1. Download and install a 64-bit version of [Python](https://www.python.org/downloads/), 3.5 or later, on your computer.
91+
1. Download and install a 64-bit version of [Python](https://www.python.org/downloads/), 3.5 to 3.8, on your computer.
9292
1. Download and install [Visual Studio Code](https://code.visualstudio.com/Download).
9393
1. Open Visual Studio Code and install the Python extension. Select **File** > **Preferences** > **Extensions** from the menu. Search for **Python**.
9494

articles/cognitive-services/Speech-Service/includes/quickstarts/from-microphone/python/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Or you can download this quickstart tutorial as a [Jupyter](https://jupyter.org)
5151

5252
### Install and use the Speech SDK with Visual Studio Code
5353

54-
1. Download and install a 64-bit version of [Python](https://www.python.org/downloads/), 3.5 or later, on your computer.
54+
1. Download and install a 64-bit version of [Python](https://www.python.org/downloads/), 3.5 to 3.8, on your computer.
5555
1. Download and install [Visual Studio Code](https://code.visualstudio.com/Download).
5656
1. Open Visual Studio Code and install the Python extension. Select **File** > **Preferences** > **Extensions** from the menu. Search for **Python**.
5757

articles/cognitive-services/Speech-Service/includes/quickstarts/platform/cpp-linux.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This guide shows how to install the [Speech SDK](~/articles/cognitive-services/s
1818

1919
## System requirements
2020

21-
Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9)
21+
Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8)
2222

2323
## Prerequisites
2424

@@ -42,6 +42,17 @@ To complete this quickstart, you'll need:
4242
sudo apt-get install build-essential libssl1.0.2 libasound2 wget
4343
```
4444

45+
* On RHEL/CentOS 8:
46+
47+
```sh
48+
sudo yum update
49+
sudo yum groupinstall "Development tools"
50+
sudo yum install alsa-lib openssl wget
51+
```
52+
53+
> [!NOTE]
54+
> On RHEL/CentOS 8, follow the instructions on [how to configure OpenSSL for Linux](~/articles/cognitive-services/speech-service/how-to-configure-openssl-linux.md).
55+
4556
## Install Speech SDK
4657

4758
The Speech SDK for Linux can be used to build both 64-bit and 32-bit applications. The required libraries and header files can be downloaded as a tar file from https://aka.ms/csspeech/linuxbinary.

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This guide shows how to install the [Speech SDK](~/articles/cognitive-services/s
2424
- The Java Speech SDK package is available for these operating systems:
2525
- Windows: 64-bit only
2626
- Mac: macOS X version 10.13 or later
27-
- Linux: 64-bit only on Ubuntu 16.04, Ubuntu 18.04, or Debian 9
27+
- Linux: 64-bit only on Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8
2828

2929
## Prerequisites
3030

@@ -47,6 +47,16 @@ This guide shows how to install the [Speech SDK](~/articles/cognitive-services/s
4747
sudo apt-get install build-essential libssl1.0.2 libasound2
4848
```
4949

50+
- On RHEL/CentOS 8, run the following commands to install the required packages:
51+
52+
```sh
53+
sudo yum update
54+
sudo yum install alsa-lib java-1.8.0-openjdk-devel openssl
55+
```
56+
57+
> [!NOTE]
58+
> On RHEL/CentOS 8, follow the instructions on [how to configure OpenSSL for Linux](~/articles/cognitive-services/speech-service/how-to-configure-openssl-linux.md).
59+
5060
- On Windows, you need the [Microsoft Visual C++ Redistributable for Visual Studio 2019](https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads) for your platform. Note that installing this for the first time may require you to restart Windows before continuing with this guide.
5161

5262
## Create an Eclipse project and install the Speech SDK

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This guide shows how to install the [Speech SDK](~/articles/cognitive-services/s
2121
- The Python Speech SDK package is available for these operating systems:
2222
- Windows: x64 and x86
2323
- Mac: macOS X version 10.12 or later
24-
- Linux: Ubuntu 16.04, Ubuntu 18.04, Debian 9 on x64
24+
- Linux: Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8 on x64
2525

2626
## Prerequisites
2727

@@ -41,12 +41,22 @@ This guide shows how to install the [Speech SDK](~/articles/cognitive-services/s
4141
sudo apt-get install build-essential libssl1.0.2 libasound2
4242
```
4343

44+
- On RHEL/CentOS 8, run the following commands to install the required packages:
45+
46+
```sh
47+
sudo yum update
48+
sudo yum install alsa-lib openssl python3
49+
```
50+
51+
> [!NOTE]
52+
> On RHEL/CentOS 8, follow the instructions on [how to configure OpenSSL for Linux](~/articles/cognitive-services/speech-service/how-to-configure-openssl-linux.md).
53+
4454
- On Windows, you need the [Microsoft Visual C++ Redistributable for Visual Studio 2019](https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads) for your platform. Note that installing this for the first time may require you to restart Windows before continuing with this guide.
45-
- And finally, you'll need [Python 3.5, 3.6 or 3.7](https://www.python.org/downloads/). To check your installation, open a command prompt and type the command `python --version` and check the result. If it's installed properly, you'll get a response "Python 3.5.1" or similar.
55+
- And finally, you'll need [Python 3.5 to 3.8](https://www.python.org/downloads/). To check your installation, open a command prompt and type the command `python --version` and check the result. If it's installed properly, you'll get a response "Python 3.5.1" or similar.
4656

4757
## Install the Speech SDK using Visual Studio Code
4858

49-
1. Download and install the latest supported version of [Python](https://www.python.org/downloads/) for your platform, 3.5 or later.
59+
1. Download and install the latest supported version of [Python](https://www.python.org/downloads/) for your platform, 3.5 to 3.8.
5060
- Windows users make sure to select "Add Python to your PATH" during the installation process.
5161
1. Download and install [Visual Studio Code](https://code.visualstudio.com/Download).
5262
1. Open Visual Studio Code and install the Python extension. Select **File** > **Preferences** > **Extensions** from the menu. Search for **Python** and click **Install**.

articles/cognitive-services/Speech-Service/includes/quickstarts/tts-audio-file/python/python.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ ms.author: chlandsi
1515
## Prerequisites
1616

1717
* An Azure subscription key for the Speech service. [Get one for free](~/articles/cognitive-services/Speech-Service/get-started.md).
18-
* [Python 3.5 or later](https://www.python.org/downloads/).
18+
* [Python 3.5 to 3.8](https://www.python.org/downloads/).
1919
* The Python Speech SDK package is available for these operating systems:
2020
* Windows: x64 and x86.
2121
* Mac: macOS X version 10.12 or later.
22-
* Linux: Ubuntu 16.04, Ubuntu 18.04, Debian 9 on x64.
22+
* Linux: Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8 on x64.
2323
* On Linux, run these commands to install the required packages:
2424

2525
* On Ubuntu:
@@ -36,6 +36,16 @@ ms.author: chlandsi
3636
sudo apt-get install build-essential libssl1.0.2 libasound2
3737
```
3838

39+
* On RHEL/CentOS 8:
40+
41+
```sh
42+
sudo yum update
43+
sudo yum install alsa-lib openssl python3
44+
```
45+
46+
> [!NOTE]
47+
> On RHEL/CentOS 8, follow the instructions on [how to configure OpenSSL for Linux](~/articles/cognitive-services/speech-service/how-to-configure-openssl-linux.md).
48+
3949
* On Windows, you need the [Microsoft Visual C++ Redistributable for Visual Studio 2019](https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads) for your platform.
4050

4151
## Install the Speech SDK
@@ -105,7 +115,7 @@ elif result.reason == speechsdk.ResultReason.Canceled:
105115
106116
### Install and use the Speech SDK with Visual Studio Code
107117
108-
1. Download and install a 64-bit version of [Python](https://www.python.org/downloads/), 3.5 or later, on your computer.
118+
1. Download and install a 64-bit version of [Python](https://www.python.org/downloads/), 3.5 to 3.8, on your computer.
109119
1. Download and install [Visual Studio Code](https://code.visualstudio.com/Download).
110120
1. Open Visual Studio Code and install the Python extension. Select **File** > **Preferences** > **Extensions** from the menu. Search for **Python**.
111121

0 commit comments

Comments
 (0)