You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide will help you better understand the different ways you can use Azure Communication Services offering of real-time transcription through Call Automation SDKs.
19
+
This guide helps you better understand the different ways you can use Azure Communication Services offering of real-time transcription through Call Automation SDKs.
20
20
21
21
### Prerequisites
22
22
- Azure account with an active subscription, for details see [Create an account for free.](https://azure.microsoft.com/free/)
23
-
- Azure Communication Services resource, see [Create an Azure Communication Services resource](https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp)
24
-
- Create and connect [Azure AI services to your Azure Communication Services resource](https://learn.microsoft.com/azure/communication-services/concepts/call-automation/azure-communication-services-azure-cognitive-services-integration).
25
-
- Create a [custom subdomain](https://learn.microsoft.com/azure/ai-services/cognitive-services-custom-subdomains) for your Azure AI services resource.
26
-
- Create a new web service application using the [Call Automation SDK](https://learn.microsoft.com/azure/communication-services/quickstarts/call-automation/quickstart-make-an-outbound-call?tabs=visual-studio-code&pivots=programming-language-csharp).
23
+
- Azure Communication Services resource, see [Create an Azure Communication Services resource](../../quickstarts/create-communication-resource.md?tabs=windows&pivots=platform-azp)
24
+
- Create and connect [Azure AI services to your Azure Communication Services resource](../../concepts/call-automation/azure-communication-services-azure-cognitive-services-integration.md).
25
+
- Create a [custom subdomain](../../../ai-services/cognitive-services-custom-subdomains.md) for your Azure AI services resource.
26
+
- Create a new web service application using the [Call Automation SDK](../../quickstarts/call-automation/quickstart-make-an-outbound-call.md).
27
27
28
28
## Setup a WebSocket Server
29
-
Azure Communication Services requires your server application to set up a WebSocket server to stream transcription in real-time. WebSocket is a standardized protocol that provides a full-duplex communication channel over a single TCP connection. You can optionally use Azure services Azure WebApps that allows you to create an application to receive transcripts over a websocket connection. Follow this [quickstart](https://azure.microsoft.com/en-us/blog/introduction-to-websockets-on-windows-azure-web-sites/).
29
+
Azure Communication Services requires your server application to setup a WebSocket server to stream transcription in real-time. WebSocket is a standardized protocol that provides a full-duplex communication channel over a single TCP connection. You can optionally use Azure services Azure WebApps that allows you to create an application to receive transcripts over a websocket connection. Follow this [quickstart](https://azure.microsoft.com/blog/introduction-to-websockets-on-windows-azure-web-sites/).
30
30
31
31
## Establish a call
32
-
In this quickstart we assume that you're already familiar with starting calls. If you need to learn more about starting and establishing calls, you can follow our [quickstart](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/call-automation/quickstart-make-an-outbound-call?tabs=visual-studio-code&pivots=programming-language-csharp). For the purposes of this quickstart, we'll be going through the process of starting transcription for both incoming calls and outbound calls.
32
+
In this quickstart, we assume that you're already familiar with starting calls. If you need to learn more about starting and establishing calls, you can follow our [quickstart](../../quickstarts/call-automation/quickstart-make-an-outbound-call.md). For the purposes of this quickstart, we are going through the process of starting transcription for both incoming calls and outbound calls.
33
33
34
34
When working with real-time transcription, you have a couple of options on when and how to start transcription:
35
35
36
36
**Option 1 -** Starting at time of answering or creating a call
37
37
38
38
**Option 2 -** Starting transcription during an ongoing call
39
39
40
-
In this tutorial we will be demonstrating option 2, starting transcription during an ongoing call. By default the 'startTranscription' is set to false at time of answering or creating a call.
40
+
In this tutorial we are demonstrating option 2, starting transcription during an ongoing call. By default the 'startTranscription' is set to false at time of answering or creating a call.
41
41
42
42
::: zone pivot="programming-language-csharp"
43
43
[!INCLUDE [Real-time transcription with .NET](./includes/real-time-transcription-csharp.md)]
@@ -48,7 +48,7 @@ In this tutorial we will be demonstrating option 2, starting transcription durin
48
48
::: zone-end
49
49
50
50
::: zone pivot="programming-language-javascript"
51
-
[!INCLUDE [Real-time transcription with Javascript](./includes/real-time-transcription-js.md)]
51
+
[!INCLUDE [Real-time transcription with javaScript](./includes/real-time-transcription-js.md)]
52
52
::: zone-end
53
53
54
54
::: zone pivot="programming-language-python"
@@ -63,18 +63,18 @@ In this tutorial we will be demonstrating option 2, starting transcription durin
| TranscriptionFailed | 401 | 8565 | Action failed due to a Cognitive Services authentication error. Please check your authorization input and ensure it is correct. |
71
-
| TranscriptionFailed | 403 | 8565 | Action failed due to a forbidden request to Cognitive Services. Please check your subscription status and ensure it is active. |
72
-
| TrasncriptionFailed | 400 | 8565 | Action failed due to a bad request to Cognitive Services. Please check your input parameters. |
70
+
| TranscriptionFailed | 401 | 8565 | Action failed due to a Cognitive Services authentication error. Check your authorization input and ensure it's correct. |
71
+
| TranscriptionFailed | 403 | 8565 | Action failed due to a forbidden request to Cognitive Services. Check your subscription status and ensure it's active. |
72
+
| TrasncriptionFailed | 400 | 8565 | Action failed due to a bad request to Cognitive Services. Check your input parameters. |
73
73
| TranscriptionFailed | 429 | 8565 | Action failed, requests exceeded the number of allowed concurrent requests for the cognitive services subscription. |
74
-
| TranscriptionFailed | 400 | 8565 | Action failed due to a request to Cognitive Services timing out. Please try again later or check for any issues with the service. |
74
+
| TranscriptionFailed | 400 | 8565 | Action failed due to a request to Cognitive Services timing out. Try again later or check for any issues with the service. |
0 commit comments