Skip to content

Commit 8096a28

Browse files
Updating the name of the API - Explicit Consent
1 parent ce9685b commit 8096a28

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,19 @@ You can unsubscribe from the event with the following code:
3939
```js
4040
callTranscriptionFeature.off('isTranscriptionActiveChanged', isTranscriptionActiveChangedHandler);
4141
```
42-
[!INCLUDE [Public Preview Disclaimer](../../../../includes/public-preview-include-document.md)]
4342

4443
## Explicit Consent
4544
When your Teams meeting or call is configured to require explicit consent for recording or transcription, you are 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.
4645

47-
You can check if the meeting transcription requires explicit consent by property `isConsentRequired`. If the value is set to `true`, then explicit consent is required for the `call`.
46+
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`.
4847

4948
```js
50-
const isTranscriptionConsentRequired = callTranscriptionFeature.isConsentRequired;
49+
const isTranscriptionConsentRequired = callTranscriptionFeature.isTeamsConsentRequired;
5150
```
5251

53-
If you have already obtained the user's consent for transcription, you can call the `consentToBeingRecordedAndTranscribed()` method to indicate explicit consent to the service. Note that this consent is valid for one `call` session only and users will need to provide consent again if they rejoin the meeting.
52+
If you have already obtained the user's consent for transcription, you can call the `grantTeamsConsent()` method to indicate explicit consent to the service. Note that this consent is valid for one `call` session only and users will need to provide consent again if they rejoin the meeting.
5453

5554
```js
56-
callTranscriptionFeature.consentToBeingRecordedAndTranscribed();
55+
callTranscriptionFeature.grantTeamsConsent();
5756
```
5857
Attempts to enable audio, video or screen sharing will fail when transcription is active, explicit consent is required but is not 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.

0 commit comments

Comments
 (0)