Before this commit, there were some usages of RTCPeerConnection.connectionState which is not available on some browsers, including Firefox. This commit fixes this issue and make it so that we only use RTCPeerConnection.iceConnectionState instead. closes odoo/odoo#78064 X-original-commit: 297442f72e23bc1a03ea857699fcae20b5cd0bbc Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>