Did you look into any of these:
https://www.html5rocks.com/en/tutorials/webrtc/infrastructur... before implementing that one?
https://www.html5rocks.com/en/tutorials/webrtc/infrastructur... before implementing that one?
Their ready-made signaling server suggestions are complete garbage (Signalmaster is buggy and incorrect).