https://github.com/ekaansharora/agora-rn-audio-broadcast
https://github.com/ekaansharora/agora-rn-audio-broadcast
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ekaansharora/agora-rn-audio-broadcast
- Owner: EkaanshArora
- Created: 2021-01-23T18:41:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-12T16:05:56.000Z (over 4 years ago)
- Last Synced: 2025-04-23T23:14:19.706Z (22 days ago)
- Language: TypeScript
- Size: 275 KB
- Stars: 10
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Agora React Native Audio Broadcasting
Quickstart for voice/audio live-broadcasting on react-native using Agora.io SDK.
Use this guide to quickly start a multiple user live broadcast.## Prerequisites
* '>= react native 0.60.x'
* iOS SDK 8.0+ (and a recent version of XCode and cocoapods)
* Android 5.0+ x86 arm64 armv7a
* A valid Agora account ([Sign up](https://dashboard.agora.io/) for free)Open the specified ports in Firewall Requirements if your network has a firewall.## Running this example project
### Generate an App ID
In the next step, you need to use the App ID of your project. Follow these steps to [create an Agora project](https://docs.agora.io/en/Agora%20Platform/manage_projects?platform=All%20Platforms) in Console and get an [App ID](https://docs.agora.io/en/Agora%20Platform/terms?platform=All%20Platforms#a-nameappidaapp-id ).
1. Go to [Console](https://dashboard.agora.io/) and click the **[Project Management](https://dashboard.agora.io/projects)** icon on the left navigation panel.
2. Click **Create** and follow the on-screen instructions to set the project name, choose an authentication mechanism (for this project select App ID without a certificate), and Click **Submit**.
3. On the **Project Management** page, find the **App ID** of your project.### Steps to run our example
* Download and extract the zip file from the master branch.
* Run npm install or use yarn to install the app dependencies in the unzipped directory.
* Navigate to `./src/App.tsx` and edit line 48 to enter your App ID that we generated.
* Connect your device and run `react-native run-android` / `react-native run-ios` to start the app.The app uses `channel-x` as the channel name.
## Sources
* Agora [API doc](https://docs.agora.io/en/)