Run a Sample Project
- Live Server (Any other server will work)
- Valid Video SDK Account
To manage secured communication, every participant that connects to meeting needs a access token. You can easily generate these token by using your
secret-key which you can get from VideoSDK Dashboard.
For developement purpose, you can generate a temporary token from VideoSDK Dashboard's API section.
The best practice for getting token includes you generating it from your backend server which will help in keeping your credentials safe.
Run the Sample Project
Step 1: Clone the sample project
Clone the repository to your local environment.
Step 2: Copy the config.example.js file to config.js file.
Open your favorite code editor and copy
cp config.example.js config.js
Step 3: Modify config.js file
Paste earlier generated temporary token here.
TOKEN = "TEMPORARY-TOKEN";
Step 4: Run the sample app
You can install and use live-server or just use any server to host the project. Bingo, it's time to push the launch button.
Got a Question? Ask us on discord