For AI agents: see the complete documentation index at /llms.txt.
Compile and run a sample project
Updated
Compile and run a project using Agora SDK
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK Android sample project.
Prerequisites
-
Android Studio 4.2 or higher.
-
Android SDK API Level 21 or higher.
-
Two mobile devices running Android 5.0 or higher.
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
Run the following command to clone the repository locally:
git clone git@github.com:AgoraIO/API-Examples.gitThis repository contains sample projects for all native platforms of Agora Video SDK. The API usage examples for Android are located under /Android.
| Path | Description |
|---|---|
/Android/APIExample | API usage examples of Agora Video SDK. |
/Android/APIExample-Audio | API usage examples of Agora Voice SDK. |
Configure the sample project
This page refers to the video sample project. If you want to run the audio sample project, please refer to the following steps and operate in the audio folder.
- Integrate the SDK and install dependencies
The /APIExample/app/build.gradle file contains the project dependencies. When you open the project in Android Studio, it automatically downloads the dependencies and integrates the SDK.
- Set App ID and app certificate
Open the /APIExample/app/src/main/res/values/string-config.xml file and fill in the App ID and app certificate you obtained from the Agora Console.
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
Agora App ID
-->
<string name="agora_app_id" translatable="false">Your App ID</string>
<!--
Agora app certificate
Note: Leave this field empty if the project allows joining by App ID only.
-->
<string name="agora_app_certificate" translatable="false">Your app certificate</string>
</resources>Run the sample project
-
Open the
/API-Examples/Android/APIExamplefolder in Android Studio. -
Turn on developer options on your Android device, enable USB debugging, and connect the device to the development machine through a USB cable. Your Android device appears in the Android device options.
-
In Android Studio, click Sync Project with Gradle Files for Gradle synchronization.
-
After synchronization is complete, click Run 'app' to start compilation.
The app is installed as Agora API Example on your device.
-
Open the app and choose the example you want to run. For example, to test Live Interactive Video Streaming, select the option from the menu, enter the channel name, and click Join.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same app ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK iOS sample project.
Prerequisites
-
Xcode 13.0 or higher.
-
An Apple developer account.
-
If you need to use CocoaPods integrated SDK, make sure CocoaPods is installed.
-
Two devices running iOS 14.0 or higher.
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
You can obtain the sample project using the following methods:
-
Go to the SDKs page, download the latest version of the Agora Video SDK, and unzip it.
-
Run the following command to clone the Github repository locally:
git clone git@github.com:AgoraIO/API-Examples.gitThis repository contains sample projects for all native platforms of Agora Video SDK. The examples for iOS are located under
/iOS.Path Description /iOS/APIExampleAPI usage examples for Agora Video SDK. /iOS/APIExample-AudioAPI usage examples for Agora Voice SDK.
Configure the sample project
This page refers to the video sample project. If you want to run the audio sample project, refer to the following steps and operate in the audio folder.
-
Open the
samples/APIExample/APIExample/Common/KeyCenter.swiftfile and fill in the App ID and App certificate you obtained from the Agora Console.class KeyCenter: NSObject { // Replace <#Your App ID#> with your App ID static let AppId: String = "<#Your App ID#>" // Replace #Your certificate# with your App certificate. Leave this field blank if the project allows joining with the App ID only. static let Certificate: String? = "<#Your certificate#>" } -
Open terminal and run
pod installin thesamples/API-Examplefolder to install the SDK and related dependencies. After the installation is complete, the terminal displays 'Pod installation complete!'.
Run the sample project
-
Connect an iOS device to your development machine, open Device > Privacy & Security > Security on the device, and turn on the developer mode.
-
Check your iOS device in the iOS Device options at the top of the Xcode interface.
-
Check Automatically manage signing in Signing & Capabilities under TARGETS, then configure your Apple developer account and Bundle Identifier under each target.
-
Click Start compiling.
-
After successful compilation, you see the app icon on your device.
-
If an untrusted developer prompt pops up on the device, first tap Cancel to close the prompt, then open Settings > General > VPN and Device Management on the iOS device, and choose to trust the developer.
-
Open the API Example App, select an example you want to try, then enter the channel name. For example, test, and tap Join Channel.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same app ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK macOS sample project.
Prerequisites
-
Xcode 13.0 or higher.
-
An Apple developer account.
-
If you need to use CocoaPods integrated SDK, make sure CocoaPods is installed.
-
Two devices running macOS 10.10 or higher.
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
You can obtain the sample project using the following methods:
-
Go to the SDKs page, download the latest version of the Agora Video SDK, and unzip it.
-
Run the following command to clone the Github repository locally:
git clone git@github.com:AgoraIO/API-Examples.gitThis repository contains sample projects for all native platforms of Agora Video SDK. The API usage examples for macOS are located under
/macOS.
Configure the sample project
- Set your App ID and App certificate
Open the KeyCenter.swift file and fill in the App ID and App certificate you obtained from the Agora Console.
struct KeyCenter {
// Replace <#Your App ID#> with your App ID
static let AppId: String = "<#Your App ID#>"
// Replace #Your certificate# with your App certificate. Leave this field blank if the project allows joining with the App ID only
static let Certificate: String? = "<#Your certificate#>"
}- Open a terminal and run
pod installin the/macOSdirectory, to install project dependencies. After the installation is complete, the terminal displaysPod installation complete!. A fileAPIExample.xcworkspaceis generated in the project folder.
Run the sample project
-
Open the file
APIExample.xcworkspacein Xcode. Check Automatically manage signing in Signing & Capabilities under TARGETS, and then configure your Apple developer account and Bundle Identifier under each target. -
Click Start compiling.
-
After successful compilation, the sample project window pops up.
-
Select an example you want to try, then enter a channel name, such as test, and click the Join Channel.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same app ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK Web sample project.
Prerequisites
-
A supported browser. Agora strongly recommends using the latest stable version of Google Chrome.
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
Obtain the sample project using one of the following methods:
-
Go to the SDKs page, download the latest version of Video SDK, and unzip it.
-
Run the following commands to clone the GitHub repository locally:
git clone https://github.com/AgoraIO/API-Examples-Web cd API-Examples-Web git checkout new
The API-Examples-Web repository provides the following examples:
| Description | Path |
|---|---|
| Basic examples | /src/example/basic |
| Advanced examples | /src/example/advanced |
| Plug-in examples | /src/example/plugin |
| Other examples | /src/example/others |
| Vue framework example | /src/example/framework/vue |
| React framework example | /src/example/framework/react |
Configure the sample project
- Install dependencies
In the project root folder, run the following command to install the dependencies:
npm install-
To launch the project, run the following command in the project root folder:
npm run dev
After execution is complete, the terminal displays the URL to launch the demo.
- Set App ID and temporary Token
Open http://localhost:3001/index.html in your browser , fill in the App ID and App certificate you obtained from the Agora console, and then click Set. Both primary and secondary certificates are acceptable.
If you have enabled joining with only the App ID for your project, leave the App certificate field blank.
Run the sample project
-
From the menu, choose the feature or use-case you want to experience.
-
As an example, try the screen sharing demo, click Join as host to join a channel as the host. Ask a friend to run the sample project on another device and Join as audience, using the same app ID, app certificate, and channel name. Now you can share the screen with your friend.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK Windows sample project.
Prerequisites
-
A device running Windows 7 or higher.
-
Microsoft Visual Studio 2017 or higher with C++ desktop development support. C++ 11 or above.
-
If you use C# for development, you also need the .NET framework.
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
-
Run the following command to clone the repository locally:
git clone git@github.com:AgoraIO/API-Examples.git
This repository contains sample projects for all native platforms of Agora Video SDK. The API usage examples for Windows are located under /windows.
- Integrate SDK and install dependencies
Run /APIExample/installThirdParty.bat to automatically integrate the SDK, download dependencies, and configure the environment.
- Set App ID and Token
Open the /APIExample/APIExample/stdafx.h file and fill in the App ID and temporary token you obtained from the Agora Console.
#define APP_ID "enter your App ID"
#define APP_TOKEN "enter your temporary token"Run the sample project
-
Open the file
/APIExample/APIExample.slnin Visual Studio. -
Click Start compiling.
-
After compilation is complete, you see the following window on your device:
-
Choose any demo you want to experience. Taking the Live Broadcasting as an example, enter the channel name you used when generating the temporary token in Channel Name, then click Join Channel.
-
To test various audio and video interaction use-cases, use the Agora web demo, or install and run the sample project on a second device. Make sure you use the same app ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK Electron sample project.
Prerequisites
-
Node.js 14 or higher.
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
-
Yarn package management tool
-
Python 3.11.x
Project setup
Get the sample project
Run the following command to clone the repository locally:
git clone git@github.com:AgoraIO-Extensions/Electron-SDK.gitThis repository contains sample projects for Agora Electron Video SDK:
| Description | Path |
|---|---|
| Basic functions | /example/src/renderer/examples/basic |
| Advanced features | /example/src/renderer/examples/advanced |
| Hook example | /example/src/renderer/examples/hook |
Configure the sample project
- Install dependencies
Switch to the /example directory and run the following commands to integrate the SDK and install dependencies:
yarnRun the sample project
-
To run the sample project, execute the following command in the
/exampledirectory:yarn start -
After the operation is complete, you see the following application on your screen:
-
On the Settings page, fill in the App Id and temporary token you obtained from the Console. Fill in the same channel name you used when generating the temporary token. Click Save to save your settings.
-
Select a demo you want to experience from the menu on the left. Choose JoinChannelVideo, under Basic, as an example and click join channel.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same app ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK Flutter sample project.
Prerequisites
- Flutter 2.10.5 or higher with Dart 2.14.0 or higher.
- Android Studio, IntelliJ, VS Code, or any other IDE that supports Flutter. See Set up an editor.
- Prepare your development and testing environment according to your target platform.
Run the flutter doctor command to confirm that your development environment is set up correctly for Flutter development.
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
Run the following command to clone the repository locally:
git clone git@github.com:AgoraIO-Extensions/Agora-Flutter-SDK.gitThis repository contains the following sample projects for Agora Flutter Video SDK:
| Description | Path |
|---|---|
| Basic functions | /example/lib/examples/basic |
| Advanced features | /example/lib/examples/advanced |
Configure the sample project
- Install dependencies
In the project root directory, run the following command to install the dependencies:
flutter pub get- Set the App ID and Token
Open the /example/lib/config/agora.config.dart file, fill in the defaultValue for the App ID, channel name, and temporary token you obtained from Agora Console.
String get appId {
return '<TEST_APP_ID>';
}
String get token {
return '<TEST_TOKEN>';
}
String get channelId {
return '<TEST_CHANNEL_ID>';
}Run the sample project
-
Connect the target device to your computer.
-
Open terminal and navigate to the
/examplesdirectory. -
Execute the following command to launch the sample project on available devices:
flutter run -
After compilation is complete, you see the following application on your device:
-
Select a demo you want to experience from the menu. Choose JoinChannelVideo under Basic as an example. Enter the channel name you specified when generating the temporary token in Channel ID, and click Join channel.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same app ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK React Native sample project.
Prerequisites
- React Native 0.60 or later. For more information, see Get Started with React Native.
- Node 16 or later
For your target platform, prepare the following:
- A machine running macOS, Windows, or Linux
- Java Development Kit (JDK) 11 or later
- Latest version of Android Studio
- A physical or virtual mobile device running Android 5.0 or later
- A machine running macOS
- Xcode 10 or later
- CocoaPods
- A physical or virtual mobile device running iOS 9.0 or later. If you use React Native 0.63 or later, ensure your iOS version is 10.0 or later.
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
Run the following command to clone the repository locally:
git clone git@github.com:AgoraIO-Extensions/react-native-agora.gitThis repository contains sample projects for Agora Video SDK:
| Description | Path |
|---|---|
| Basic functions | /example/src/examples/basic |
| Advanced features | /example/src/examples/advanced |
| Hook example | /example/src/examples/hook |
Configure the sample project
- Install dependencies
Switch to the root directory and run the following commands to integrate the SDK and install dependencies:
yarn- Set your App ID and App Token
Open the /example/src/config/agora.config.ts file and fill in the App ID and temporary token you obtained from the Agora Console.
// Agora App ID
let localAppId = '';
try {
localAppId = require('./appID').default;
console.log('appID', localAppId);
} catch (error) {
console.warn(error);
}
const config = {
appId: localAppId,
// Agora app token
token: '',
// Agora channel ID
channelId: 'test',
uid: 0,
logFilePath: '',
};
export default config;Run the sample project
-
Execute the following command in the project root directory to run the sample project.
-
Target platform Android
yarn example android -
Target platform iOS
yarn example ios
-
-
After the operation is complete, the following application appears on your device:
Showing Android as an example
-
Select the demo you want to experience from the menu. Choose JoinChannelVideo under Basic as an example, and click join channel.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same app ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK ReactJS sample project.
Prerequisites
-
A JavaScript package manager such as npm.
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
Run the following command to clone the GitHub repository locally:
git clone https://github.com/AgoraIO/API-Examples-WebThe GitHub examples repository provides the following projects:
| Description | Path |
|---|---|
| Feature demos | /Demo |
| Extension demos | /ExtensionDemo |
| Vue framework examples | /vue/api-examples |
| React framework examples | /react/api-examples |
Configure the sample project
Navigate to /react/api-examples and run the following command to install the dependencies.
npm installRun the sample project
-
Use the following command to run the sample project.
npm run dev -
On the demo page, enter your App ID, token, and channel name and join the channel.
The channel name must be the same as the channel ID you used to generate the token.
Agora provides [Open-source sample projects on GitHub](https:// github .com/ AgoraIO-Extensions /Agora-Unity-Quickstart/tree/main/API-Example-Unity) to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK Unity sample project.
Prerequisites
-
Unity Hub and Unity Editor 2018.4.0 or higher
-
A suitable operating system and compiler for your development platform:
Development platform Operating system version Compiler version Android Android 4.1 or later Android Studio 4.1 or later iOS iOS 10.15 or later Xcode 9.0 or later macOS macOS 10.15 or later Xcode 9.0 or later Windows Windows 7 or later Microsoft Visual Studio 2017 or later -
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
Obtain the sample project using one of the following methods:
-
Go to the SDKs page, download the latest version of the Video SDK, and unzip it. You see a
.unitypackagefile.Open the
.unitypackagefile. An Import Unity Package window pops up. Click Import to import the SDK into your project. After the import is complete, you see theAgora-RTC-PLUGINfolder in the project panel. -
Run the following command to clone the repository locally:
git clone https://github.com/AgoraIO-Extensions/Agora-Unity-Quickstart.git cd Agora-Unity-Quickstart/API-Example-Unity
Configure the sample project
In Agora-RTC-PLUGIN/API-Example/AppIdInput.asset, fill in the App ID, temporary token, and channel name you obtained from the Agora Console.
Run the sample project
-
The
API-Examplefolder contains two folders,BasicandAdvanced, that contain usage examples of basic and advanced use-cases of Agora SDK. Select the demo you want to run and click Play to compile. -
Choose video calls as an example. After successful compilation, you see your local video preview.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same app ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK Unreal Engine sample project.
Prerequisites
-
Unreal Engine 4.27 or higher
-
Prepare your development environment according to your target platform and engine version:
Dev environment requirements Other requirements Android - iOS A valid Apple developer signature. macOS A valid Apple developer signature. Windows 32-bit Windows only supports Unreal Engine 4 and below. To use Unreal Engine with 32-bit Windows, uncomment the code relating to Win32in theAgoraPluginLibrary.Build.csfile. -
Two physical devices for testing
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
-
Run the following command to clone the repository locally:
git clone git@github.com:AgoraIO-Extensions/Agora-Unreal-RTC-SDK.git -
The C++ API usage examples are located in
/Agora-Unreal-SDK-CPP-Example. These include:
| Description | Path |
|---|---|
| Basic API examples | /Agora-Unreal-SDK-CPP-Example/Content/API-Example/Basic |
| Advanced API examples | /Agora-Unreal-SDK-CPP-Example/Content/API-Example/Advance |
Configure the sample project
Refer to the following steps to integrate the SDK:
- Go to SDKs to download the latest version of the Video SDK and unzip it.
- In
/Agora-Unreal-SDK-CPP-Example, create a folder namedPlugins. - Copy
AgoraPluginfrom the SDK folder toPlugins.
Run the sample project
In the Unreal Editor, you can compile and run the sample project at the main level or any sublevel.
Main Level
-
In the C++ API example folder, double-click
AgoraExample.uprojectto open the project. -
Double-click MainLevel, then click Compile and Run the sample project. On Windows, you see the following interface:
-
Fill in the text box with the App ID and temporary token you obtained from the Agora Console, and the channel name you used to generate the token.
-
Click the button on the left to navigate from the main level to the sub-levels of the API example to experience the selected demo. Choose BasicVideoCallScene as an example, click JoinChannel to join the channel. You see yourself in the local view.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same App ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Sub Level
-
In the C++ API example folder, double-click
AgoraExample.uprojectto open the project. -
Choose BasicVideoCallScene as an example, double-click the sub-level in the Content Browser, and then click the BP_AgoraActor blueprint in the World Outliner panel. Fill in the App ID, temporary token, and channel name of your project in the Details panel.
-
Click Compile and run the sample project at the sublevel. You see the following interface:
-
Click JoinChannel to join the channel. You see yourself in the local view.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same App ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Agora provides Open-source sample projects on GitHub to demonstrate the implementation of basic and advanced Video SDK features.
This page shows how to compile, configure, and run the Video SDK Unreal (Blueprint) sample project.
Prerequisites
-
Unreal Engine 4.27 or higher
-
Prepare your development environment according to your target platform and engine version:
Dev environment requirements Other requirements Android - iOS A valid Apple developer signature. macOS A valid Apple developer signature. Windows 32-bit Windows only supports Unreal Engine 4 and below. To use Unreal Engine with 32-bit Windows, uncomment the code relating to Win32in theAgoraPluginLibrary.Build.csfile. -
Two physical devices for testing
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
Project setup
Get the sample project
-
Run the following command to clone the repository locally:
git clone git@github.com:AgoraIO-Extensions/Agora-Unreal-RTC-SDK.git -
The Blueprint usage examples are located in
/Agora-Unreal-SDK-Blueprint-Example. These include:
| Description | Path |
|---|---|
| Basic API examples | /Agora-Unreal-SDK-Blueprint-Example/Content/API-Example/Basic |
| Advanced API examples | /Agora-Unreal-SDK-Blueprint-Example/Content/API-Example/Advance |
Configure the sample project
Refer to the following steps to integrate the SDK:
- Go to SDKs to download the latest version of the Video SDK and unzip it.
- In
/Agora-Unreal-SDK-Blueprint-Example, create a folder namedPlugins. - Copy
AgoraPluginfrom the SDK folder toPlugins.
Run the sample project
In the Unreal Editor, you can compile and run the sample project at the main level or any sublevel.
Main Level
-
In the path of the Blueprint API example, double-click AgoraBPExample.uproject to open the project.
-
Double-click MainLevel, then click Compile and run the sample project. You see the following interface:
-
Fill in the text box with the App ID and temporary token you obtained from the Agora Console, and the channel name you used to generate the token.
-
Click the button on the left to navigate from the main level to the sub-levels of the API example to experience the selected demo. Choose
BasicVideoCallSceneas an example, click JoinChannel to join the channel. You see yourself in the local view. -
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same App ID on both devices. When you join the same channel from two devices, you can see and hear each other.
Sub Level
-
In the path of the Blueprint API example,, double-click AgoraBPExample.uproject to open the project.
-
Choose BasicVideoCallScene as an example, double-click the sub-level in the Content Browser, and then click Blueprints > Open Level Blueprint above the editor to open the corresponding level blueprint.
-
Fill in the App ID, temporary token, and channel name of your project.
-
Click Compile and run the sample project at the sublevel. You see the following interface:
-
Click JoinChannel to join the channel. You see yourself in the local view.
-
To test various audio and video interaction use-cases, connect to the Agora web demo, or install and run the sample project on a second device. Make sure you use the same App ID on both devices. When you join the same channel from two devices, you can see and hear each other.
This page shows how to compile, configure, and run the Video SDK Python sample project.
Prerequisites
-
A camera and a microphone
-
A valid Agora account and project. Please refer to Agora account management for details.
-
Installed Git
