Skip to content

sapirguy/symbl-agora-demo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symbl + Agora Example Application

This tutorial shows you how to quickly create a live app using the Symbl Websocket adapter with Agora Web SDK.

Prerequisites

  • Node.js LTS
  • Agora Account
  • Symbl App ID and Secret

Quick Start

This section shows you how to prepare, build, and run the sample application.

Obtain Symbl App ID and Secret and Agora App ID

To use the Agora example application with Symbl, you'll need to:

  1. Create an account. You can signup at platform.symbl.ai/#/signup.
  2. Head to the dashboard
  3. Save your App Id and Secret

Obtain an Agora App ID

To build and run the sample application, get an App ID:

  1. Create a developer account at agora.io. Once you finish the signup process, you will be redirected to the Dashboard.
  2. Navigate in the Dashboard tree on the left to Projects > Project List.
  3. Save the App ID from the Dashboard for later use.
  4. Generate a temp Access Token (valid for 24 hours) from dashboard page with given channel name, save for later use.

Add your Symbl App Id + Secret and Agora App Id to the .env file

REACT_APP_AGORA_APP_ID=<#YOUR Agora.io APP ID#>
REACT_APP_AGORA_LOG=true
SYMBL_API_BASE_PATH="https://api.symbl.ai"
SYMBL_APP_ID=<#Your Symbl.ai App Id>
SYMBL_APP_SECRET=<#Your Symbl.ai App Secret>

Install dependencies and integrate the Agora Video SDK

  1. 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
  2. Start the application by entering the npm start command.
    • Symbl Access Token server is started on port 8081
    • Agora application is started on port 3000
  3. Your default browser should open and display the sample application. Note: In some cases, you may need to open a browser and enter http://localhost:8080 as the URL.

Contact Us

  • You can find Symbl's full API documentation at Document Center
  • For potential issues with agora, take a look at our FAQ first
  • If you encounter problems during integration, you can ask questions in our Slack Developer Community

License

The MIT License (MIT)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published