This repo implements a simple messaging system accross web browsers using WebRTC to allow direct communications between clients. A third party, the signaling server, is used to let the clients exchange communication information. Then the signaling server is not used anymore during the conversation.
The repo is hosting a simple webchat UI with its client.js and a signaling server made in Go.
Update 12th July 2016: Now available on Opera, Firefox and Chrome.
Update 9th January 2019: rewrote signaling server in a more idiomatic way.
go run signaling/signaling.go
Open the index page in two different tabs. On MacOSX, it would be done like:
open index.html
- Open your browser and access to the chat by opening index.html.
- Open a second tab for easy testing.
- Log in with 'User A'
- Log in with 'User B'
- From 'User A', establish a connection with 'User B'.
- Happy chatting!