Facilitate a webrtc connection using Firebase.
Uses simple-peer, which is a very nice WebRTC wrapper library.
Setup:
- install nodejs
- install yarn
cd firebase_webrtc_handshake
- install dependencies
yarn install
- try some of the tests from chrome
- for example: go to http://localhost/~hansolo/firebase_webrtc_handshake/tests/testPeerJS.html
Building:
- TODO make this better
- yarn build
Usage Examples:
- Look in the tests directory for in depth usage examples
- Streams
- Simple Data Channel
- More Complicated Data Channel