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
Node.js, if you do not have the Node.js environment, please click to Download.
Modern browser, supporting WebRTC API.
Step 1. Download Demo
1. Open the terminal and input the command to clone the repository
1. Run the Demo by entering commands in the terminal.
TUICallKit/Web/basic-react
TUICallKit/Web/basic-vue3
npm run dev
npm run serve
Warning:
For local environment, please access under localhost protocol. For public network experience, please access under HTTPS protocol. For details, see Description of Network Access Protocol.
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 Callbutton to experience your first call.