oney / RCTWebRTCDemo

MIT License
215 stars 142 forks source link

Sometimes showing black screen in remoteview #50

Open swaroopa94 opened 7 years ago

swaroopa94 commented 7 years ago

Hi,

I am using your module for video calling. My issue is I am not able to see the remote view sometimes when entering into the room, but sometimes it works fine. this occurs mainly in Android devices some times it crashes also. I have used the Same demo code just changed the design.

Can you tell me why I am getting a black screen in place of remote view.

Thanks in advance.

wumke commented 7 years ago

FYI

I have investigated a similar issue with (native) webrtc, try if you can log all sdp's that are sent and compare them (search for differences when black screen). If I'm remembering correctly it is possible that connection starts before the streams know how to be routed from the stun/turn servers and just try the ip that came with the sdp.