Skip to content
Snippets Groups Projects
Commit 1c0408de authored by David Baker's avatar David Baker
Browse files

unbreak calls in firefox

parent 575852e6
No related branches found
No related tags found
No related merge requests found
......@@ -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"}]});
}
......
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