From 2cf8e171a54e4ccbfa09c619256195a9ee2e9784 Mon Sep 17 00:00:00 2001 From: Daniel Roesler Date: Wed, 28 Jan 2015 18:42:47 -0800 Subject: [PATCH] Fix for required error callback in Firefox nightlights. Thanks to reddit.com/u/Kealper! --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e86e905..b9f1021 100644 --- a/README.md +++ b/README.md @@ -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(){}); } diff --git a/index.html b/index.html index df13a34..5b6a750 100644 --- a/index.html +++ b/index.html @@ -69,7 +69,7 @@ pc.createOffer(function(result){ //trigger the stun server request - pc.setLocalDescription(result, function(){}); + pc.setLocalDescription(result, function(){}, function(){}); }, function(){}); }