Updated PeerConnection samples so they run on FF.

R=braveyao@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/6359004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5340 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
vikasmarwaha@webrtc.org
2014-01-03 23:13:01 +00:00
parent f6d6ed0c66
commit 7bdaf837d4
7 changed files with 14 additions and 14 deletions

View File

@@ -89,11 +89,11 @@ function call() {
pc1_local.addStream(localstream);
trace("Adding local stream to pc1_local");
pc1_local.createOffer(gotDescription1Local);
pc1_local.createOffer(gotDescription1Local, null, sdpConstraints);
pc2_local.addStream(localstream);
trace("Adding local stream to pc2_local");
pc2_local.createOffer(gotDescription2Local);
pc2_local.createOffer(gotDescription2Local, null, sdpConstraints);
}
function gotDescription1Local(desc) {