Commit Graph

56 Commits (71b2fc1a6301a6fd3d5bec04d9574b2f5d78b223)

Author SHA1 Message Date
Pontus Alexander 71b2fc1a63 De-Yarnify. 2017-12-10 18:47:04 +01:00
Pontus Alexander 44b411880d Server bootstrap. 2017-12-10 18:47:04 +01:00
Pontus Alexander e3ebee4557 Remove unused random. 2017-12-10 18:44:24 +01:00
Pontus Alexander aae6d547bb Remove SSL support. Not required and will be handled by infra. 2017-12-10 18:39:45 +01:00
Pontus Alexander bb96c54010
Pom/server prototype (#4)
Server prototype
2017-12-10 18:35:24 +01:00
Pontus Persson 31b767afbf Clean up. 2017-12-09 01:04:07 +01:00
Pontus Persson f55c2d0f59 Working API. 2017-12-09 01:04:07 +01:00
Pontus Persson 06b662b4e6 Host/Guest with signal filtering. 2017-12-09 01:04:07 +01:00
Pontus Persson dcbb8b816f Create createHost thing. 2017-12-09 01:04:07 +01:00
Pontus Persson 50e8bd184b Log 2017-12-09 01:04:07 +01:00
Pontus Persson b6c44ee5e8 Reorder. 2017-12-09 01:04:07 +01:00
Pontus Persson 48e40d7690 Async media stream 2017-12-09 01:04:07 +01:00
Pontus Persson fec90e59e9 Yep 2017-12-09 01:04:07 +01:00
Pontus Persson f2e9b46144 Unraveling the timing. 2017-12-09 01:04:07 +01:00
Pontus Persson 5ff20767ce Remove datachannel code. 2017-12-09 01:04:07 +01:00
Pontus Persson 27cf84cdfe Remove unused function. 2017-12-09 01:04:07 +01:00
Pontus Persson 09fbd23a82 Remove global var. 2017-12-09 01:04:07 +01:00
Pontus Persson 6bb2eb65cb Remove global var. 2017-12-09 01:04:07 +01:00
Pontus Persson 740c022f57 Remove unused variable. 2017-12-09 01:04:07 +01:00
Pontus Persson 52ea0d8b74 Remove global datachannel. 2017-12-09 01:04:07 +01:00
Pontus Persson 831fe8fe42 Simplify further. 2017-12-09 01:04:07 +01:00
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