Skip to content

Commit 71c5bc1

Browse files
authored
Update record-calls-web.md
Renaming api to feature
1 parent 66aad74 commit 71c5bc1

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)