Skip to content

Commit c5d1a78

Browse files
authored
Update closed-captions-teams-interop-web.md
The mentioned code "teamsCaptions.isCaptionsFeatureActive()", where it has been shown as isCaptionsFeatureActive as a method but it is a property of the teamsCaption. Hence proposing these changes
1 parent 93a661c commit c5d1a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/communication-services/how-tos/calling-sdk/includes/closed-captions/closed-captions-teams-interop-web.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if (captionsCallFeature.captions.kind === 'TeamsCaptions') {
5757
### Add a listener to receive captions active/inactive status
5858
```typescript
5959
const captionsActiveChangedHandler = () => {
60-
if (teamsCaptions.isCaptionsFeatureActive()) {
60+
if (teamsCaptions.isCaptionsFeatureActive) {
6161
/* USER CODE HERE - E.G. RENDER TO DOM */
6262
}
6363
}

0 commit comments

Comments
 (0)