Skip to content

Commit f433166

Browse files
authored
Merge pull request #178806 from fizampou/patch-6
Update record-calls-web.md
2 parents 0f82233 + 71c5bc1 commit f433166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.author: rifox
1414
Call recording is an extended feature of the core `Call` API. You first need to obtain the recording feature API object:
1515

1616
```js
17-
const callRecordingApi = call.api(Features.Recording);
17+
const callRecordingApi = call.feature(Features.Recording);
1818
```
1919

2020
Then, to check if the call is being recorded, inspect the `isRecordingActive` property of `callRecordingApi`. It returns `Boolean`.
@@ -31,4 +31,4 @@ const isRecordingActiveChangedHandler = () => {
3131
};
3232

3333
callRecordingApi.on('isRecordingActiveChanged', isRecordingActiveChangedHandler);
34-
```
34+
```

0 commit comments

Comments
 (0)