Skip to content

Commit 1dd7057

Browse files
authored
Merge pull request #94790 from ealmuneyeer/patch-1
Update dominant-speaker-web.md to use the new feature function rather than api old function
2 parents 67c0aa8 + 0d17df1 commit 1dd7057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/communication-services/how-tos/calling-sdk/includes/dominant-speaker/dominant-speaker-web.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const dominantSpeakersChangedHandler = () => {
3333
// Get the most up to date list of dominant speakers
3434
let dominantSpeakers = callDominantSpeakersApi.dominantSpeakers;
3535
};
36-
callDominantSpeakersApi.api(Features.CallDominantSpeakers).on('dominantSpeakersChanged', dominantSpeakersChangedHandler);
36+
callDominantSpeakersApi.on('dominantSpeakersChanged', dominantSpeakersChangedHandler);
3737
```
3838
#### Handle the Dominant Speaker's video streams
3939

0 commit comments

Comments
 (0)