0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 06:23:47 +01:00

unbreak calls in firefox

This commit is contained in:
David Baker 2014-09-18 11:59:27 +01:00
parent 575852e6b5
commit 1c0408de08

View file

@ -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"}]});
}