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(){}); }