Skip to content

Commit a2d93cc

Browse files
author
Sonali Saxena
committed
Adding update for Explicit consent in native
1 parent 09462cd commit a2d93cc

File tree

11 files changed

+121
-8
lines changed

11 files changed

+121
-8
lines changed

articles/communication-services/how-tos/calling-sdk/call-transcription.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ The following table shows the minimum version of SDKs that support individual AP
8080
|------------|-----|--------|-----|--------|---------|------------|---------|
8181
| Get event that transcription has started | 1.0.0, 1.25.3-beta.1 | 1.0.0, 1.0.0-beta.8 | 2.1.0, 2.1.0-beta.1 | 1.0.0, 1.0.0-beta.8 | 1.1.0, 1.2.0-beta.1 | 1.0.0, 1.0.0-beta.8 | 1.0.0, 1.0.0-beta.31 |
8282
| Get transcription state | 1.0.0, 1.25.3-beta.1 | 1.0.0, 1.0.0-beta.8 | 2.1.0, 2.1.0-beta.1 | 1.0.0, 1.0.0-beta.8 | 1.1.0, 1.2.0-beta.1 | 1.0.0, 1.0.0-beta.8 | 1.0.0, 1.0.0-beta.31 |
83-
| Learn whether explicit consent is required | 1.31.2, 1.32.1-beta.1 || || || |
84-
| Give explicit consent for being recorded | 1.31.2, 1.32.1-beta.1 || || || |
83+
| Learn whether explicit consent is required | 1.31.2, 1.32.1-beta.1 || 2.16.0-beta.1 || 2.14.0-beta.1 || 1.12.0-beta.1 |
84+
| Give explicit consent for being recorded | 1.31.2, 1.32.1-beta.1 || 2.16.0-beta.1 || 2.14.0-beta.1 || 1.12.0-beta.1 |
8585

8686
## Next steps
8787
- [Learn how to manage video](./manage-video.md)

