Commit 0fcc341
authored
Improve reconnect logic for websocket (#406)
* Capture possible exceptions when closing the room at any time and the internal process is busy.
* fix.
* imporve reconnect logic.
* fix canReconnect logic on SignalLeaveEvent.
* Monitor Connectivity changes and automatically reconnect.
* update.
* Improve PCs reconnection speed.
* support Manual subscription.
* update.
* simple grid view for test.
* update pubspec.
* Fixed handleParticipantDisconnect not emitting for existing partcicpant.
* Trigger full Reconnect when peerConnection Failed.
* update grid view.
* add checkIfDesposed.
* update.
* remove checkIfDisposed.
* fixed rendering exception.
* update.
* update.
* fix flutter analyze.
* fix reconnect test.
* update.
* update.
* revert changes for example app.
* update.
* Refactored reconnect logic to support connectivity/network change checking.
* update.
* update.
* cleanup.
* cleanup.
* sendLeave for room.disconnect.
* fix for web.
* fix for web.
* dart run import_sorter:main.
* update.
* fix.1 parent ffb4301 commit 0fcc341
File tree
16 files changed
+520
-330
lines changed- example
- lib
- pages
- widgets
- lib/src
- core
- internal
- track/local
- types
- test/core
16 files changed
+520
-330
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
214 | 216 | | |
215 | | - | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| 220 | + | |
219 | 221 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
253 | 255 | | |
254 | 256 | | |
| 257 | + | |
| 258 | + | |
255 | 259 | | |
256 | 260 | | |
257 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
0 commit comments