31 Commits

Author SHA1 Message Date
David Zhao f2e31ebdac update ion-sfu to 1.7.8 2021-01-19 20:43:22 -08:00
David Zhao d83a1b1af3 automatically cleanup participant redis data 2021-01-18 17:56:48 -08:00
David Zhao 623f80f2ea update to webrtc v3.0.4 2021-01-18 10:45:50 -08:00
David Zhao 458241d1f1 config rework to handle distributed setup, fixed redis bugs 2021-01-17 17:06:50 -08:00
David Zhao 30e99e8c6b redis based router & roomstore 2021-01-17 00:12:05 -08:00
David Zhao 7dcb88343a binding to buffer and correctly forwarding 2021-01-10 16:18:58 -08:00
David Zhao 258f5add2d protocol update: explicit AddTrack to move negotiation initiation to server side.
In order to avoid race conditions with WebRTC, where either side could initiate an offer when tracks have changes, we'll always initiate them from the SFU side.
2021-01-09 23:40:29 -08:00
David Zhao 804b7cb332 JWT token based auth 2020-12-25 22:31:11 -08:00
David Zhao 8f34bd6086 cleaned up some deps 2020-12-22 23:11:24 -08:00
David Zhao 3518435783 using counterfeiter instead of gomocks, much simpler 2020-12-22 17:26:26 -08:00
David Zhao 202979d346 move to mage for build 2020-12-22 14:37:45 -08:00
David Zhao 2a79bdb678 switch participant to interface 2020-12-21 23:00:48 -08:00
David Zhao c4cb29a3bb use PeerConnection interface to make it easier to mock 2020-12-20 22:57:06 -08:00
David Zhao 684099d653 slight refactoring, WS sends periodic ping 2020-12-20 16:13:12 -08:00
David Zhao ac83bf4c78 subscribe new participant after JOINED, to ensure negotiate requests aren't missed 2020-12-13 23:08:20 -08:00
David Zhao af0c9dfdf0 server back to working, tho only works when client joins first 2020-12-12 23:05:53 -08:00
David Zhao 7d7787590c updated server to webrtc v3 (untested) 2020-12-11 20:15:04 -08:00
David Zhao bea1a87cb8 updated flow, room & participant id created by server 2020-11-28 00:18:34 -08:00
David Zhao dc69dfc0e7 port over existing test cases 2020-11-15 22:22:52 -10:00
David Zhao 408ea3fe22 trackwriter, progress with tester client 2020-11-09 23:38:05 -08:00
David Zhao cba27d164b client and server establishing connections 2020-11-06 23:57:03 -08:00
David Zhao 925d1c653e switch to websockets, remove grpc dependency 2020-11-03 00:20:46 -08:00
David Zhao 36dd195ca3 Converted RTC back to GRPC for server push capability 2020-10-29 01:02:31 -07:00
David Zhao 71d6feedbb peer interfaces and callbacks 2020-10-27 23:41:37 -07:00
David Zhao 6c039bc64f receiver class, imported relevant SFU helpers 2020-10-23 23:01:35 -07:00
David Zhao 71d3a470f5 checkpoint 2020-10-23 00:12:33 -07:00
David Zhao 40c7d902d8 refactored config and room setup 2020-10-15 00:04:16 -07:00
David Zhao 38cc5454da switch to twirp errors, correct RTC port 2020-10-06 23:37:22 -07:00
David Zhao 0d6c0adbdd switched to Twirp for RPC, server skaffold 2020-10-06 23:20:44 -07:00
David Zhao 1de35caf7a checkpoint 2020-10-05 20:31:29 -07:00
David Zhao 3ec7a28625 go mod files 2020-10-03 22:51:12 -07:00