Currently, the client doesn't attempt to re-establish bridge WS when the connection is closed by the remote end with a code 1001. We have noticed that Cloudflare terminates the WS with the same error code when it recycles its proxies. When that happens, client ends up not having a bridge channel which can result quality issues. Client now tries to re-establish connection when there are remote endpoints in the call.dev1
|
|
||
21 |
|
21 |
|
22 |
|
22 |
|
23 |
|
23 |
|
|
24 |
|
|
24 |
|
25 |
|
25 |
|
|
|
|
26 |
|
|
26 |
|
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
|
|
||
39 |
|
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
42 |
|
46 |
|
43 |
|
47 |
|
44 |
|
48 |
|
|
|
||
377 |
|
381 |
|
378 |
|
382 |
|
379 |
|
383 |
|
380 |
|
|
|
381 |
|
|
|
382 |
|
|
|
383 |
|
|
|
|
384 |
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
|
|
|
389 |
|
|
384 |
|
390 |
|
385 |
|
391 |
|
386 |
|
392 |
|
|
|
||
193 |
|
193 |
|
194 |
|
194 |
|
195 |
|
195 |
|
196 |
|
|
|
|
196 |
|
|
197 |
|
197 |
|
198 |
|
198 |
|
199 |
|
199 |
|