27 Commits

Author SHA1 Message Date
David Zhao 57a13f9930 fix synchronization issues, use AtomicFlag/atomic.Value for shared fields 2021-01-29 00:49:32 -08:00
David Zhao 940b96168d fix client publishing protocol 2021-01-26 23:52:04 -08:00
David Zhao a065a01592 fixed panic when client connected abruptly 2021-01-26 17:38:47 -08:00
David Zhao c04fd86f9c multi-node integration tests 2021-01-19 20:34:11 -08:00
David Zhao 834a4747ac refactor bearer token on the client side 2021-01-18 13:27:01 -08:00
David Zhao 9064f6ade1 decouple websocket and RTC nodes, prep for distributed 2021-01-16 10:37:38 -08:00
David Zhao 9a10a57b30 single publisher integration test 2021-01-13 17:38:40 -08:00
David Zhao 233306d83a basic integration test 2021-01-13 13:41:34 -08:00
David Zhao 09e5a37c75 refactoring to prep for integration tests 2021-01-13 00:04:36 -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 0336e9d92f tests for MediaTrack, moving interfaces to new package 2020-12-31 23:24:45 -08:00
David Zhao 684099d653 slight refactoring, WS sends periodic ping 2020-12-20 16:13:12 -08:00
David Zhao 2665026830 use context to detect when channel is properly closed 2020-12-16 00:13:43 -08:00
David Zhao 4c9623bb49 updated cli to v3 2020-12-12 22:07:06 -08:00
David Zhao c401a6fdab ID -> SID 2020-12-04 23:04:24 -08:00
David Zhao c64ecc4603 use full candidateInit, update encoding 2020-12-03 21:58:25 -08:00
David Zhao bca8090b41 correctly send participant updates 2020-12-02 00:53:16 -08:00
David Zhao a6c4db2cb3 refactoring, enabling sending out room updates 2020-12-01 23:32:15 -08:00
David Zhao 1c821853f3 client sends offer after getting room info 2020-11-28 15:08:41 -08:00
David Zhao bea1a87cb8 updated flow, room & participant id created by server 2020-11-28 00:18:34 -08:00
David Zhao e611020824 make reception report public 2020-11-15 22:11:52 -10:00
David Zhao c618f8c42f client consumes provided track 2020-11-13 12:31:01 -08:00
David Zhao 256328c4ff fixed server initiated negotiation 2020-11-11 00:02:37 -08:00
David Zhao 40be24bf60 fixed server not starting receiver 2020-11-10 00:35:04 -08: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