MinaFa
MinaFa

Reputation: 257

How to test video calling with react-native-webrtc

I'm following this example https://github.com/jdmg94/react-native-webrtc-example/blob/master/App.js to implement video call. but since only one device at a time can be connected via react native development server, how can I test the process??

Upvotes: 1

Views: 1136

Answers (2)

Dieng
Dieng

Reputation: 1

You can use two devices connected via USB.

To check if the phones are recognized by your PC, use the following command:

adb devices

Once confirmed, run your React Native application in a different terminal for each device with the following command:

react-native run-android --deviceId <your_device_id>

Upvotes: 0

Kimberlee Johnson
Kimberlee Johnson

Reputation: 196

We've had luck testing WebRTC apps with automated WebDriver instances at Daily.

https://www.daily.co/blog/how-to-make-a-headless-robot-to-test-webrtc-in-your-daily-app/

Upvotes: 2

Related Questions