Commit Graph

30 Commits (27cf84cdfe5ce9f48c5111c9e11333d01ace5059)

Author SHA1 Message Date
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 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 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
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 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 27ab13cd63 created repo 2014-09-15 09:01:01 -07:00