
- #Agora video call example how to
- #Agora video call example install
- #Agora video call example zip file
#Agora video call example how to
This section shows you how to prepare, build, and run the sample application.

The application uses channel-x as the channel name by default. A real device is recommended because some simulators have missing functionality or lack the performance necessary to run the sample. Through the above operations, you should be able to make video chat calls between two devices. (iOS simulator does not support cameras, so physical devices should be used instead). Once you see the home screen on your phone (or simulator), click the start call button on the device. Wait a few minutes to build and start the application. If you are building for iOS, open the terminal and execute CD iOS & & pod installĬonnect your device and run NPX react native run Android / NPX react native run IOS to launch the application. Navigate to/ App.tsx, fill in the previously generated App ID into appid: ""
#Agora video call example install
Run npm install to install App dependencies in the extracted directory.
#Agora video call example zip file
Make sure you There is an Agora account, set up a project and generate App ID.ĭownload and unzip the ZIP file from the main branch. You need to install node of LTS version JS and NPM. This is the structure of the application we are building. For more information about Token based authentication in Agora platform, please search the keyword "Token" in the sound network document center and refer to relevant documents. It is recommended that all RTE apps running in the production environment adopt Token authentication. Note: Token authentication is not used in this article. (when prompted to use App ID + certificate, select use App Id only.) Remember your App ID, which will be used to authorize your request when developing the App.


Of course, there is a simple way to do this. In addition, cross platform compatibility must be ensured. To ensure low latency and load balancing, we should also pay attention to managing user event status, which is very cumbersome. In the application of React Native, it is very complicated to add video call function from scratch.
