Skip to content

Commit 66250d1

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@ callRecordingApi.on('recordingsUpdated', cloudRecordingsUpdatedHandler );
6969
When your Teams meeting or call is configured to require explicit consent for recording and transcription,
7070
you are 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.
7171
72-
You can check if the meeting recording requires explicit consent by property `isConsentRequired`. If the value is set to `true`, then explicit consent is required for the `call`.
72+
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`.
7373
7474
```js
75-
const isConsentRequired = callRecordingApi.isConsentRequired;
75+
const isConsentRequired = callRecordingApi.isTeamsConsentRequired;
7676
```
7777
78-
If you have already obtained the user's consent for recording, you can call `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.
78+
If you have already obtained the user's consent for recording, you can call `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.
7979
8080
```js
81-
callRecordingApi.consentToBeingRecordedAndTranscribed();
81+
callRecordingApi.grantTeamsConsent();
8282
```
8383
8484
Attempts to enable audio, video or screen sharing will fail when recording 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)