diff --git a/samples/js/demos/html/dtmf1.html b/samples/js/demos/html/dtmf1.html
index b97791bc3d..de5c22a5cc 100644
--- a/samples/js/demos/html/dtmf1.html
+++ b/samples/js/demos/html/dtmf1.html
@@ -62,7 +62,7 @@ function gotStream(stream){
pc1.addStream(localstream);
trace("Adding Local Stream to peer connection");
- pc1.createOffer(gotDescription1, null, sdpConstraints);
+ pc1.createOffer(gotDescription1, null, null);
}
function call() {
diff --git a/samples/js/demos/html/multiple.html b/samples/js/demos/html/multiple.html
index 97d0c883b1..2800d178a7 100644
--- a/samples/js/demos/html/multiple.html
+++ b/samples/js/demos/html/multiple.html
@@ -89,11 +89,11 @@ function call() {
pc1_local.addStream(localstream);
trace("Adding local stream to pc1_local");
- pc1_local.createOffer(gotDescription1Local, null, sdpConstraints);
+ pc1_local.createOffer(gotDescription1Local, null, null);
pc2_local.addStream(localstream);
trace("Adding local stream to pc2_local");
- pc2_local.createOffer(gotDescription2Local, null, sdpConstraints);
+ pc2_local.createOffer(gotDescription2Local, null, null);
}
function gotDescription1Local(desc) {
diff --git a/samples/js/demos/html/pc1-audio.html b/samples/js/demos/html/pc1-audio.html
index cce0125394..4273b62694 100644
--- a/samples/js/demos/html/pc1-audio.html
+++ b/samples/js/demos/html/pc1-audio.html
@@ -39,7 +39,7 @@ function gotStream(stream){
pc1.addStream(localstream);
trace("Adding Local Stream to peer connection");
- pc1.createOffer(gotDescription1, null, sdpConstraints);
+ pc1.createOffer(gotDescription1, null, null);
}
function call() {
diff --git a/samples/js/demos/html/pc1.html b/samples/js/demos/html/pc1.html
index 1c3e9fa53e..c3f3ced4b6 100644
--- a/samples/js/demos/html/pc1.html
+++ b/samples/js/demos/html/pc1.html
@@ -82,7 +82,7 @@ function call() {
pc1.addStream(localstream);
trace("Adding Local Stream to peer connection");
- pc1.createOffer(gotDescription1, null, sdpConstraints);
+ pc1.createOffer(gotDescription1, null, null);
}
function gotDescription1(desc){
diff --git a/samples/js/demos/html/pc1_sdp_munge.html b/samples/js/demos/html/pc1_sdp_munge.html
index b4e44a6896..2c57ceeb5f 100644
--- a/samples/js/demos/html/pc1_sdp_munge.html
+++ b/samples/js/demos/html/pc1_sdp_munge.html
@@ -215,7 +215,7 @@ function maybeAddLineBreakToEnd(sdp) {
}
function createOffer(){
- pc1.createOffer(gotDescription1, null, sdpConstraints);
+ pc1.createOffer(gotDescription1, null, null);
}
function setOffer(){
diff --git a/samples/js/demos/html/states.html b/samples/js/demos/html/states.html
index 59c12679ff..4a1c28ddf5 100644
--- a/samples/js/demos/html/states.html
+++ b/samples/js/demos/html/states.html
@@ -129,7 +129,7 @@ function call() {
pc2.onaddstream = gotRemoteStream;
pc1.addStream(localstream);
trace("Adding Local Stream to peer connection");
- pc1.createOffer(gotDescription1, null, sdpConstraints);
+ pc1.createOffer(gotDescription1, null, null);
}
function gotDescription1(desc){