Skip to content
Snippets Groups Projects
Commit 8f9a3e1e authored by Nicolas Bayet's avatar Nicolas Bayet
Browse files

[FIX] web_editor: prevent creation of RTCPeerConnection when offline


Before this commit, when the browser was offline and when an attempt
to make a RTCPeerConnection was made, a traceback was raised by
firefox:

> InvalidStateError: Can't create RTCPeerConnections when the network is
> down

This commit prevents the creation of the RTCPeerConnection when the
browser is offline.

task-3186872

closes odoo/odoo#133770

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent d120b838
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment