English | 中文
This tutorial shows you how to quickly create an basic video communication using the Agora sample app.
With this sample app, you can:
- Join/Leave a realtime video call
- Select Camera/Microphone to use
- Node.js 6.9.1+
- A web server that supports SSL (https)
This section shows you how to prepare, and run the sample application.
To build and run the sample application, get an App ID:
- Create a developer account at agora.io. Once you finish the signup process, you will be redirected to the Dashboard.
- Navigate in the Dashboard tree on the left to Projects > Project List.
- Save the App ID from the Dashboard for later use.
- Generate a temp Access Token (valid for 24 hours) from dashboard page with given channel name, save for later use.
Download SDK into assets path and rename file name as AgoraRTCSDK.js
- Launch server via following commands in working folder,
npx serve .
- Enter Valid APPID, Token, Channel and click JOIN
- For potential issues, take a look at our FAQ first
- Dive into Agora SDK Samples to see more tutorials
- Take a look at Agora Use Case for more complicated real use case
- Repositories managed by developer communities can be found at Agora Community
- You can find full API documentation at Document Center
- If you encounter problems during integration, you can ask question in Stack Overflow
- You can file bugs about this sample at issue
The MIT License (MIT)