DEV Community

Cover image for How to Build a WebRTC React Native App Free

How to Build a WebRTC React Native App Free

Ahmed Bhesaniya on January 23, 2023

In this tutorial, we will learn the fundamentals of WebRTC to build a React Native video calling application that can be implemented on iOS & A...
Collapse
 
jadhav_6409 profile image
Vaibhav Jadhav

Hi
i create this app an run device will be connected each other but *remoteStream * is getting null thats why other users video will be not showing πŸ˜ΆπŸ˜•

Collapse
 
blitsdoe_b101b26c48bee3b5 profile image
blitsdoe

Do u have any solution ?

Collapse
 
blitsdoe_b101b26c48bee3b5 profile image
blitsdoe

I get same output i only see my screen
Image description

Thread Thread
 
vishnu_maurya_de3c66a24a6 profile image
vishnu maurya

make sure you are passing the correct callerID to the backend and check once and will work fine.
I have setup all the things and working fine.

Thread Thread
 
blitsdoe_b101b26c48bee3b5 profile image
blitsdoe

Did you change anything on the Client application? or u just change on the server side?

Thread Thread
 
vishnu_maurya_de3c66a24a6 profile image
vishnu maurya

changes in client side may be your ref is not containing the callerID. and check are you getting the callerId on backend side?

Collapse
 
usamawizard profile image
USAMA

I have also being using a media server called Ant Media which provide me an easy way of building a SFU and MCU type conference they also have very easy to integrate SDKs for Flutter ,IOS, Android ,React Native as well.

Collapse
 
victor_mongi_030f8f6cfe5b profile image
Victor Mongi

Hello thank you for sharing, I follow this tutorial works on iphone but when try to android,
call iphone there is no sound, the camera/video is running well except the audio (ios->android),
but when use ios->ios it works. is there any settings in android side? anw, all permission are granted.
Thank you

Collapse
 
vishnu_maurya_de3c66a24a6 profile image
vishnu maurya

this is the same problem i am facing but some time i am getting both audio but most of the time only one audio but video is fine.
If you get anything related to this please let me know.

Collapse
 
justlyjustice profile image
Justice Johnson

Hi.
I tried mine but after answering the call the device from whence I initiated the call does not join the WebRTCRoom.

Image description

Collapse
 
blitsdoe_b101b26c48bee3b5 profile image
blitsdoe

Image description

i only see my screen can somebody help

Collapse
 
jahagir_sd_7b358881105ec9 profile image
Jahagir SD

Hi,

I've developed a one-on-one video call app using WebRTC, and the connection works as expected, with the connection state showing as "connected." However, I'm facing audio issues: when both users have their microphones unmuted, the audio picks up unwanted background noise and glitches while one user is speaking. When one user mutes their microphone, the audio works perfectly. How can I resolve this issue when both microphones are unmuted?

Collapse
 
testbhai profile image
Test

This is showing only user side screen, not the remote stream, and also the remote stream is come null, brother Can you please help me out of this situation?

Collapse
 
masum_billah_11e189d59d8b profile image
masum billah

how to incomming call display when my app is closed?

Collapse
 
corasphinx profile image
corasphinx

I have clone and run but remoteStream is null.
It's just only BLACK screen.

Collapse
 
kadirprog profile image
Kadir-prog

hi kindly please share git repo with us

Collapse
 
wxrhead profile image
Maheep Singh

Hi , can you please provide the repository ? It will be very very helpful.