Commit Graph

854 Commits

Author SHA1 Message Date
Miroslav Šedivý
5ceef394ca maintain backward compatibility with g_memdup. 2023-09-06 19:12:41 +02:00
Miroslav Šedivý
05403cc0c6
Upgrade to bookworm (#54)
* upgrade to bookworm.

* g_memdup is deprecated: Use g_memdup2 instead.

* upgrade nvidia dockerfile.

* revert devcontainer.
2023-09-05 23:01:18 +02:00
Miroslav Šedivý
25a65863bb fix devcontainer. 2023-08-17 17:00:09 +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ý
4cb1b3e925
upgrade go dependencies. (#52) 2023-07-16 16:49:51 +02:00
Miroslav Šedivý
ecc68dd644 fix devcontainer. 2023-07-08 16:14:11 +02:00
Miroslav Šedivý
e3e9d1606d
Refactor signaling for video and audio (#51)
* add audio and signal request.

* disable audio by default.

* fix SignalProvide.

* disable estimator when track disabled.
2023-06-26 21:27:14 +02:00
Miroslav Šedivý
cf17f4f503 add estimator comments to config. 2023-06-07 17:41:16 +02:00
Miroslav Šedivý
e83c447e52 fix control give API. 2023-06-06 21:49:57 +02:00
Miroslav Šedivý
6b3bc17334 update README.md. 2023-05-21 13:19:23 +02:00
Miroslav Šedivý
ac76c81f69
Upgrade go dependencies (#50)
* upgrade go dependencies.

* remove testify deep equal.
2023-05-19 22:29:25 +02:00
Miroslav Šedivý
dfc7eb3882
Fix noisy errors (#49)
* send message error.

* read message error.

* close webrtc conn only if not closed yet.

* file upload no files received.
2023-05-19 17:19:38 +02:00
Miroslav Šedivý
3e8d686c0f
Bandwidth estimator refactor (#46)
* rewrite to use stream selector.

* WIP.

* add nacks to metrics.

* add estimate trend.

* estimator based on trend detector.

* add estimator unstable duration.

* add estimator debug.

* add stalled duration.

* estimator move values to config.

* change default estimator values.

* minor style changes.

* fix websocket video messages.

* replace video track with ivdeo id.
2023-05-15 19:29:39 +02:00
Miroslav Šedivý
8660c1a256 add sessions to API. 2023-05-15 16:47:59 +02:00
Miroslav Šedivý
848556adbd add time stats to state. 2023-05-15 16:47:59 +02:00
Miroslav Šedivý
82401391c8 add locked_controls to openapi. 2023-05-15 16:47:28 +02:00
Miroslav Šedivý
0760976b4b set all settings initially using config. 2023-05-15 16:47:28 +02:00
Miroslav Šedivý
cf4e0666fe add locked controls to settings. 2023-05-15 16:47:28 +02:00
Miroslav Šedivý
b8fccc4d07 add settings plugins to openapi. 2023-04-28 23:54:01 +02:00
Miroslav Šedivý
173bc6b053 CI build variant only on tag. 2023-04-28 23:53:05 +02:00
Miroslav Šedivý
a4f9f0bff5 CI build variant. 2023-04-28 23:12:26 +02:00
Miroslav Šedivý
a75ae187b4 add plugin scope to settings. 2023-04-28 22:53:41 +02:00
Miroslav Šedivý
52b4cbcbdf add path prefix to server. 2023-04-28 22:19:52 +02:00
Miroslav Šedivý
c70c8217de add unminimize. 2023-04-24 22:19:48 +02:00
Miroslav Šedivý
466185fc24 fixed by using XFlush. 2023-04-24 22:19:48 +02:00
Miroslav Šedivý
47a3f6d6fb twice toggle maximizes for fullscreen. 2023-04-24 22:19:48 +02:00
Miroslav Šedivý
3ef4c5ce0f use DefaultRootWindow. 2023-04-24 22:19:48 +02:00
Miroslav Šedivý
0ea1c2870f
Refactor websocket session sync (#44)
* refactor websocket peer and comment functions.

* update comments.

* add DestroyWebSocketPeer.
2023-04-23 11:23:20 +02:00
Miroslav Šedivý
43f8fe339f webrtc peer do not set nil conn. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
5a2fcc1c8a move consts. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
3f375c037f fix track rtcp & paused. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
fcf6822833 move estimator to peer. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
1ba561b192 fix logging. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
c2b29ccf21 handle use webrtc logger. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
e8aab98012 refactro cursor image and pos. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
728e27da34 minor changes, moving things around. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
a2e0aeec77 receiver stop error reporting. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
dfea7fca42 refactor handler. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
c676d7a3a2 move collectors to metrics. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
5f0aafca51 remove deprecated functions. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
9d362ed036 move change funcs to peer. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
ec8560b290 add session & metrics to webrtc peer. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
9928feefef refactor metrics. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
7cd469f7bd cleanup peer. 2023-04-18 12:07:49 +02:00
Miroslav Šedivý
e66cd3978d
Build gstreamer in nvidia image (#36)
* build gstreamer 1.20 for nvidia dockerfile.

* add nvidia to build.

* add nvidia to start.

* add config for nvidia.

* upgrade cuda ro 11.4.3.

* add cudaconvert to comment.

* fix paths.

* add cuda to ld.

* upgrade supervisord version.

* add config to suprtvisord in rebuild.

* update nvenc params.

* update nvidia dockerfile.

* h264 profile constrained-baseline.

* h264 send SPS PPS with every IDR.
2023-04-04 23:52:15 +02:00
Miroslav Šedivý
3f117af3b9
upgrade go dependencies. (#41) 2023-03-31 19:35:09 +02:00
Miroslav Šedivý
bdebcd3221 pulseaudio log level error. 2023-03-31 19:07:38 +02:00
Miroslav Šedivý
1a752e43d2
Add plugins required flag (#40)
* add required plugins flag.

* update plugins logs.

* add plugins subcommand.

* move preflight to prerun.
2023-03-31 12:02:33 +02:00
Miroslav Šedivý
43a649d2c4
websockets set max payload log size. (#42) 2023-03-31 12:02:19 +02:00
Miroslav Šedivý
2ff47ac920 fix: ensure webrtc close is executed only once. 2023-03-27 19:28:28 +02:00