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/cte-calling-sdk/includes/shared-line-appearance/shared-line-appearance-web.md
+1-39Lines changed: 1 addition & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,45 +9,7 @@ ms.author: charithg
9
9
> [!NOTE]
10
10
> This API is provided as a preview for developers and might change based on feedback that we receive. Don't use this API in a production environment. To use this API, use the beta release of the Azure Communication Services Calling Web SDK (1.31.1-beta.1 or higher).
11
11
12
-
## Install the SDK
13
-
14
-
Use the `npm install` command to install the Azure Communication Services Common and Calling SDK for JavaScript:
15
-
16
-
```console
17
-
npm install @azure/communication-common --save
18
-
npm install @azure/communication-calling --save
19
-
```
20
-
21
-
## Initialize required objects
22
-
23
-
A `CallClient` instance is required for most call operations. When you create a new `CallClient` instance, you can configure it with custom options like a `Logger` instance.
24
-
25
-
With the `CallClient` instance, you can create a `TeamsCallAgent` instance by calling the `createTeamsCallAgent`. This method asynchronously returns a `TeamsCallAgent` instance object.
26
-
27
-
The `createTeamsCallAgent` method uses `CommunicationTokenCredential` as an argument. It accepts a [user access token](../../../../quickstarts/identity/access-tokens.md).
28
-
29
-
You can use the `getDeviceManager` method on the `CallClient` instance to access `deviceManager`.
0 commit comments