summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-18 11:59:27 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-18 11:59:27 +0100
commit1c0408de083aa101c3f9bc0d0131324bc5782be6 (patch)
treee7d610e5c5c478c4b94010afebbbb0605f00fd5f
parentadd note to upgrade.rst about web client spec breaking change. (diff)
downloadsynapse-1c0408de083aa101c3f9bc0d0131324bc5782be6.tar.xz
unbreak calls in firefox
-rw-r--r--webclient/components/matrix/matrix-call.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/matrix-call.js b/webclient/components/matrix/matrix-call.js

index bf1e61ad7e..2ecb8b05ff 100644 --- a/webclient/components/matrix/matrix-call.js +++ b/webclient/components/matrix/matrix-call.js
@@ -59,7 +59,7 @@ angular.module('MatrixCall', []) var stunServer = 'stun:stun.l.google.com:19302'; var pc; if (window.mozRTCPeerConnection) { - pc = window.mozRTCPeerConnection({'url': stunServer}); + pc = new window.mozRTCPeerConnection({'url': stunServer}); } else { pc = new window.RTCPeerConnection({"iceServers":[{"urls":"stun:stun.l.google.com:19302"}]}); }