Use Mozilla STUN server in apprtc demo for FF. Currently FF cannot work with Google STUN server as it expects XOR-MAPPED address while Google STUN server provides MAPPED address.
R=dutton@google.com Review URL: https://webrtc-codereview.appspot.com/1849004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4388 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -123,6 +123,10 @@
|
||||
}
|
||||
|
||||
function createPeerConnection() {
|
||||
// For FF, use Mozilla STUN server.
|
||||
if (webrtcDetectedBrowser === "firefox") {
|
||||
pc_config = {"iceServers":[{"url":"stun:stun.services.mozilla.com"}]};
|
||||
}
|
||||
try {
|
||||
// Create an RTCPeerConnection via the polyfill (adapter.js).
|
||||
pc = new RTCPeerConnection(pcConfig, pcConstraints);
|
||||
|
Reference in New Issue
Block a user