react-native-webrtc-server icon indicating copy to clipboard operation
react-native-webrtc-server copied to clipboard

Signalling server doesn't work with app.

Open dhawaldev opened this issue 7 years ago • 2 comments

As mentioned in your documentation for react-native-webrtc (shown below).

oney

I have created a new server on heroku and used it as a signaling server for my app. This works fine for browser to browser, but doesn't connect to the app.

dhawaldev avatar May 17 '18 11:05 dhawaldev

I am also stuck at the same problem.. did you find the solution ?

awesomesince96 avatar Jul 13 '18 10:07 awesomesince96

This is probably caused by port 4443:

When doing socket = io.connect('https://example.com', {transports: ['websocket']}); socket.io tries to connect to port 443.

After changing the line to: socket = io.connect('https://example.com:4443', {transports: ['websocket']}); to connection was successfully established

delpes avatar Jul 26 '18 15:07 delpes