Commit Graph

533 Commits

Author SHA1 Message Date
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ý
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ý
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ý
2c67394a7a add locked_controls to settings clear. 2023-06-07 17:36:20 +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ý
147c94958e add plugins to state. 2023-05-20 18:27:22 +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ý
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ý
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
Miroslav Šedivý
551a68d613 version 1.6.21 2023-04-22 14:25:42 +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ý
d0b318572c version 1.6.20 2023-04-19 12:33:51 +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
Miroslav Šedivý
b1f53c81c2 version 1.6.19 2023-04-18 10:21:55 +02:00
Miroslav Šedivý
d3514b9698
Fix textarea focus for touchscreens with keyboard (#30)
* check if touchscreen has mouse.

* add inputMode to props.

* fix formatting.
2023-04-18 10:19:52 +02:00
Miroslav Šedivý
ddfa3a7aef version 1.6.18 2023-04-13 12:26:51 +02:00
Miroslav Šedivý
1f461cb322
Optimizing canvas for cursor rendering (#27)
* use dpr as canvas scale.

* wheel use event timestamp.

* remove vue set.

* add cursor rendering fps.
2023-04-13 12:25:36 +02:00
Miroslav Šedivý
dfc998bb00 version 1.6.17 2023-04-12 13:21:30 +02:00
Miroslav Šedivý
84dcd1807c
Throttle cursor events (#26)
* clear inactive cursors.

* add mouse move throttle.
2023-04-12 13:19:57 +02:00
Miroslav Šedivý
ebeaf9bb30 fix ice servers type. 2023-03-26 21:05:11 +02:00
Miroslav Šedivý
07381e3210 fix ci. 2023-02-26 22:17:00 +01:00
Miroslav Šedivý
edff49c607 fix ci. 2023-02-26 22:12:37 +01:00
Miroslav Šedivý
04dd65ba09 version 1.6.16 2023-02-26 22:03:32 +01:00
Miroslav Šedivý
40234fe3cf
Add NPM CI (#25)
* update CI.

* update readme.
2023-02-26 22:02:47 +01:00
Miroslav Šedivý
3eeb589f3f add click on color. 2023-02-18 21:52:57 +01:00
Miroslav Šedivý
9b579a8cbd
Screen size sync (#23)
* allow choosing any screen configuration.

* add screen sync option.

* round size to int.

* lint.
2023-02-14 21:20:05 +01:00
Miroslav Šedivý
ae80753378
skip onnegotiationneeded if in progress. (#22) 2023-01-30 11:33:52 +01:00
Miroslav Šedivý
dc2ef37e17
Add mobile keyboard API (#21)
* fix page for mobile - minor changes.

* fix textarea overlay to hide caret and avodi zooming on mobiles.

* fix typo.

* show keyboard btn if is touch device.

* lint fix.

* add to API.

* mobile keybaord fix andorid blur.

* add mobile keybaord toggle.

* fix overlay.

* mobile keybaord, skip if not a touch device.
2023-01-27 19:21:42 +01:00
Miroslav Šedivý
5758350a78 version 1.6.15 2023-01-20 23:09:39 +01:00