Please make sure that the development environment meets the following technical requirements:
Please apply for the AppID required to create the engine at ZEGOCLOUD Admin Console.
/App.js file.When you execute the npm install command to install the SDK, and the image download speed from the npm official website is slow, you can execute the npm set registry https://registry.npm.taobao.org/ command to switch it to a local image.
npm install
npx react-native run-android/npx react-native run-ios
We recommend you run your project on a real device. If your app runs successfully, you should hear the sound and see the video captured locally from your device.
To test out the real-time audio and video features, visit the ZEGO Express Web Demo, and enter the same AppID, Server and RoomID to join the same room. If it runs successfully, you should be able to view the video from both the local side and the remote side, and hear the sound from both sides as well.
In audio-only scenarios, no video will be captured and displayed.
