This article will introduce how to quickly implement the Audio and Video Call demo. You will complete the following key steps within 10 minutes and ultimately obtain a video call feature with a comprehensive UI Interface.
Prerequisites
Modern browser, supporting WebRTC API.
Step 1. Download Demo
1. Open the terminal and input the command to clone the repository
2. Install Dependencies
cd ./TUICallKit/Web/basic-react
cd ./TUICallKit/Web/basic-vue3
Step 2. Configure Demo
2. Fill in SDKAPPID、SDKSecretKey
.
File Path:TUICallKit/Web/basic-react/public/debug/GenerateTestUserSig-es.js
File Path:TUICallKit/Web/basic-vue3/public/debug/GenerateTestUserSig-es.js
Step 3. Run Demo
1. Run the Demo by entering commands in the terminal.
TUICallKit/Web/basic-react
TUICallKit/Web/basic-vue3
2. Open two browser pages, enter the same URL, and then log in with two different userID(defined by you) . (This is the react demo effect)
3. After both userID have successfully logged in, input the other page's userID and click Add to call list
button.
Step 4. Make a first call
Click on the Call
button to experience your first call.
Was this page helpful?