mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
unbreak calls in firefox
This commit is contained in:
parent
575852e6b5
commit
1c0408de08
@ -59,7 +59,7 @@ angular.module('MatrixCall', [])
|
|||||||
var stunServer = 'stun:stun.l.google.com:19302';
|
var stunServer = 'stun:stun.l.google.com:19302';
|
||||||
var pc;
|
var pc;
|
||||||
if (window.mozRTCPeerConnection) {
|
if (window.mozRTCPeerConnection) {
|
||||||
pc = window.mozRTCPeerConnection({'url': stunServer});
|
pc = new window.mozRTCPeerConnection({'url': stunServer});
|
||||||
} else {
|
} else {
|
||||||
pc = new window.RTCPeerConnection({"iceServers":[{"urls":"stun:stun.l.google.com:19302"}]});
|
pc = new window.RTCPeerConnection({"iceServers":[{"urls":"stun:stun.l.google.com:19302"}]});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user