Commit Graph

1471 Commits

Author SHA1 Message Date
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
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ý
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ý
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