Skip to content

Commit 800bf72

Browse files
authored
Update closed-captions-javascript.md
- remove reference to teams interop include file and just point to the top level teams interop quickstart. - update newClassName to outgoingCaption
1 parent 467d73c commit 800bf72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/communication-services/quickstarts/voice-video-calling/includes/closed-captions/closed-captions-javascript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const captionsReceivedHandler : CaptionsHandler = (data: CaptionsInfo) => {
8989
captionContainer.style['borderBottom'] = '1px solid';
9090
captionContainer.style['whiteSpace'] = 'pre-line';
9191
captionContainer.textContent = captionText;
92-
captionContainer.classList.add(newClassName);
92+
captionContainer.classList.add(outgoingCaption);
9393

9494
captionArea.appendChild(captionContainer);
9595
} else {
@@ -171,7 +171,7 @@ try {
171171

172172
### Add a listener to receive captions kind changed status
173173
Captions kind can change from Captions to TeamsCaptions if a Teams/CTE user joins the call or if the call changes
174-
to an interop call type. Resubscription to [Teams Captions listeners](../../../../how-tos/calling-sdk/includes/closed-captions/closed-captions-teams-interop-web.md) is required to continue the Captions experience. TeamsCaptions kind can not be switched or changed back to Captions kind in a call once TeamsCaptions is utilized in the call.
174+
to an interop call type. Resubscription to [Teams Captions listeners](../../../../how-tos/calling-sdk/closed-captions-teams-interop-how-to.md) is required to continue the Captions experience. TeamsCaptions kind can not be switched or changed back to Captions kind in a call once TeamsCaptions is utilized in the call.
175175

176176
```typescript
177177
const captionsKindChangedHandler = () => {

0 commit comments

Comments
 (0)