Commit Graph

422 Commits

Author SHA1 Message Date
Miroslav Šedivý
b3a8d5f86d reconnecter: clear timeout on connect. 2021-07-17 15:30:56 +02:00
Miroslav Šedivý
0974beaf4a webrtc: do not connect if websocket unavailable. 2021-07-17 15:30:37 +02:00
Miroslav Šedivý
69f617ef45 reconnecter use getter for connection status. 2021-07-17 15:27:20 +02:00
Miroslav Šedivý
368261ca14 connection use data from state. 2021-07-17 15:17:56 +02:00
Miroslav Šedivý
fdc7412afc webrtc extract type. 2021-07-17 15:06:32 +02:00
Miroslav Šedivý
27ca2e0719 reconnector extract type. 2021-07-17 15:06:15 +02:00
Miroslav Šedivý
2c70093d77 use typescript optional properties. 2021-07-17 14:08:25 +02:00
Miroslav Šedivý
ad7e3d47c5 connection (WIP). 2021-07-15 23:58:45 +02:00
Miroslav Šedivý
efe04c62ed deferredConnection for reconnecter. 2021-07-15 23:55:48 +02:00
Miroslav Šedivý
78cefb95b7 reconnecter fix context. 2021-07-15 23:27:59 +02:00
Miroslav Šedivý
da18d477e0 lint fix. 2021-07-15 23:06:20 +02:00
Miroslav Šedivý
f9c096b272 reconnecter split events and add destroy. 2021-07-15 22:36:52 +02:00
Miroslav Šedivý
a38ad13fb1 reconnecter get and set for config. 2021-07-15 20:58:21 +02:00
Miroslav Šedivý
121f3bbe29 implement reconnecter class. 2021-07-15 20:50:13 +02:00
Miroslav Šedivý
a43ed3f6ba fallback on webrtc disconnect. 2021-07-14 15:49:28 +02:00
Miroslav Šedivý
1905d7fcd2 add screencast component. 2021-07-14 15:37:23 +02:00
Miroslav Šedivý
28e6c25f4b add screencast to connection state. 2021-07-14 14:30:55 +02:00
Miroslav Šedivý
15a8b3908e version 1.3.10 2021-07-11 22:45:18 +02:00
Miroslav Šedivý
cd0936646f version 1.3.9 2021-07-11 22:45:07 +02:00
Miroslav Šedivý
bbb80730fb connection manager: add getters. 2021-07-11 22:41:10 +02:00
Miroslav Šedivý
471b26ace5 add connection status event. 2021-07-11 22:38:48 +02:00
Miroslav Šedivý
78c3613f3e update reconn timeouts. 2021-07-09 00:55:22 +02:00
Miroslav Šedivý
14bda1a028 add ice restarts to reconnection logic. 2021-06-27 22:07:42 +02:00
Miroslav Šedivý
3edb97e784 webrtc: do not close connection on disconnect. 2021-06-27 19:54:44 +02:00
Miroslav Šedivý
4917eff83b webrtc reconn strategy using loss, fps and muted. 2021-06-24 17:09:13 +02:00
Miroslav Šedivý
42f85d9e54 add track muted to webrtc stats. 2021-06-24 16:50:13 +02:00
Miroslav Šedivý
9d423738c4 consts uppercase. 2021-06-24 16:24:43 +02:00
Miroslav Šedivý
6e92022c37 add reconn delay. 2021-06-24 15:40:11 +02:00
Miroslav Šedivý
6a8255d08a auto downgrade on packet loss. 2021-06-24 15:25:56 +02:00
Miroslav Šedivý
3ca8f9a71c fix webrtc last quality connection. 2021-06-24 15:15:47 +02:00
Miroslav Šedivý
fcae8156f5 webrtc quality downgrade on reconnect. 2021-06-23 23:37:39 +02:00
Miroslav Šedivý
15cfe4c146 autoplay video on reconnection. 2021-06-23 21:24:34 +02:00
Miroslav Šedivý
a4a24a913b dev auto ip address proxy. 2021-06-23 21:04:10 +02:00
Miroslav Šedivý
54610232a5 version 1.3.8 2021-06-21 14:32:56 +02:00
Miroslav Šedivý
d77a795438 connection make websocket async. 2021-06-20 23:56:34 +02:00
Miroslav Šedivý
b9b311c6de remove connecting event. 2021-06-20 23:46:40 +02:00
Miroslav Šedivý
97a213c9b3 ws connect not async. 2021-06-20 23:29:00 +02:00
Miroslav Šedivý
e22e5e42a0 switch to camel case. 2021-06-19 21:46:18 +02:00
Miroslav Šedivý
f6edb4208e set as disconnected only if not connecting. 2021-06-19 21:42:25 +02:00
Miroslav Šedivý
5c8c8c1330 add authenticate function. 2021-06-19 21:32:09 +02:00
Miroslav Šedivý
45c6c33647 reconnect only after succesfull connection. 2021-06-19 20:21:32 +02:00
Miroslav Šedivý
c49c9ad4de reconnection add debug logs. 2021-06-19 20:20:46 +02:00
Miroslav Šedivý
3d1b92ae1c add new reconnection logic. 2021-06-19 19:36:59 +02:00
Miroslav Šedivý
071f97fb1b move webrtc congestion control to connection. 2021-06-19 18:51:14 +02:00
Miroslav Šedivý
daff2552a3 add disconnect event. 2021-06-19 18:44:43 +02:00
Miroslav Šedivý
1dcce7d949 single connection status in state. 2021-06-19 18:36:48 +02:00
Miroslav Šedivý
a451d6a536 state: move authenticated out of connection. 2021-06-19 18:14:45 +02:00
Miroslav Šedivý
8960bb319f join clear function. 2021-06-18 23:34:39 +02:00
Miroslav Šedivý
2c02a0f2f9 remove old connection events. 2021-06-18 23:15:29 +02:00
Miroslav Šedivý
6ab5978ad0 fix whitespaces. 2021-06-18 22:07:07 +02:00