Fix for required error callback in Firefox nightlights. Thanks to reddit.com/u/Kealper!
This commit is contained in:
parent
07daef3320
commit
2cf8e171a5
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ function getIPs(callback){
|
|||
pc.createOffer(function(result){
|
||||
|
||||
//trigger the stun server request
|
||||
pc.setLocalDescription(result, function(){});
|
||||
pc.setLocalDescription(result, function(){}, function(){});
|
||||
|
||||
}, function(){});
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
pc.createOffer(function(result){
|
||||
|
||||
//trigger the stun server request
|
||||
pc.setLocalDescription(result, function(){});
|
||||
pc.setLocalDescription(result, function(){}, function(){});
|
||||
|
||||
}, function(){});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue