Skip to content

Commit a496b49

Browse files
committed
edits
1 parent bd9db6c commit a496b49

File tree

1 file changed

+42
-36
lines changed

1 file changed

+42
-36
lines changed

articles/communication-services/concepts/ui-library/includes/web-ui-use-cases.md

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ ms.topic: include
66
ms.service: azure-communication-services
77
---
88

9-
Use the UI Library to create calling and chat experiences through the Azure Communication Services UI components and composites. In a composite, capabilities are built in directly and exposed when the composite is integrated into an application. In a UI components, capabilities are exposed through a combination of UI functionality and underlying stateful libraries. To take full advantage of these capabilities, we recommend that you use UI components with stateful call and chat client libraries.
9+
Use the UI Library to create calling and chat experiences through Azure Communication Services UI components and composites. In a composite, capabilities are built in directly and exposed when you integrate the composite into an application. In a UI component, capabilities are exposed through a combination of UI functionality and underlying stateful libraries. To take full advantage of these capabilities, we recommend that you use UI components with stateful call and chat client libraries.
1010

11-
Visit [UI Library Storybook](https://azure.github.io/communication-ui-library) for more conceptual documentation, quickstarts, and examples.
11+
Get more conceptual documentation, quickstarts, and examples in the [UI Library storybook](https://azure.github.io/communication-ui-library).
1212

1313
## Call use cases
1414

1515
| Area | Use cases |
1616
| ------------------- | ------------------------------------------------------ |
1717
| Call types | Join a Microsoft Teams meeting |
18-
| | Join Azure Communication Services call by using a group ID |
19-
| [Teams interoperability](../../teams-interop.md) | Call lobby |
20-
| | Transcription and recording alert banner |
21-
| Call controls | Mute and unmute call |
22-
| | Video on and video off during a call |
23-
| | Screen sharing |
24-
| | End call |
25-
| Participant gallery | Remote participants are displayed on a grid |
26-
| | Video preview available throughout call for local user |
27-
| | Default avatars available when video is off |
28-
| | Shared screen content displayed in participant gallery |
29-
| Call configuration | Microphone device management |
30-
| | Camera device management |
31-
| | Speaker device management |
32-
| | Local preview available for user to check video |
33-
| Participants | Participant roster |
18+
| | Join an Azure Communication Services call by using a group ID |
19+
| [Teams interoperability](../../teams-interop.md) | Join the call lobby |
20+
| | Display a transcription and recording alert banner |
21+
| Call controls | Mute and unmute a call |
22+
| | Turn video on and off during a call |
23+
| | Turn on screen sharing |
24+
| | End a call |
25+
| Participant gallery | Show remote participants on a grid |
26+
| | Make video preview available throughout a call for a local user |
27+
| | Make default avatars available when video is off |
28+
| | Show shared screen content in the participant gallery |
29+
| Call configuration | Manage microphone device |
30+
| | Manage camera device |
31+
| | Manage speaker device |
32+
| | Make local preview available for user to check video |
33+
| Participants | Show participant roster |
3434

3535
## Chat use cases
3636

@@ -40,48 +40,52 @@ Visit [UI Library Storybook](https://azure.github.io/communication-ui-library) f
4040
| | Join an Azure Communication Services chat thread |
4141
| Chat actions | Send a chat message |
4242
| | Receive a chat message |
43-
| Chat events | Typing indicators |
44-
| | Read receipt |
45-
| | Participant added or removed |
46-
| | Chat title changed |
47-
| Participants | Participant roster |
43+
| Chat events | Show typing indicators |
44+
| | Send read receipt |
45+
| | Show when a participant is added or removed |
46+
| | Show that the hat title changed |
47+
| Participants | Show participant roster |
4848

4949
## Supported identities
5050

5151
To initialize a composite and authenticate to the service, a user must have an Azure Communication Services identity. For more information, see [Authenticate to Azure Communication Services](../../authentication.md) and [Quickstart: Create and manage access tokens](../../../quickstarts/access-tokens.md).
5252

5353
## Teams interoperability
5454

55-
For [Teams interoperability](../../teams-interop.md) scenarios, you can use UI Library composites to join a user to a Teams meeting via Communication Services. To enable Teams interoperability, use either call and chat composites directly, or use UI components to build a custom experience.
55+
For [Teams interoperability](../../teams-interop.md) scenarios, you can use UI Library composites to add a user to a Teams meeting via Communication Services. To enable Teams interoperability, use either the default features in the call composite or the chat composite, or use UI components to build a custom experience.
5656

5757
When you add both calling and chat to an application, it's important to remember that the chat client can't be initialized until the participant is admitted to the call. After the participant is admitted, the chat client can be initialized to join the meeting chat thread. The pattern is demonstrated in the following figure:
5858

5959
:::image type="content" source="../../media/teams-interop-pattern.png" border="false" alt-text="Diagram that shows the Teams interoperability pattern for calling and chat.":::
6060

6161
If you use UI components to deliver Teams interoperability experiences, begin by using UI Library examples to create key pieces of the experience:
6262

63-
- [Lobby Example](https://azure.github.io/communication-ui-library/?path=/story/examples-teams-interop--lobby): A sample lobby where a participant can wait to be admitted to a call.
64-
- [Compliance banner](https://azure.github.io/communication-ui-library/?path=/story/examples-teams-interop--compliance-banner): A sample banner that shows the user if the call is being recorded.
65-
- [Teams theme](https://azure.github.io/communication-ui-library/?path=/story/examples-themes--teams): A sample theme that makes UI Library look like Microsoft Teams.
63+
- [Lobby example](https://azure.github.io/communication-ui-library/?path=/story/examples-teams-interop--lobby). A sample lobby where a participant can wait to be admitted to a call.
64+
- [Compliance banner](https://azure.github.io/communication-ui-library/?path=/story/examples-teams-interop--compliance-banner). A sample banner that shows the user if the call is being recorded.
65+
- [Teams theme](https://azure.github.io/communication-ui-library/?path=/story/examples-themes--teams). A sample theme that makes UI Library elements look like Microsoft Teams.
6666

6767
## Customization
6868

69-
Use UI Library patterns to modify components to fit the look and feel of your application. These capabilities are a key area of differentiation between Communication Services composites and UI components. Composites have fewer customization options so that they have a simpler integration experience.
69+
Use UI Library patterns to modify components to fit the look and feel of your application. These capabilities are a key area of differentiation between Communication Services composites and UI components. Composites have fewer customization options for a simpler integration experience.
70+
71+
The following table compares composites and UI components for customization use cases:
7072

7173
| Use case | Composites | UI components |
7274
| --------------------------------------------------- | ---------- | ------------- |
7375
| Use Fluent-based theming | X | X |
7476
| Compose the experience layout | | X |
75-
| Use CSS styling modify style properties | | X |
77+
| Use CSS styling to modify style properties | | X |
7678
| Replace icons | | X |
7779
| Modify the participant gallery layout | | X |
7880
| Modify the call control layout | X | X |
79-
| Inject data models can to modify user metadata | X | X |
81+
| Inject data models to modify user metadata | X | X |
8082

8183
## Observability
8284

8385
The state management architecture of UI Library is decoupled, so you can access the stateful calling and chat clients directly. You can hook into the stateful client to read the state, handle events, and override behavior to pass onto the UI components.
8486

87+
The following table compares composites and UI components for observability use cases:
88+
8589
| Use case | Composites | UI components |
8690
| ----------------------------------------- | ---------- | ------------- |
8791
| Access call and chat client state | X | X |
@@ -90,24 +94,26 @@ The state management architecture of UI Library is decoupled, so you can access
9094

9195
## Recommended architecture
9296

93-
:::image type="content" source="../../media/ui-library-architecture.png" alt-text="UI Library recommended client-server architecture":::
94-
9597
Initialize a composite and base components by using an Azure Communication Services access token. It's important to get access tokens from Azure Communication Services through a trusted service that you manage. For more information, see [Quickstart: Create and manage access tokens](../../../quickstarts/access-tokens.md) and the [trusted service tutorial](../../../tutorials/trusted-service-tutorial.md).
9698

97-
These client libraries also require the context for the call or chat they join. Like user access tokens, disseminate the context to clients by using your own trusted service. The following table summarizes the initialization and resource management functions to operationalize to add context to a client library:
99+
:::image type="content" source="../../media/mobile-ui/ui-library-architecture.png" border="false" alt-text="Diagram that shows the recommended UI Library architecture.":::
100+
101+
Call and chat client libraries also must have the context for the call or chat they join. Like user access tokens, disseminate the context to clients by using your own trusted service.
102+
103+
The following table summarizes initialization and resource management functions that are required to add context to a client library:
98104

99105
| Contoso responsibilities | UI Library responsibilities |
100106
| -------------------------------------------------------- | --------------------------------------------------------------- |
101107
| Provide an access token from Azure | Pass through the provided access token to initialize components |
102-
| Provide a refresh function | Refresh access token by using developer-provided function |
108+
| Provide a refresh function | Refresh the access token by using a developer-provided function |
103109
| Retrieve and pass join information for the call or chat | Pass through call and chat information to initialize components |
104110
| Retrieve and pass user information for any custom data model | Pass through a custom data model to components to render |
105111

106112
## Platform support
107113

108114
| SDK | Windows | macOS | Ubuntu | Linux | Android | iOS |
109115
| ------ | ------------------ | -------------------- | -------- | -------- | -------- | ---------- |
110-
| UI SDK | Chrome\*, Microsoft Edge | Chrome\*, Safari\*\* | Chrome\* | Chrome\* | Chrome\* | Safari\*\* |
116+
| UI SDK | Chrome,\* Microsoft Edge | Chrome,\* Safari\*\* | Chrome\* | Chrome\* | Chrome\* | Safari\*\* |
111117

112118
\* The current version of Chrome and the two preceding releases are supported.
113119

@@ -122,4 +128,4 @@ Accessibility by design is a principle across Microsoft products. UI Library fol
122128
Localization is key to making products for users around the world and who speak different languages. UI Library provides default support for some languages and capabilities, including right-to-left languages. You can provide their own localization files to use with UI Library.
123129

124130
> [!div class="nextstepaction"]
125-
> [Visit UI Library Storybook](https://azure.github.io/communication-ui-library)
131+
> [Visit UI Library storybook](https://azure.github.io/communication-ui-library)

0 commit comments

Comments
 (0)