Fix for required error callback in Firefox nightlights. Thanks to reddit.com/u/Kealper!

This commit is contained in:
Daniel Roesler 2015-01-28 18:42:47 -08:00
parent 07daef3320
commit 2cf8e171a5
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ function getIPs(callback){
pc.createOffer(function(result){ pc.createOffer(function(result){
//trigger the stun server request //trigger the stun server request
pc.setLocalDescription(result, function(){}); pc.setLocalDescription(result, function(){}, function(){});
}, function(){}); }, function(){});
} }

View file

@ -69,7 +69,7 @@
pc.createOffer(function(result){ pc.createOffer(function(result){
//trigger the stun server request //trigger the stun server request
pc.setLocalDescription(result, function(){}); pc.setLocalDescription(result, function(){}, function(){});
}, function(){}); }, function(){});
} }