Commit Graph

176 Commits

Author SHA1 Message Date
Miroslav Šedivý
5101f0a9c3 fix logs. 2021-03-14 00:12:32 +01:00
Miroslav Šedivý
fb2078e1ff member -> session. 2021-03-14 00:05:31 +01:00
Miroslav Šedivý
fa687480a9 member events -> session events. 2021-03-13 23:48:07 +01:00
Miroslav Šedivý
dafebc79e5 memberState -> sessionState. 2021-03-13 23:42:16 +01:00
Miroslav Šedivý
b03a730c84 memberId to sessionId. 2021-03-13 23:32:10 +01:00
Miroslav Šedivý
d83e04e7ec fix logs, unified session_id. 2021-03-13 23:27:28 +01:00
Miroslav Šedivý
a6b66e4d55 OnHostChanged event. 2021-03-13 21:37:00 +01:00
Miroslav Šedivý
3aea0c7bf5 remove members from session. 2021-03-13 21:11:48 +01:00
Miroslav Šedivý
58b00525cc refactor authenticate to use Token. 2021-03-13 20:42:56 +01:00
Miroslav Šedivý
0aa1237df9 change pingPeriod to 10s. 2021-03-03 18:35:58 +01:00
Miroslav Šedivý
2ac3f9876f audio start / stop in WebRTC. 2021-02-14 18:16:24 +01:00
Miroslav Šedivý
2b693f4e52 fix naming convention. 2021-02-14 17:11:21 +01:00
Miroslav Šedivý
45679f1b86 format Go source code. 2021-02-14 14:40:17 +01:00
Miroslav Šedivý
c9b2c93fb8 cursor image/position from WebRTC. 2021-02-13 18:25:40 +01:00
Miroslav Šedivý
f22922191a broadcast cursor position via WebSockets. 2021-02-11 18:36:27 +01:00
Miroslav Šedivý
626164df89 SignalVideo reply. 2021-02-07 17:29:40 +01:00
Miroslav Šedivý
dd2ca03955 choose video with CreatePeer. 2021-02-07 17:07:55 +01:00
Miroslav Šedivý
5cdb6e074e send video IDs with signal provide. 2021-02-07 16:52:30 +01:00
Miroslav Šedivý
eb88c8dc62 independent tracks for users & stream switching. 2021-02-06 18:16:24 +01:00
Miroslav Šedivý
6756114e30 replace video track on demand. 2021-02-05 20:35:30 +01:00
Miroslav Šedivý
c81bca9b2f session GetWebRTCPeer. 2021-02-05 18:14:45 +01:00
Miroslav Šedivý
36b7eca43c name confusion Enabled -> Started. 2021-02-05 14:03:53 +01:00
Miroslav Šedivý
cae8201908 add Trickle ICE support. 2021-02-02 20:43:33 +01:00
Miroslav Šedivý
ace7b254a3 split webrtc ConnectPeer function. 2021-02-02 19:21:48 +01:00
Miroslav Šedivý
91f1727723 lint remove whitespaces. 2021-02-02 18:28:32 +01:00
Miroslav Šedivý
b420841f9d no clipboard content bug. 2021-02-01 12:23:37 +01:00
Miroslav Šedivý
6d59b3feff session handler with cookies. 2021-01-29 22:22:14 +01:00
Miroslav Šedivý
546cd608c3 join plain text and rich text to one struct. 2021-01-29 20:05:13 +01:00
Miroslav Šedivý
2d11b4fa56 xclip multiple clipboard content types. 2021-01-28 22:51:55 +01:00
Miroslav Šedivý
11e74459ac replace libclipboard with xclip. 2021-01-28 21:12:35 +01:00
Miroslav Šedivý
8e13a60677 send unicast & broadcast. 2021-01-28 15:56:50 +01:00
Miroslav Šedivý
d30d6deb79 add CORS. 2021-01-23 18:18:14 +01:00
Miroslav Šedivý
407853eeb1 decouple BroadcastManager from CaptureManager. 2021-01-22 14:09:47 +01:00
Miroslav Šedivý
64dd31844b filechooser websocket handler. 2021-01-20 23:48:50 +01:00
Miroslav Šedivý
d4e0287eb5 file chooser dialog events implementation. 2021-01-19 21:01:31 +01:00
Miroslav Šedivý
3bbe3781c8 set screen size using struct. 2021-01-15 17:30:19 +01:00
Miroslav Šedivý
0e09609c67 KeyboardLayout to KeyboardMap. 2021-01-15 16:53:03 +01:00
Miroslav Šedivý
71dbdc06f5 add layout variant. 2021-01-12 23:52:44 +01:00
Miroslav Šedivý
7f18c5842d changing keyboard layout as go exec. 2021-01-12 23:48:15 +01:00
Miroslav Šedivý
a0d8f1b880 xorg modifiers refactor. 2021-01-12 22:54:13 +01:00
Miroslav Šedivý
49c3b6d4fe xevent: OnWindowCreated. 2021-01-12 00:09:43 +01:00
Miroslav Šedivý
a2ca3727fe xevent to update clipboard. 2021-01-11 15:30:53 +01:00
Miroslav Šedivý
910f0af995 xevent cursor change. 2021-01-10 15:58:17 +01:00
Miroslav Šedivý
a7d4511037 cursor Image on connect. 2021-01-10 12:42:07 +01:00
Miroslav Šedivý
589628f6ca cursor image as WS event. 2021-01-10 12:37:32 +01:00
Miroslav Šedivý
9782b8391d cursor updates to client (WIP). 2021-01-09 23:01:39 +01:00
Miroslav Šedivý
b197bb303e add support for modules. 2020-12-12 18:37:19 +01:00
Miroslav Šedivý
5b69413e01 AddHandler in WebSockets. 2020-12-12 17:40:10 +01:00
Miroslav Šedivý
7fb40c0384 + GetProfile & GetState members. 2020-12-08 15:37:48 +01:00
Miroslav Šedivý
209971cb8a member profile & state to types. 2020-12-08 15:14:20 +01:00
Miroslav Šedivý
c714d17d87 is_receiving - is_watching. 2020-12-06 19:02:33 +01:00
Miroslav Šedivý
e17e2cb606 + CanAccessClipboard. 2020-12-06 18:55:24 +01:00
Miroslav Šedivý
5edd9dc97a + CanHost. 2020-12-06 18:50:41 +01:00
Miroslav Šedivý
92aa717a8d user - member. 2020-12-06 18:50:04 +01:00
Miroslav Šedivý
4fe74fd112 + CanWatch. 2020-12-06 18:49:20 +01:00
Miroslav Šedivý
d2ffac3d4b + CanConnect. 2020-12-06 18:49:08 +01:00
Miroslav Šedivý
7eee6debc7 WS remove connected & disconnected event. 2020-12-03 16:42:27 +01:00
Miroslav Šedivý
d7b5bd6842 extract member state to custom struct. 2020-12-03 16:10:52 +01:00
Miroslav Šedivý
5f3b9f72cf ID in MemberProfile. 2020-12-02 19:22:26 +01:00
Miroslav Šedivý
f361d0c681 WS added session events. 2020-12-02 18:59:54 +01:00
Miroslav Šedivý
81b3fbd673 moved capture StopStream to websockets events. 2020-12-02 17:36:06 +01:00
Miroslav Šedivý
123fbd8317 IsAdmin + IsConnected. 2020-12-02 16:49:51 +01:00
Miroslav Šedivý
25fec63455 WS do not connect if already connected. 2020-12-02 11:45:22 +01:00
Miroslav Šedivý
1677e38935 introduced ImplicitHosting. 2020-12-02 11:24:20 +01:00
Miroslav Šedivý
26c0fea840 controlRequest if already is the host. 2020-12-02 10:47:20 +01:00
Miroslav Šedivý
b7103ca809 ResetKeys on ClearHost. 2020-12-02 10:46:00 +01:00
Miroslav Šedivý
bdd8bdab72 members as map. 2020-12-01 22:56:08 +01:00
Miroslav Šedivý
b82fbae597 replace old Member structures. 2020-12-01 19:47:50 +01:00
Miroslav Šedivý
1b6bc44f2a event SystemDisconnect. 2020-12-01 19:44:23 +01:00
Miroslav Šedivý
b194f8034a add MemberId to init. 2020-11-30 22:24:58 +01:00
Miroslav Šedivý
d00015ee91 system init WS. 2020-11-30 20:07:19 +01:00
Miroslav Šedivý
753fb01955 removed OnCreated event. 2020-11-30 18:52:16 +01:00
Miroslav Šedivý
743ab2bf6a signal provide upon request WS. 2020-11-30 18:27:25 +01:00
Miroslav Šedivý
2e090eb54d update control WS. 2020-11-30 18:24:38 +01:00
Miroslav Šedivý
4bbf3bb039 update screen WS. 2020-11-30 17:53:05 +01:00
Miroslav Šedivý
83be51ea0f update keyboard WS. 2020-11-30 17:45:53 +01:00
Miroslav Šedivý
e93d167be6 update clipboard WS. 2020-11-30 17:40:38 +01:00
Miroslav Šedivý
2c210f3cf1 signal provide remove ID. 2020-11-30 17:33:34 +01:00
Miroslav Šedivý
0a75950356 remove admin from websockets. 2020-11-30 17:31:29 +01:00
Miroslav Šedivý
994a91886d remove broadcast from websocket. 2020-11-30 17:29:05 +01:00
Miroslav Šedivý
179a22476c do not remove user on disconnect. 2020-11-28 15:30:35 +01:00
Miroslav Šedivý
b675e4cc82 member name refactor. 2020-11-28 15:03:38 +01:00
Miroslav Šedivý
3f312c84ad remove user kick. 2020-11-28 14:32:38 +01:00
Miroslav Šedivý
ecfce6c886 remove room lock. 2020-11-25 22:16:56 +01:00
Miroslav Šedivý
665d9d2130 Create + Delete session. 2020-11-25 22:06:13 +01:00
Miroslav Šedivý
f9b2460c3b replace SetConnected function. 2020-11-25 20:26:11 +01:00
Miroslav Šedivý
fa54823098 Split connected to WebRTC & WebSocket. 2020-11-25 20:02:53 +01:00
Miroslav Šedivý
ff7efe9f3b socket -> websocket_peer. 2020-11-25 18:36:33 +01:00
Miroslav Šedivý
db820806a4 add broadcast endpoint & broadcast pipeline return error. 2020-11-18 21:34:39 +01:00
Miroslav Šedivý
6d27b0a69c return err socket. 2020-11-18 20:34:33 +01:00
Miroslav Šedivý
da7e6f7728 Broadcast should not return error. 2020-11-18 20:30:33 +01:00
Miroslav Šedivý
eec285cd07 Rename displayname to name. 2020-11-16 22:22:19 +01:00
Miroslav Šedivý
570efbf3a6 remove unused ban endpoint. 2020-11-16 22:21:21 +01:00
Miroslav Šedivý
d87a10b23a remove unused mute function. 2020-11-16 22:10:03 +01:00
Miroslav Šedivý
99068b893b naming convention -> screen size. 2020-11-16 22:04:50 +01:00
Miroslav Šedivý
e8f9e2e4e4 fix clipboard bug. 2020-11-16 21:57:35 +01:00
Miroslav Šedivý
316533dab0 remove duplicate error logging. 2020-11-16 18:12:25 +01:00
Miroslav Šedivý
b411675108 code indentation. 2020-11-16 17:48:10 +01:00
Miroslav Šedivý
234b0a2e06 remove code duplication. 2020-11-16 16:56:03 +01:00
Miroslav Šedivý
f136a31b03 minor refactor ifs. 2020-11-14 16:09:00 +01:00