This project implements a simple video-chat application to show how to use icebreaker.io.
icebreaker.io enables peer-to-peer real-time communications, using WebRTC technology. It is built on top of socket.io, and it basically allows two peers to resolve how to connect over the internet and start an RTCPeerConnection. It consists in:
- a Node.js signaling server
- a Javascript client library for the browser
-
You will need to install npm. Follow the instructions described in this article from the npm blog.
-
Clone this repository and navigate to the created folder.
-
Install the dependencies with
npm install
. -
Start the application with
npm run dev
.
After following these steps you are all set. You should see the following messages in your console:
>>>>> Server listening on port: 8081
>>>>> Access website through https://localhost:8081
If you open the url https://localhost:8081
in your browser, you should view the application: