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
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/includes/call-recording-samples/call-recording-csharp.md
+40-25Lines changed: 40 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
---
2
2
author: dbasantes
3
3
ms.service: azure-communication-services
4
-
ms.date: 10/14/2022
4
+
ms.date: 06/11/2023
5
5
ms.topic: include
6
6
ms.custom: public_preview
7
7
---
8
8
## Sample Code
9
9
10
-
You can download the sample app from [GitHub](https://github.com/Azure-Samples/communication-services-dotnet-quickstarts/tree/main/ServerRecording)
10
+
You can download the sample app from [GitHub](https://github.com/Azure-Samples/communication-services-dotnet-quickstarts/tree/main/CallRecording)
11
11
12
12
## Prerequisites
13
13
14
14
- You need an Azure account with an active subscription.
15
15
- Deploy a Communication Service resource. Record your resource **connection string**.
16
16
- Subscribe to events via [Azure Event Grid](../../../../../event-grid/event-schema-communication-services.md).
17
-
- Download the [.NET SDK](https://www.nuget.org/packages/Azure.Communication.CallAutomation/1.0.0-beta.1)
17
+
- Download the [.NET SDK](https://dotnet.microsoft.com/en-us/download/dotnet)
18
18
19
19
## Before you start
20
20
@@ -44,7 +44,7 @@ To create a call automation client, you'll use your Communication Services conne
The `downloadLocation` for the recording can be fetched from the `contentLocation` attribute of the `recordingChunk`. `DownloadStreamingAsync` method returns response of type `Response<Stream>`, which contains the downloaded content.
165
+
The `downloadLocation` for the recording can be fetched from the `contentLocation` attribute of the `recordingChunk`. `DownloadToAsync` method download the content into provided filename.
151
166
152
-
## 7. Delete recording content using 'DeleteRecordingAsync' API
167
+
## 7. Delete recording content using 'DeleteAsync' API
153
168
154
-
Use `DeleteRecordingAsync` API for deleting the recording content (for example, recorded media, metadata)
169
+
Use `DeleteAsync` API for deleting the recording content (for example, recorded media, metadata)
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/includes/call-recording-samples/call-recording-java.md
+36-19Lines changed: 36 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
2
author: dbasantes
3
3
ms.service: azure-communication-services
4
-
ms.date: 10/14/2022
4
+
ms.date: 06/11/2023
5
5
ms.topic: include
6
6
ms.custom: public_preview
7
7
---
8
8
9
9
## Sample Code
10
10
11
-
You can download the sample app from [GitHub](https://github.com/Azure-Samples/communication-services-java-quickstarts/tree/main/ServerRecording)
11
+
You can download the sample app from [GitHub](https://github.com/Azure-Samples/communication-services-java-quickstarts/tree/main/CallRecording)
12
12
13
13
## Prerequisites
14
14
@@ -47,7 +47,7 @@ CallAutomationClient callAutomationClient = new CallAutomationClientBuilder()
47
47
.buildClient();
48
48
```
49
49
50
-
## 2. Start recording session with StartRecordingOptions using 'startRecordingWithResponse' API
50
+
## 2. Start recording session with StartRecordingOptions using 'startWithResponse' API
51
51
52
52
Use the `serverCallId` received during initiation of the call.
53
53
- RecordingContent is used to pass the recording content type. Use AUDIO
@@ -61,8 +61,8 @@ StartRecordingOptions recordingOptions = new StartRecordingOptions(new ServerCal
The content location and document IDs for the recording files can be fetched from the `contentLocation` and `documentId` fields respectively, for each `recordingChunk`.
168
185
169
-
## 7. Delete recording content using ‘deleteRecordingWithResponse’ API.
186
+
## 7. Delete recording content using ‘deleteWithResponse’ API.
170
187
171
-
Use `deleteRecordingWithResponse` method of `CallRecording` class for deleting the recorded media. Following are the supported parameters for `deleteRecordingWithResponse` method:
188
+
Use `deleteWithResponse` method of `CallRecording` class for deleting the recorded media. Following are the supported parameters for `deleteWithResponse` method:
172
189
-`deleteLocation`: Azure Communication Services URL where the content to delete is located.
173
190
-`context`: A Context representing the request context.
0 commit comments