Skip to content

Commit a8b8e1a

Browse files
authored
clean up for clarity
1 parent 22a10e1 commit a8b8e1a

File tree

1 file changed

+8
-8
lines changed
  • articles/communication-services/how-tos/calling-sdk/includes/install-sdk

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
author: probableprime
2+
author: sloanster
33
ms.service: azure-communication-services
44
ms.topic: include
5-
ms.date: 09/08/2021
6-
ms.author: rifox
5+
ms.date: 04/30/2024
6+
ms.author: micahvivion
77
---
88
## Install the SDK
99

@@ -46,15 +46,15 @@ const deviceManager = await callClient.getDeviceManager()
4646

4747
### How to best manage SDK connectivity to Microsoft infrastructure
4848

49-
The `Call Agent` instance helps you manage calls (to join or start calls). In order to work your calling SDK needs to connect to Microsoft infrastructure to get notifications of incoming calls and coordinate other call details. Sometimes the connection may fail be disconnected. To give you signal what the current state of your call `Call Agent` will be in 2 possible states:
49+
The `Call Agent` instance helps you manage calls (to join or start calls). In order to work your calling SDK needs to connect to Microsoft infrastructure to get notifications of incoming calls and coordinate other call details. Your `Call Agent` has two possible states:
5050

5151
**Connected** - A `Call Agent` connectionStatue value of `Connected` means the client SDK is connected and capable of receiving notifications from Microsoft infrastructure.
5252

53-
**Disconnected** - A `Call Agent` connectionStatue value of `Disconnected` means there is an issue that is preventing the SDK it from properly connecting. `Call Agent` should be re-created.
54-
- `invalidToken`: If a token expired or it's invalid `Call Agent` instance will disconnect with this error.
55-
- `connectionIssue`: If there is an issue with the client connecting to Microsoft infrascture, after many retries `Call Agent` will fail to re-connect and expose the `connectionIssue` error.
53+
**Disconnected** - A `Call Agent` connectionStatue value of `Disconnected` states there's an issue that is preventing the SDK it from properly connecting. `Call Agent` should be re-created.
54+
- `invalidToken`: If a token expired or it's invalid `Call Agent` instance disconnects with this error.
55+
- `connectionIssue`: If there's an issue with the client connecting to Microsoft infrascture, after many retries `Call Agent` exposes the `connectionIssue` error.
5656

57-
You can check if your local `Call Agent` is connected to Microsoft infrastrucue by inspecting the current value of `connectionState` property. During an active call you can listen to the `connectionStateChanged` event to determine if `Call Agent` changes from **Connected** to **Disconnected** state.
57+
You can check if your local `Call Agent` is connected to Microsoft infrastructure by inspecting the current value of `connectionState` property. During an active call you can listen to the `connectionStateChanged` event to determine if `Call Agent` changes from **Connected** to **Disconnected** state.
5858

5959
```js
6060
const connectionState = callAgentInstance.connectionState;

0 commit comments

Comments
 (0)