JavaScript
If you are planning to use JavaScript to develop your application, you'll need to install (or update) the latest version of the Client SDK.
Create a new folder in your project directory and change into it.
mkdir app-to-app cd app-to-app
Then run the following command:
npm init npm install @vonage/client-sdk -s
This will install the Client SDK into the node_modules directory within your project folder.
If you already have the Client SDK installed the above command will upgrade your Client SDK to the latest version.
Making an app to app voice call
Make a voice call from one web app User to another web app User using the JavaScript Client SDK.
手順
1
Introduction to this task2
Prerequisites3
Create a webhook server4
Create a Vonage Application5
Create the users6
Generate JWTs7
Install Client SDK8
Create the code to make an in-app voice call9
Create the code to receive an in-app voice call10
Run your application11
What's next?