From fd9d064bd7682a9ffff6952df45d87e33802f04f Mon Sep 17 00:00:00 2001 From: avoliva Date: Thu, 3 Mar 2022 12:06:55 -0800 Subject: [PATCH] Revert "DC-321 (#395)" This reverts commit ca217bca9d65a242c62430c213dcd3689f6d7d8e. --- docs/streamingapi/reference/reference.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/streamingapi/reference/reference.md b/docs/streamingapi/reference/reference.md index 861a5355..dcceba16 100644 --- a/docs/streamingapi/reference/reference.md +++ b/docs/streamingapi/reference/reference.md @@ -16,6 +16,10 @@ Symbl's Streaming API is based on the WebSocket protocol and can be used for rea Currently, Streaming API is supported in English only. However, the support for Spanish is available as a part of Symbl Labs. ::: +:::note Opus codec +Streaming API supports Opus with 48000 Hz sample rate. +::: + ## Request Parameters #### Endpoint @@ -77,9 +81,9 @@ Field | Required | Supported value | Default Value | Description Field | Required | Supported value | Default Value | Description ---------- | ------- | ------- | ------- | ------- -```encoding``` | false | `LINEAR16`, `FLAC`, `MULAW`, `Opus` | `LINEAR16` | Audio Encoding in which the audio will be sent over the WebSocket. -```sampleRateHertz ``` | false | | `16000` | The rate of the incoming audio stream. The following are supported with the sample rates:
encoding `LINEAR16` for sample rates `8000` to `48000`,
encoding `FLAC` for sample rates `16000 ` and above,
encoding `MULAW` for sample rates `8000`,
encoding `Opus` for sample rates `16000` to `48000`. - +```encoding``` | false | LINEAR16, FLAC, MULAW | LINEAR16 | Audio Encoding in which the audio will be sent over the WebSocket. +```sampleRateHertz ``` | false | | 16000 | The rate of the incoming audio stream. + ##### Code Example @@ -87,7 +91,7 @@ Field | Required | Supported value | Default Value | Description { "speechRecognition": { "encoding": "LINEAR16", - "sampleRateHertz": 16000 // Make sure the correct sample rate is provided for best results + "sampleRateHertz": 44100 // Make sure the correct sample rate is provided for best results } } ```