-
- Downloads
[FIX] web_editor: set recovery connection to 3s
When trying to recover peer to peer connection, the timeout of 500ms or 1000ms might be too short and 15000ms in unnecessary too long. If the timeout is too short, it could remove the connection before the peer to peer had the time to reconnect to it. When we call `_recoverConnection` on `disconnect` in `oniceconnectionstatechange` or `onconnectionstatechange`, the signal `disconnect` does not necessarily mean that it will remain disconnected. Doing nothing could be enough to reconnect. (see: https://w3c.github.io/webrtc-pc/#dom-rtcicetransportstate-disconnected ) closes odoo/odoo#112170 X-original-commit: 3647374c Signed-off-by:David Monjoie (dmo) <dmo@odoo.com>
Loading
Please register or sign in to comment