Commit Graph

44 Commits

Author SHA1 Message Date
Miroslav Šedivý
b90eb87c22 unify types.ScreenSize and add ID to screen size update. 2024-05-03 22:40:56 +02:00
Miroslav Šedivý
ea5517b270
Xorg input driver (#53)
* add xf86 input driver.

* cleanup.

* rewrite to unix socket PoC.

* add input rebuild.

* lint & docs.

* add input driver struct.

* comments, lint, socket name from config.

* add touch events to webrtc.

* switch to uint32.

* misc update logging & linting,

* fix screen size

* set touchscreen as core pointer.

* add touch to ws control.

* SendCoreEvents.

* extract to own xinput folder.

* add debounce.

* switch pressure to uint8.

* check buffer size.

* send touch events with system init.
2023-08-17 16:14:59 +02:00
Miroslav Šedivý
f8b128e1e9
Custom sizes with XRandR (#25)
* xserver dummy with RandR.

* update.

* remove screen configurations from xorg.

* screen size cannot be nil anymore.

* use predefined screen configurations.

* use screen configurations.

* fix error.

* remove comment.
2023-02-14 21:18:47 +01:00
Miroslav Šedivý
5ad5daa6bb
Stream bucket manager (#12)
* refactor webrtc.

* bind track with a single connection.

* audio+video codec.

* move stream selection to bucket manager.

* audio w/o bucket manager.

* revert peer changes.

* return video IDs.

* destroy & recreate all.

* add video ID change.

* Track -> Recevier.
2022-10-17 13:39:31 +02:00
Miroslav Šedivý
691150900b
Temporary websocket disconnect handling (#6)
* fix websocket close log error.

* logger session interface no pointer.

* websocket delayet disconnect.

* session host: save id not pointer to a session.

* fix if hostId not stored.
2022-08-26 20:16:40 +02:00
Miroslav Šedivý
3cd59b9f30 rename module name from gitlab to github. 2022-07-14 22:10:41 +02:00
Miroslav Šedivý
61059c9b3c revert backwards compatibility. 2022-04-19 10:16:59 +00:00
Miroslav Šedivý
81867d811b sessions: switch to settings struct. 2022-03-27 00:08:06 +01:00
Miroslav Šedivý
8593d2d0fd move shared code to pkg. 2022-03-20 11:43:00 +01:00
Miroslav Šedivý
94c17e9a42 rename module to gitlab.com/demodesk/neko/server. 2022-03-20 11:27:41 +01:00
Miroslav Šedivý
6fa2f4513f add InactiveCursors to ws init. 2021-11-01 18:38:16 +01:00
Miroslav Šedivý
51577ecff4 screen size retype one struct. 2021-09-20 18:28:13 +02:00
Miroslav Šedivý
d21cb9f336 client logs use module. 2021-09-12 17:00:29 +02:00
Miroslav Šedivý
51207c2b50 FE logs: no handler context. 2021-09-09 22:51:37 +02:00
Miroslav Šedivý
afc79ed847 receive frontend logs using WS. 2021-09-09 22:08:39 +02:00
Miroslav Šedivý
5130d94bbc websocket handler simplified logging. 2021-09-01 23:10:18 +02:00
Miroslav Šedivý
49c48b3200 remove event from messages. 2021-09-01 21:58:39 +02:00
Miroslav Šedivý
3227978725 add screencast enabled bool to system init. 2021-07-14 14:23:51 +02:00
Miroslav Šedivý
014b757734 webrtc connect with selected video. 2021-04-30 14:05:07 +00:00
Miroslav Šedivý
a9aa62f062 lint & logging fixes. 2021-03-16 10:53:03 +01:00
Miroslav Šedivý
594404824f fmt. 2021-03-14 01:05:00 +01:00
Miroslav Šedivý
4a28307c1e session profile decoupled. 2021-03-14 00:45:51 +01:00
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ý
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ý
3aea0c7bf5 remove members from session. 2021-03-13 21:11:48 +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ý
36b7eca43c name confusion Enabled -> Started. 2021-02-05 14:03:53 +01:00
Miroslav Šedivý
407853eeb1 decouple BroadcastManager from CaptureManager. 2021-01-22 14:09:47 +01:00
Miroslav Šedivý
3bbe3781c8 set screen size using struct. 2021-01-15 17:30:19 +01:00
Miroslav Šedivý
a7d4511037 cursor Image on connect. 2021-01-10 12:42:07 +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ý
d7b5bd6842 extract member state to custom struct. 2020-12-03 16:10:52 +01:00
Miroslav Šedivý
f361d0c681 WS added session events. 2020-12-02 18:59:54 +01:00
Miroslav Šedivý
123fbd8317 IsAdmin + IsConnected. 2020-12-02 16:49:51 +01:00
Miroslav Šedivý
1677e38935 introduced ImplicitHosting. 2020-12-02 11:24:20 +01:00
Miroslav Šedivý
bdd8bdab72 members as map. 2020-12-01 22:56:08 +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