Commit Graph

449 Commits

Author SHA1 Message Date
Miroslav Šedivý
2d8e5c9753 WIP add chat plugin. 2024-06-09 19:04:47 +02:00
Miroslav Šedivý
86095ecdb1 add room.control.request. 2024-05-10 12:41:56 +02:00
Miroslav Šedivý
06955aa2f9 update api. 2024-05-09 10:29:50 +02:00
Miroslav Šedivý
d891d5b331 lint types. 2024-05-09 09:37:45 +02:00
Miroslav Šedivý
3a0bd06a31 fix click on color. 2024-05-09 08:11:20 +02:00
Miroslav Šedivý
7998018cb8 add id to room.control.host. 2024-05-06 23:41:21 +02:00
Miroslav Šedivý
2536b49568 add room.settings.updated. 2024-05-06 20:01:58 +02:00
Miroslav Šedivý
17b6493832 add id to event screen updated. 2024-05-03 23:18:02 +02:00
Miroslav Šedivý
7eb40aba81 implement control protection. 2024-04-21 20:10:45 +02:00
Miroslav Šedivý
bc26fde705 add filetransfer lock. 2024-04-20 17:13:19 +02:00
Miroslav Šedivý
fb0af48376 add locked_logins. 2024-04-20 14:28:00 +02:00
Miroslav Šedivý
22524f7d71 fix minor issues. 2024-04-20 14:27:46 +02:00
Miroslav Šedivý
b302c98e81 implement filetransfer. 2024-04-19 20:22:03 +02:00
Miroslav Šedivý
b6be4f09fc fix watchers. 2024-03-24 16:06:55 +01:00
Miroslav Šedivý
3a96d2611e do not use ref where not needed. 2024-03-17 16:05:02 +01:00
Miroslav Šedivý
93125abfd7 fix plugins members. 2024-03-17 15:38:31 +01:00
Miroslav Šedivý
f3a49e7051 fix javascript files import. 2024-03-17 14:47:53 +01:00
Miroslav Šedivý
e0366905ad use glob to load plugins. 2024-03-17 13:10:58 +01:00
Miroslav Šedivý
bdacd55480 fix members. 2024-03-17 11:33:20 +01:00
Miroslav Šedivý
4b1fbbf836 fix watchers and intervals. 2024-03-17 11:21:14 +01:00
Miroslav Šedivý
27d88cee08 WIP. 2024-03-17 00:00:14 +01:00
Miroslav Šedivý
37f93eae6b fix private properties. 2024-02-21 18:10:18 +01:00
Miroslav Šedivý
09acada1af fix icon. 2024-02-20 18:28:26 +01:00
Miroslav Šedivý
4e693ae4a3
Upgrade to node 18 and dependencies (#46)
* upgrade to nodejs 18.

* npm update.

* upgrade linter.

* upgrade axios.

* upgrade saas loader.

* upgrade typescript.
2024-01-26 19:25:22 +01:00
Miroslav Šedivý
91dee46db4
Add Xorg modifiers (#44)
* add modifiers.

* use modifiers.

* scroll rename to delta and add ctrl key.
2023-09-11 16:38:12 +02:00
Miroslav Šedivý
c71a9d7626
split touch events to enabled and supported. (#43) 2023-08-31 13:50:57 +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ý
e13c97299d
disable pointer events when session can not control. (#41) 2023-07-16 16:54:28 +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ý
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ý
810759b641 hotfix: capslock on macos chrome. 2023-06-13 23:39:15 +02:00
Miroslav Šedivý
2c67394a7a add locked_controls to settings clear. 2023-06-07 17:36:20 +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ý
147c94958e add plugins to state. 2023-05-20 18:27:22 +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ý
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ý
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ý
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
Miroslav Šedivý
1d076cc20c
Add TS types support for build (#28)
* build ts types.

* fix default export for lib.
2023-04-22 14:23:17 +02:00
Miroslav Šedivý
9f8310fe10
ensure that close is not intercepted by any other event. (#29) 2023-04-22 14:23:06 +02:00
Miroslav Šedivý
9b851aac61 use window matchMedia. 2023-04-19 12:32:48 +02:00
Miroslav Šedivý
f9417db520 add pixel ratio change listener. 2023-04-19 12:32:48 +02:00
Miroslav Šedivý
a79a5cfd39 use canvas size when clearing canvas. 2023-04-19 12:32:48 +02:00