Skip to content

mmailhos/webrtc-messaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebRTC Messaging

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.

chat room

Install & Run

go run signaling/signaling.go

Open the index page in two different tabs. On MacOSX, it would be done like:

open index.html

Simple testing process

  • 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!

References

About

Simple implementation of a p2p chat from web browsers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published