articles/communication-services/how-tos/calling-sdk/includes/call-transcription/call-transcription-android.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,21 @@ private void handleCallOnIsTranscriptionChanged(PropertyChangedEvent args) {
3131

3232
callTranscriptionFeature.addOnIsTranscriptionActiveChangedListener(handleCallOnIsTranscriptionChanged);
3333
```
34+
35+
## Explicit Consent
36+
[!INCLUDE [Public Preview Disclaimer](../../../../includes/Public-Preview-Note-android.md)]
37+
38+
When your Teams meeting or call is configured to require explicit consent for recording or transcription, you're required to gather explicit consent from your users to allow users to be transcribed or recorded. You can provide consent proactively when joining the meeting or reactively when the recording or transcription starts. Until explicit consent is given, participants' audio, video, and screen sharing will be disabled during transcription.
39+
40+
You can check if the meeting transcription requires explicit consent by property `isTeamsConsentRequired()`. If the value is set to `true`, then explicit consent is required for the `call`.
41+
42+
```java
43+
boolean isTranscriptionConsentRequired = callTranscriptionFeature.isTeamsConsentRequired();
44+
```
45+
46+
If you have already obtained the user's consent for transcription, you can call the `grantTeamsConsent()` method to indicate explicit consent to the service. This consent is valid for one `call` session only and users need to provide consent again if they rejoin the meeting.
47+
48+
```java
49+
callTranscriptionFeature.grantTeamsConsent();
50+
```
51+
Attempts to enable audio, video, or screen sharing fail when transcription is active, explicit consent is required but isn't yet given. You can recognize this situation by checking property `reason` of class `ParticipantCapabilities` for [capabilities](../../capabilities.md) `turnVideoOn`, `unmuteMic` and `shareScreen`. You can find those [capabilities](../../capabilities.md) in the feature `call.feature(Features.Capabilities)`. Those [capabilities](../../capabilities.md) would return reason `ExplicitConsentRequired` as users need to provide explicit consent.

articles/communication-services/how-tos/calling-sdk/includes/call-transcription/call-transcription-ios.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,20 @@ public func transcriptionCallFeature(_ transcriptionCallFeature: TranscriptionCa
3232
let isTranscriptionActive = callTranscriptionFeature.isTranscriptionActive
3333
}
3434
```
35+
## Explicit Consent
36+
[!INCLUDE [Public Preview Disclaimer](../../../../includes/Public-Preview-Note-ios.md)]
37+
38+
When your Teams meeting or call is configured to require explicit consent for recording or transcription, you're required to gather explicit consent from your users to allow users to be transcribed or recorded. You can provide consent proactively when joining the meeting or reactively when the recording or transcription starts. Until explicit consent is given, participants' audio, video, and screen sharing will be disabled during transcription.
39+
40+
You can check if the meeting transcription requires explicit consent by property `isTeamsConsentRequired`. If the value is set to `true`, then explicit consent is required for the `call`.
41+
42+
```swift
43+
let isTranscriptionConsentRequired = callTranscriptionFeature.isTeamsConsentRequired;
44+
```
45+
46+
If you have already obtained the user's consent for transcription, you can call the `grantTeamsConsent()` method to indicate explicit consent to the service. This consent is valid for one `call` session only and users need to provide consent again if they rejoin the meeting.
47+
48+
```swift
49+
callTranscriptionFeature.grantTeamsConsent();
50+
```
51+
Attempts to enable audio, video, or screen sharing fail when transcription is active, explicit consent is required but isn't yet given. You can recognize this situation by checking property `reason` of class `ParticipantCapabilities` for [capabilities](../../capabilities.md) `turnVideoOn`, `unmuteMic` and `shareScreen`. You can find those [capabilities](../../capabilities.md) in the feature `call.feature(Features.Capabilities)`. Those [capabilities](../../capabilities.md) would return reason `ExplicitConsentRequired` as users need to provide explicit consent.

articles/communication-services/how-tos/calling-sdk/includes/call-transcription/call-transcription-windows.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,20 @@ private async void Call__OnIsTranscriptionActiveChanged(object sender, PropertyC
2929

3030
transcriptionFeature.IsTranscriptionActiveChanged += Call__OnIsTranscriptionActiveChanged;
3131
```
32+
## Explicit Consent
33+
[!INCLUDE [Public Preview Disclaimer](../../../../includes/Public-Preview-Note-windows.md)]
34+
35+
When your Teams meeting or call is configured to require explicit consent for recording or transcription, you're required to gather explicit consent from your users to allow users to be transcribed or recorded. You can provide consent proactively when joining the meeting or reactively when the recording or transcription starts. Until explicit consent is given, participants' audio, video, and screen sharing will be disabled during transcription.
36+
37+
You can check if the meeting transcription requires explicit consent by property `isTeamsConsentRequired`. If the value is set to `true`, then explicit consent is required for the `call`.
38+
39+
```csharp
40+
boolean isTranscriptionConsentRequired = transcriptionFeature.isTeamsConsentRequired;
41+
```
42+
43+
If you have already obtained the user's consent for transcription, you can call the `grantTeamsConsent()` method to indicate explicit consent to the service. This consent is valid for one `call` session only and users need to provide consent again if they rejoin the meeting.
44+
45+
```csharp
46+
transcriptionFeature.grantTeamsConsent();
47+
```
48+
Attempts to enable audio, video, or screen sharing fail when transcription is active, explicit consent is required but isn't yet given. You can recognize this situation by checking property `reason` of class `ParticipantCapabilities` for [capabilities](../../capabilities.md) `turnVideoOn`, `unmuteMic` and `shareScreen`. You can find those [capabilities](../../capabilities.md) in the feature `call.feature(Features.Capabilities)`. Those [capabilities](../../capabilities.md) would return reason `ExplicitConsentRequired` as users need to provide explicit consent.

articles/communication-services/how-tos/calling-sdk/includes/record-calls/record-calls-android.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ ms.author: rifox
99

1010
## Record calls
1111

12-
> [!NOTE]
13-
> This API is provided as a preview for developers and might change based on feedback that we receive. Don't use this API in a production environment. To use this API, use the beta release of the Azure Communication Services Calling Android SDK.
12+
[!INCLUDE [Public Preview Disclaimer](../../../../includes/Public-Preview-Note-android.md)]
1413

1514
Call recording is an extended feature of the core `Call` object.
1615

@@ -70,3 +69,22 @@ try {
7069
```
7170

7271
When you stop recording from the server, the event `handleCallOnIsRecordingChanged` is triggered and the value of `callRecordingFeature.isRecordingActive()` is `false`.
72+
73+
## Explicit Consent
74+
[!INCLUDE [Public Preview Disclaimer](../../../../includes/Public-Preview-Note-android.md)]
75+
76+
When your Teams meeting or call is configured to require explicit consent for recording and transcription, you're required to collect consent from all participants in the call before you can record them. You can provide consent proactively when joining the meeting or reactively when the recording starts. Until explicit consent is given, participants' audio, video, and screen sharing will be disabled during recording.
77+
78+
You can check if the meeting recording requires explicit consent by property `isTeamsConsentRequired`. If the value is set to `true`, then explicit consent is required for the `call`.
79+
80+
```java
81+
boolean isConsentRequired = callRecordingFeature.isTeamsConsentRequired();
82+
```
83+
84+
If you have already obtained the user's consent for recording, you can call `grantTeamsConsent()` method to indicate explicit consent to the service. This consent is valid for one `call` session only and users need to provide consent again if they rejoin the meeting.
85+
86+
```java
87+
callRecordingFeature.grantTeamsConsent();
88+
```
89+
90+
Attempts to enable audio, video, or screen sharing fail when recording is active, explicit consent is required but isn't yet given. You can recognize this situation by checking property `reason` of class `ParticipantCapabilities` for [capabilities](../../capabilities.md) `turnVideoOn`, `unmuteMic` and `shareScreen`. You can find those [capabilities](../../capabilities.md) in the feature `call.feature(Features.Capabilities)`. Those [capabilities](../../capabilities.md) would return reason `ExplicitConsentRequired` as users need to provide explicit consent.

articles/communication-services/how-tos/calling-sdk/includes/record-calls/record-calls-ios.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ ms.author: rifox
88
[!INCLUDE [Install SDK](../install-sdk/install-sdk-ios.md)]
99

1010
## Record calls
11+
[!INCLUDE [Public Preview Disclaimer](../../../../includes/Public-Preview-Note-ios.md)]
1112

12-
> [!NOTE]
13-
> This API is provided as a preview for developers and might change based on feedback that we receive. Don't use this API in a production environment. To use this API, use the beta release of the Azure Communication Services Calling iOS SDK.
1413

1514
Call recording is an extended feature of the core `Call` object.
1615

@@ -59,3 +58,22 @@ let serverCallId = call.info.getServerCallId(){ (serverId, error) in }
5958
```
6059

6160
When you stop recording from the server, the event `didChangeRecordingState` is triggered and the value of `recordingFeature.isRecordingActive` is `false`.
61+
62+
## Explicit Consent
63+
[!INCLUDE [Public Preview Disclaimer](../../../../includes/Public-Preview-Note-ios.md)]
64+
65+
When your Teams meeting or call is configured to require explicit consent for recording and transcription, you're required to collect consent from all participants in the call before you can record them. You can provide consent proactively when joining the meeting or reactively when the recording starts. Until explicit consent is given, participants' audio, video, and screen sharing will be disabled during recording.
66+
67+
You can check if the meeting recording requires explicit consent by property `isTeamsConsentRequired`. If the value is set to `true`, then explicit consent is required for the `call`.
68+
69+
```swift
70+
let isConsentRequired = recordingFeature.isTeamsConsentRequired;
71+
```
72+
73+
If you have already obtained the user's consent for recording, you can call `grantTeamsConsent()` method to indicate explicit consent to the service. This consent is valid for one `call` session only and users need to provide consent again if they rejoin the meeting.
74+
75+
```swift
76+
recordingFeature.grantTeamsConsent();
77+
```
78+
79+
Attempts to enable audio, video, or screen sharing fail when recording is active, explicit consent is required but isn't yet given. You can recognize this situation by checking property `reason` of class `ParticipantCapabilities` for [capabilities](../../capabilities.md) `turnVideoOn`, `unmuteMic` and `shareScreen`. You can find those [capabilities](../../capabilities.md) in the feature `call.feature(Features.Capabilities)`. Those [capabilities](../../capabilities.md) would return reason `ExplicitConsentRequired` as users need to provide explicit consent.

articles/communication-services/how-tos/calling-sdk/includes/record-calls/record-calls-windows.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,22 @@ private async void Call__OnIsRecordingActiveChanged(object sender, PropertyChang
3131

3232
recordingFeature.IsRecordingActiveChanged += Call__OnIsRecordingActiveChanged;
3333
```
34+
35+
## Explicit Consent
36+
[!INCLUDE [Public Preview Disclaimer](../../../../includes/Public-Preview-Note-windows.md)]
37+
38+
When your Teams meeting or call is configured to require explicit consent for recording and transcription, you're required to collect consent from all participants in the call before you can record them. You can provide consent proactively when joining the meeting or reactively when the recording starts. Until explicit consent is given, participants' audio, video, and screen sharing will be disabled during recording.
39+
40+
You can check if the meeting recording requires explicit consent by property `isTeamsConsentRequired`. If the value is set to `true`, then explicit consent is required for the `call`.
41+
42+
```csharp
43+
boolean isConsentRequired = recordingFeature.isTeamsConsentRequired;
44+
```
45+
46+
If you have already obtained the user's consent for recording, you can call `grantTeamsConsent()` method to indicate explicit consent to the service. This consent is valid for one `call` session only and users need to provide consent again if they rejoin the meeting.
47+
48+
```csharp
49+
recordingFeature.grantTeamsConsent();
50+
```
51+
52+
Attempts to enable audio, video, or screen sharing fail when recording is active, explicit consent is required but isn't yet given. You can recognize this situation by checking property `reason` of class `ParticipantCapabilities` for [capabilities](../../capabilities.md) `turnVideoOn`, `unmuteMic` and `shareScreen`. You can find those [capabilities](../../capabilities.md) in the feature `call.feature(Features.Capabilities)`. Those [capabilities](../../capabilities.md) would return reason `ExplicitConsentRequired` as users need to provide explicit consent.

articles/communication-services/how-tos/calling-sdk/record-calls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ The following table shows the minimum version of SDKs that support individual AP
9090
|------------|-----|--------|-----|--------|---------|------------|---------|
9191
| Get notification that recording started or stopped | 1.0.0, 1.25.3-beta.1 | 1.0.0, 1.15.0-beta.1 | 2.0.0, 2.1.0-beta.1 | 1.0.0, 1.15.0-beta.1 | 2.0.0, 1.2.0-beta.1 | 1.0.0, 1.15.0-beta.1 | 1.0.0, 1.0.0-beta.31 |
9292
| Get state of recording | 1.0.0, 1.25.3-beta.1 | 1.0.0, 1.15.0-beta.1 | 2.0.0, 2.1.0-beta.1 | 1.0.0, 1.15.0-beta.1 | 2.0.0, 1.2.0-beta.1 | 1.0.0, 1.15.0-beta.1 | 1.0.0, 1.0.0-beta.31 |
93-
| Learn whether explicit consent is required | 1.31.2, 1.32.1-beta.1 || || || |
94-
| Give explicit consent for being recorded | 1.31.2, 1.32.1-beta.1 || || || |
93+
| Learn whether explicit consent is required | 1.31.2, 1.32.1-beta.1 || 2.16.0-beta.1 || 2.14.0-beta.1 || 1.12.0-beta.1 |
94+
| Give explicit consent for being recorded | 1.31.2, 1.32.1-beta.1 || 2.16.0-beta.1 || 2.14.0-beta.1 || 1.12.0-beta.1 |
9595

9696
## Next steps
9797

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> [!NOTE]
2+
> This API is provided as a preview for developers and might change based on feedback that we receive. Don't use this API in a production environment. To use this API, use the beta release of the Azure Communication Services Calling iOS SDK.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> [!NOTE]
2+
> This API is provided as a preview for developers and might change based on feedback that we receive. Don't use this API in a production environment. To use this API, use the beta release of the Azure Communication Services Calling Windows SDK.

0 commit comments

Comments
 (0)