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
Copy file name to clipboardExpand all lines: articles/communication-services/how-tos/calling-sdk/includes/install-sdk/install-sdk-web.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.author: micahvivion
7
7
---
8
8
## Install the SDK
9
9
10
-
Use the `npm install` command to install the Azure Communication Services Common and Calling SDKs for JavaScript:
10
+
Use the `npm install` command to install the Azure Communication Services Common and Calling SDK for JavaScript:
11
11
12
12
```console
13
13
npm install @azure/communication-common --save
@@ -51,7 +51,7 @@ The `Call Agent` instance helps you manage calls (to join or start calls). In or
51
51
**Connected** - A `Call Agent` connectionStatue value of `Connected` means the client SDK is connected and capable of receiving notifications from Microsoft infrastructure.
52
52
53
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.
54
+
-`invalidToken`: If a token is expired or is invalid `Call Agent` instance disconnects with this error.
55
55
-`connectionIssue`: If there's an issue with the client connecting to Microsoft infrascture, after many retries `Call Agent` exposes the `connectionIssue` error.
56
56
57
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.
0 commit comments