this repo demonstrates Uplink Bandwidth, Uplink loss Rate, Uplink Jitter, Downlink Loss Rate using Agora SDK.
Sample Images on Local Machine:
- nodejs LTS
- A web browser
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.
- Using the Terminal app, enter the
install
command in your project directory. This command installs libraries that are required to run the sample application.# install dependencies npm install
- Start the application by entering the
run dev
orrun build
command. Therun dev
command is for development purposes.The# serve with hot reload at localhost:8080 npm run dev
run build
command is for production purposes and minifies code.# build for production with minification npm run build
- Your default browser should open and display the sample application, as shown here.
Note: In some cases, you may need to open a browser and enter
http://localhost:8080
as the URL.
- You can find full API document at Document Center
- You can file bugs about this demo at issue
The MIT License (MIT)