You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>Closed Captions will not be billed at the beginning of its Public Preview. This is for a limited time only, usage of Captions will likely be billed starting from June.
20
-
21
16
Closed captions are a textual representation of a voice or video conversation that is displayed to users in real-time. Azure Communication Services Closed captions offer developers the ability to allow users to select when they wish to toggle captions on or off. These captions are only available during the call/meeting for the user that has selected to enable captions, Azure Communication Services does **not** store these captions anywhere. Here are main scenarios where Closed Captions are useful:
22
17
23
18
## Common use cases
24
19
25
20
### Building accessible experiences
26
-
Accessibility – For people with hearing impairments or who are new to the language to participate in calls and meetings. A key feature requirement in the Telemedical industry is to help patients communicate effectively with their health care providers.
21
+
Accessibility – For people with hearing impairments or who are new to the language to participate in calls and meetings. A key feature requirement in the Telemedical industry is to help patients communicate effectively with their health care providers. This can also be useful when you have scenarios where users might be joining from a PSTN phone number, this will allow your application to receive the captioning data for those users too so that everyone's input is available during these interactions.
27
22
28
23
### Teams interoperability
29
24
Use Teams – Organizations using Azure Communication Services and Teams can use Teams closed captions to improve their applications by providing closed captions capabilities to users. Those organizations can keep using Microsoft Teams for all calls and meetings without third party applications providing this capability. Learn more about how you can use captions in [Teams interoperability](../interop/enable-closed-captions.md) scenarios.
@@ -46,8 +41,6 @@ Interoperability between Azure Communication Services and Microsoft Teams enable
46
41
47
42
Microsoft indicates to you via the Azure Communication Services API that recording or closed captions has commenced, and you must communicate this fact, in real-time, to your users within your application's user interface. You agree to indemnify Microsoft for all costs and damages incurred due to your failure to comply with this obligation.
48
43
49
-
## Known limitations
50
-
- Closed captions feature isn't supported on Firefox.
Copy file name to clipboardExpand all lines: articles/communication-services/how-tos/calling-sdk/includes/closed-captions/closed-captions-teams-interop-web.md
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/includes/closed-captions/closed-captions-javascript.md
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,11 @@
1
1
---
2
-
title: include file
2
+
title: Get started with Closed captions for Web app
3
3
description: Web how-to guide for enabling Closed captions during an ACS call.
4
4
author: Kunaal
5
5
ms.service: azure-communication-services
6
6
ms.subservice: calling
7
7
ms.topic: include
8
-
ms.topic: include file
9
-
ms.date: 12/19/2023
8
+
ms.date: 07/08/2024
10
9
ms.author: kpunjabi
11
10
---
12
11
@@ -49,7 +48,7 @@ if (captionsCallFeature.captions.kind === 'Captions') {
49
48
### Add a listener to receive captions active/inactive status
### Add a listener to receive spoken language changed status
108
107
```typescript
108
+
// set a local variable currentSpokenLanguage to track the current spoken language in the call
109
+
let currentSpokenLanguage =''
109
110
const spokenLanguageChangedHandler = () => {
110
111
if (captions.activeSpokenLanguage!==currentSpokenLanguage) {
111
112
/* USER CODE HERE - E.G. RENDER TO DOM */
@@ -167,3 +168,14 @@ try {
167
168
/* USER ERROR HANDLING CODE HERE */
168
169
}
169
170
```
171
+
172
+
### Add a listener to receive captions kind changed status
173
+
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/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.
175
+
176
+
```typescript
177
+
const captionsKindChangedHandler = () => {
178
+
/* USER CODE HERE - E.G. SUBSCRIBE TO TEAMS CAPTIONS */
0 commit comments