jdmg94 / react-native-webrtc-example

An example app for `react-native-webrtc` using React 0.60 or newer
70 stars 32 forks source link

Remote video is not starting #3

Open oarsoy opened 4 years ago

oarsoy commented 4 years ago

Hello,

I set up the your backend server example (by adding express and SSL support). And, installed the client on 2 different iOS devices.

We tested with 2 different networks, server connection seems working and connection established. However we can't get remote user's video it shows only user's self video.

We have also updated socket server connection like that; const [socket] = useState(io('https://OURSERVER.COM:4000', { transports: ['websocket'], rejectUnauthorized: false, secure: true })); // replace with your host machine's IP or public url

msgtn commented 4 years ago

I am also trying to get this to work. Probing around, it seems that my devices instantly disconnect after startup (socket.on("disconnect"... in index.js is triggered). Can you probe to see if you have a similar issue?

jdmg94 commented 4 years ago

I'm going to update the repo and test again, it seems like react-native-webrtc updated their config and it needs re-visiting

oarsoy commented 4 years ago

I'm going to update the repo and test again, it seems like react-native-webrtc updated their config and it needs re-visiting

Do you have any recommendation for a quick fix?

gabrielpetersson commented 3 years ago

watcher seem to never be sent an initial time? might fix by changing the broadcast emit to watcher instead. @oarsoy

sushilbansal commented 3 years ago

Hi @jdmg94 do you have any further updates. Can you please help :)

minafa96 commented 3 years ago

I'm going to update the repo and test again, it seems like react-native-webrtc updated their config and it needs re-visitingany

Any updates ? @jdmg94

minafa96 commented 3 years ago

watcher seem to never be sent an initial time? might fix by changing the broadcast emit to watcher instead. @oarsoy

Hi, did it work? or do you maybe have any other suggestion? @gabrielpetersson @oarsoy