Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avaer/webrtc-example

Example of WebRTC DataChannel chat
https://github.com/avaer/webrtc-example

Last synced: about 2 months ago
JSON representation

Example of WebRTC DataChannel chat

Awesome Lists containing this project

README

        

1. Open 2 tabs of `index.html`, tab `A` and `B`
1. Tab `A`: click `offer` button, copy `offer` to clipboard
1. Tab `B`: paste `offer` from clipboard into `offer` text field, press `enter`, then copy `answer` next to it (still tab `B`) into clipboard
1. Tab `A`: paste `answer` from clipboard into `answer` text field, press `enter`
1. Chat should be working between Tab `A` and `B`