Open GildedHonour opened 9 years ago
You can find some examples (but NOT a tutorial) here:
A signaling server simply requires text or binary data to be exchanged between two users connected to same server.
Assuming that you're having MySQL server running on PHP environment and you're having a table named as "SignalingTable". That table simply need to be having two columns:
1) ID (Primary Key) 2) Data (Text or Binary Data)
First column "ID" can be used inside the browser to make sure duplicate messages aren't received or used.
You can find a similar example here:
Whether it is SIP, XMPP, socket.io or long-polling; you simply need to make sure data from one user is shared reliably/instantly/privately with target/other user.
We can't connect two users who are connected to different servers and they're NOT having any single common medium to exchange the "data".
I'm looking for the pointers of how to build my own signaling server. I've found a single example (https://shanetully.com/2014/09/a-dead-simple-webrtc-example/) but it didn't work for some reason. Is there any decent tutorial or code?