Commit Graph

1487 Commits

Author SHA1 Message Date
Miroslav Šedivý
25a65863bb fix devcontainer. 2023-08-17 17:00:09 +02:00
Miroslav Šedivý
45c0b4527f version 1.6.29 2023-08-17 16:52:01 +02:00
Miroslav Šedivý
0d830998e5
Native touch events (#42)
* add webrtc touch events.

* bind touch events to overlay.

* we care only for changed touches.

* switch to int32.

* pressure uint16.

* add implicit control.

* add touch to controls.

* fix iteration of changedTouches.

* switch pressure to uint8.

* convert force to pressure.

* add hasTouchEvents.

* add touch_events to state.

* bind touch or gesture handler on demand.

* remove duplicate gesture detach.
2023-08-17 16:16:08 +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ý
3cb5214798 version 1.6.28 2023-07-16 17:00:27 +02:00
Miroslav Šedivý
f49f17e8bd npm upgrade. 2023-07-16 16:57:10 +02:00
Miroslav Šedivý
e13c97299d
disable pointer events when session can not control. (#41) 2023-07-16 16:54:28 +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ý
8595ec9295 version 1.6.27 2023-07-07 15:03:19 +02:00
Miroslav Šedivý
4918c62c9a
Add support for touch gestures (#40)
* implement control using webrtc.

* overlay to use NekoControl.

* WIP.

* add is_host to control state.

* control use webrtc only if hosting.

* add proper links to 3rd party code.

* fix button events for gestureHandler.

* lint.

* fix implicit control gain for touch events.
2023-07-07 14:59:54 +02:00
Miroslav Šedivý
948cea7e00 version 1.6.26 2023-06-26 21:29:19 +02:00
Miroslav Šedivý
e58aecc49c
Refactor signaling for video and audio (#39)
* refactor webrtc video and audio.

* do not reconnect if video is disabled.

* export webrtc types.
2023-06-26 21:27:26 +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ý
52107f5934 version 1.6.25 2023-06-13 23:40:01 +02:00
Miroslav Šedivý
810759b641 hotfix: capslock on macos chrome. 2023-06-13 23:39:15 +02:00
Miroslav Šedivý
cf17f4f503 add estimator comments to config. 2023-06-07 17:41:16 +02:00
Miroslav Šedivý
2c67394a7a add locked_controls to settings clear. 2023-06-07 17:36:20 +02:00
Miroslav Šedivý
e83c447e52 fix control give API. 2023-06-06 21:49:57 +02:00
Miroslav Šedivý
e263c8b73a version 1.6.24 2023-06-02 12:55:33 +02:00
Miroslav Šedivý
4f08056c59 do not fail on remote ICE candidate error in offer. 2023-06-02 12:54:10 +02:00
Miroslav Šedivý
720c2f7a3d call onDisconnected in webrtc close. 2023-06-02 12:54:10 +02:00
Miroslav Šedivý
78a9a31624 add await to setLocalDescription. 2023-06-02 12:54:10 +02:00
Miroslav Šedivý
6b3bc17334 update README.md. 2023-05-21 13:19:23 +02:00
Miroslav Šedivý
147c94958e add plugins to state. 2023-05-20 18:27:22 +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ý
298f1b4c97 version 1.6.23 2023-05-15 19:35:44 +02:00
Miroslav Šedivý
8d39a95e92
WebRTC congestion control (#24)
* Move congestion control to server

* Address MR comments

* lint.

* bring back webrtc stats sync with state.

* update webrtc messages.

* set bitrate & video auto for signal request.

* clear up bitrate & video_auto.

* add bitrate and audio for connect function.

* reintroduce server side congestion control if video auto is false.

* mov ecode around.

* fix default video_auto.

* revert bitrate addition.

* remove video from signal provide.

---------

Co-authored-by: Aleksandar Sukovic <aleksandar.sukovic@gmail.com>
2023-05-15 19:32:21 +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ý
da252dfd31 add stats to session state. 2023-05-15 17:09:19 +02:00
Miroslav Šedivý
0f9679d6d6 update api. 2023-05-15 17:09:08 +02:00
Miroslav Šedivý
af5aefd669 add locked_controls to state. 2023-05-15 17:09:08 +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ý
13caeb3746 fix autoplay. 2023-05-14 22:20:10 +02:00
Miroslav Šedivý
645c4aa184 fix autoconnect for set url. 2023-05-14 22:20:10 +02:00
Miroslav Šedivý
2ee592baf3 audio & video devices select. 2023-04-30 23:57:39 +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ý
b14ade4f36 version 1.6.22 2023-04-28 19:52:01 +02:00
Miroslav Šedivý
24e9982269
Upgrade dependencies (#34)
* npm upgrade.

* upgrade eventemitter3.

* skipLibCheck.
2023-04-28 19:51:05 +02:00
Miroslav Šedivý
fa0ac9d82e
Add touch events (#33)
* add touch events handler.

* bind events as non-passive.

* fix touch events.
2023-04-28 19:44:35 +02:00
Miroslav Šedivý
8df29744b0
Screen sync add custom multiplier and rate settings (#32)
* screen sync add custom multiplier and rate settings.

* fix rate.

* add to page.
2023-04-28 19:39:11 +02:00