Commit Graph

35 Commits (b90937f69dc918a2ee109a48aff0b3d152c87fdd)

Author SHA1 Message Date
Pontus Persson b90937f69d Embed ICE in createPeer. 2017-12-09 01:04:07 +01:00
Pontus Persson 344f2c0046 Remove superflous `.catch()`. 2017-12-09 01:04:07 +01:00
Pontus Persson f1bf2bd450 Enclose server message handling. 2017-12-09 01:04:07 +01:00
Pontus Persson 8a282c37c4 Rename start to extendOffer(). 2017-12-09 01:04:07 +01:00
Pontus Persson e89393e6b0 Remove more insanse spaghetti. 2017-12-09 01:04:07 +01:00
Pontus Persson d03297b0a0 peerExchange as null.
Apparently config is not necessary.
2017-12-09 01:04:07 +01:00
Pontus Persson c2357b879a Remove spaghetti. 2017-12-09 01:04:07 +01:00
Pontus Persson 36408ab97b Isolate Setup. 2017-12-09 01:04:07 +01:00
Pontus Persson 5c640fb544 Set up conn in creator function. 2017-12-09 01:04:07 +01:00
Pontus Persson a830d5d39b Rename peer to peer-exchange. 2017-12-09 01:04:07 +01:00
Pontus Persson b450e4255f Decouple PeerExchange. 2017-12-09 01:04:07 +01:00
Pontus Persson ca640e39da Modularize createUUID. 2017-12-09 01:04:07 +01:00
Pontus Persson 3231f4248a Modularize datachannel options. 2017-12-09 01:04:07 +01:00
Pontus Persson 80dc0a51d9 Modularize config. 2017-12-09 01:04:07 +01:00
Pontus Persson 8f411acee6 Serve static files with `node-static`. 2017-12-09 01:04:07 +01:00
Pontus Persson 7bd1bf148b As module. 2017-12-09 01:04:07 +01:00
Pontus Persson d0bd78850e Prefer `.addEventListener()`. 2017-12-09 01:04:07 +01:00
Pontus Persson 2839c87aed DataChannel. 2017-12-09 01:04:07 +01:00
Pontus Persson ca81f496db Use `HTMLMediaElement.srcObject` instead or createObjectURL. 2017-12-09 01:04:07 +01:00
Pontus Persson b845607b7d Add missing vars to prevent auto-globals. 2017-12-08 08:39:10 +01:00
Pontus Persson 47246c19c9 Install jest. 2017-12-08 08:39:10 +01:00
Pontus Persson 2b06e8ee34 Add start script. 2017-12-08 08:39:10 +01:00
Pontus Persson 8b926ba846 NPMify. 2017-12-08 08:39:10 +01:00
shane tully 4f4c071693 fix #16: check if websocket is open before sending data to it 2017-03-11 23:38:14 -08:00
shane tully cae1118be7 update README headings 2016-07-28 23:11:17 -07:00
shane tully e6add86f1d add warning to private key 2016-05-03 01:17:45 -07:00
shane tully 76cac6ea21 fix invalid ICE candidates, migrate to promise-based API, and use secure websockets to make chrome happy 2016-05-03 01:11:19 -07:00
Sergey Aksenov 99ce55ceaf Add support for secured websocket (mandatory in Chrome since version 47) 2016-03-21 13:49:35 +03:00
shane tully 4ed19feb21 fix wrong number of args in setRemoteDescription() 2015-03-29 21:12:24 -07:00
shane tully 8ba12bfea2 add more details about opening example in Chrome to README 2015-03-20 20:19:25 -07:00
shane tully 4b3e724988 remove trailing spaces 2015-03-08 12:56:08 -07:00
shane tully 434b9a77b1 fix firefox complaining about missing args in setRemoteDescription() 2015-01-31 22:29:48 -08:00
shane tully fc8ae5aeda add blog link to README 2014-10-13 00:55:53 -07:00
shane tully fd40b92978 add MIT license text 2014-10-13 00:53:54 -07:00
Shane Tully 27ab13cd63 created repo 2014-09-15 09:01:01 -07:00