Search code examples
webrtc

How can I implement own webrtc server in my project?


I want to implement webrtc server in my project. I want to make my own webrtc server and deploy it in amazon server. How can I achieve this?


Solution

  • @Adrian Ber is correct, you need a signalling server such as this one:

    https://github.com/peers/peerjs-server

    You can set one of these up on AWS

    You'll also need some code on the client side. There is a matching javascript client library (which does most of the work) here: http://peerjs.com/

    There are some examples on the peerjs web site - they either need to be run on your local machine or on https servers (browsers will no longer allow camera access over http)