Commit Graph

1476 Commits

Author SHA1 Message Date
Miroslav Šedivý
8bee5222b1 redraw on screenSize and clear if controlling. 2021-02-18 21:09:08 +01:00
Miroslav Šedivý
6340da049b clear canvas on WebRTC disconnect. 2021-02-18 20:53:08 +01:00
Miroslav Šedivý
7df1040439 remove not needed log message. 2021-02-18 16:59:36 +01:00
Miroslav Šedivý
49d6174953 synchronize keyboard modifiers with participant. 2021-02-18 16:53:19 +01:00
Miroslav Šedivý
c862711e6a update KeyboardModifiers WebSocket struct. 2021-02-18 16:52:49 +01:00
Miroslav Šedivý
ab34f4a53f WebRTC cursor: set initial state. 2021-02-17 21:55:21 +01:00
Miroslav Šedivý
5310acfbf0 implement xorg GetCursorPosition. 2021-02-17 21:55:11 +01:00
Miroslav Šedivý
91c465eeca reload canvas on image load. 2021-02-17 21:54:15 +01:00
Miroslav Šedivý
525efe17e7 add cursor tag. 2021-02-17 20:39:12 +01:00
Miroslav Šedivý
5ae700aea0 Revert "add red outline when controling." 2021-02-15 16:01:25 +01:00
Miroslav Šedivý
2ac3f9876f audio start / stop in WebRTC. 2021-02-14 18:16:24 +01:00
Miroslav Šedivý
cd18a22655 WebRTC events only for active peer connection. 2021-02-14 17:17:06 +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ý
732764991b fix linter errors. 2021-02-14 14:23:33 +01:00
Miroslav Šedivý
c9b2c93fb8 cursor image/position from WebRTC. 2021-02-13 18:25:40 +01:00
Miroslav Šedivý
56a00a404c cursor image/position from WebRTC. 2021-02-13 17:29:35 +01:00
Miroslav Šedivý
3423cbc3b2 switch WebRTC to BigEndian. 2021-02-13 00:02:35 +01:00
Miroslav Šedivý
061fbe60cf switch WebRTC to BigEndian. 2021-02-13 00:01:56 +01:00
Miroslav Šedivý
ed9f0276c7 fix WebRTC send: remove structures with dynamic size. 2021-02-12 23:46:57 +01:00
Miroslav Šedivý
fbec6cee63 WebRTC use data channel from server. 2021-02-12 23:46:25 +01:00
Miroslav Šedivý
8a3b3f14cb WebRTC channel from server. 2021-02-12 23:45:16 +01:00
Miroslav Šedivý
90aa2ce51a cursor utils: split to URI and bytes. 2021-02-12 23:43:52 +01:00
Miroslav Šedivý
ed495f2fd9 overlay remove defaults for props. 2021-02-12 22:27:51 +01:00
Miroslav Šedivý
af3a28274d add customized WebRTC send functions. 2021-02-12 22:13:55 +01:00
Miroslav Šedivý
c54703d7d7 destroy WS and WebRTC peers before assigning. 2021-02-12 21:48:47 +01:00
Miroslav Šedivý
c8200e3bb7 add WebRTC send function. 2021-02-12 21:06:42 +01:00
Miroslav Šedivý
05176a2b31 round cursors pixel position. 2021-02-12 17:28:58 +01:00
Miroslav Šedivý
a1d755d6eb pass canvas size to overlay. 2021-02-12 17:11:28 +01:00
Miroslav Šedivý
873e9250cc optimize cursor moving with canvas rendering. 2021-02-11 21:17:47 +01:00
Miroslav Šedivý
6cfe39e6c5 add shared cursor as image tag. 2021-02-11 19:03:31 +01:00
Miroslav Šedivý
f22922191a broadcast cursor position via WebSockets. 2021-02-11 18:36:27 +01:00
Miroslav Šedivý
723ec821f3 prefix classes with neko-. 2021-02-10 20:57:13 +01:00
Miroslav Šedivý
becc18a928 add red outline when controling. 2021-02-10 20:54:44 +01:00
Miroslav Šedivý
c18213af63 implicit hosting on mouse click. 2021-02-10 20:49:02 +01:00
Miroslav Šedivý
c2d47108fc remove users first interaction event. 2021-02-10 19:33:42 +01:00
Miroslav Šedivý
221dd29968 added simple WebRTC video switching when 0 fps. 2021-02-10 19:27:34 +01:00
Miroslav Šedivý
e8286dec96 xorg: filter out all irrelevant screen rates. 2021-02-10 18:56:20 +01:00
Miroslav Šedivý
c0c14b3ac2 add screen-size aware pipelines. 2021-02-09 20:36:22 +01:00
Miroslav Šedivý
e28b714090 webrtcReconnect. 2021-02-08 22:32:54 +01:00
Miroslav Šedivý
15e369da33 webrtc force close all. 2021-02-08 22:32:33 +01:00
Miroslav Šedivý
bac69a205f update qualities pipelines with fps. 2021-02-08 22:21:21 +01:00
Miroslav Šedivý
2733d88d9f edit xorg modelines. 2021-02-08 22:21:01 +01:00
Miroslav Šedivý
5f07d5aa87 bug: do not set authenticated to False when WS disconnected. 2021-02-08 19:35:14 +01:00
Miroslav Šedivý
03b4f7c71b disconnect websocket on system disconnect event. 2021-02-08 19:31:15 +01:00
Miroslav Šedivý
1ab1953dea refactor webscoket reconnection logic. 2021-02-08 19:14:39 +01:00
Miroslav Šedivý
85a3f4fd9d minor WS &WebRTC fixes. 2021-02-08 18:46:07 +01:00
Miroslav Šedivý
b6d61c0748 websocket improve disconnection handling. 2021-02-08 18:27:37 +01:00
Miroslav Šedivý
f2a9a33cb0 fix logout and save WS url. 2021-02-08 17:50:12 +01:00
Miroslav Šedivý
817ea28379 webrtc stats ignote when no connection. 2021-02-08 17:31:06 +01:00